RE: File-Upload: Progress-Bar

2004-03-19 Thread Matthias Wessendorf
Hi Tim! i didn't tryed it out, but on ORA's ONJAVA is saw an artikel on that http://www.onjava.com/lpt/a/3886 perhaps you got some ideas on it! Cheers, Matthias -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 10:31 AM To: [EMAIL

RE: action - delegate - facade

2004-03-17 Thread Matthias Wessendorf
Hi Adam there is a good book on it! http://www.corej2eepatterns.com/Patterns2ndEd/index.htm i use it very often... but more it's german version... :-) however that covers j2ee1.4 cheers, btw. under the sun, there is a code camps, or however they call it for strtus and j2ee_patterns:

RE: Does Tiles has performance?

2004-03-16 Thread Matthias Wessendorf
yes no problems, (in production) but sometimes, my laptops memory is FULL, (home_development_system) than you can see, each tile gets included, step by step by step... but its more notebook-issue :-) cheers. -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent:

RE: [OT] Jericho == Struts 2.0?

2004-03-16 Thread Matthias Wessendorf
hi nadeem Personally I think if struts 2.0 would be able to leverage JSF and JSTL and add IoC, cleaner interfaces, workflow, chained actions and JMX configured ActionMapping it would make it my ideal framework and would probably make it the best framework for medium to large scale projects.

RE: wizard best practices?

2004-03-12 Thread Matthias Wessendorf
Dean! got it to work? i use this use-case for multiform-pages... like big poll. class: DynaValidatorActionForm and the path in validator-xml.file however, here is validation XML and the definition for the ValidatorActionForm: Cheers! Matthias Weßendorf struts-cfg.xml_: !--

RE: wizard best practices?

2004-03-12 Thread Matthias Wessendorf
you are explaining. BTW, thanks for responding, I've been beating my head against the wall trying to figure out how to properly build a wizard. Dean Matthias Wessendorf wrote: Dean! got it to work? i use this use-case for multiform-pages... like big poll. class: DynaValidatorActionForm

RE: [OT] 2 JSF questions

2004-03-12 Thread Matthias Wessendorf
from the url: http://java.sun.com/j2ee/javaserverfaces/download.html This release of JavaServer Faces has been tested with various configurations with the Java 2 SDK, Standard Edition version 1.3.1_04, 1.4, and 1.4.1 on the following platforms and browsers: * Solaris 2.8 * Solaris 2.9

RE: [OT] 2 JSF questions

2004-03-12 Thread Matthias Wessendorf
hi jim, searched the web :) http://www.javaworld.com/javaworld/jw-11-2003/jw-1114-jsfredux-p2.html the last to pics looks like mac but it is not a sample for the RI it is form Early Access4 (old) :-) Cheers! -Original Message- From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED]

RE: [OT] 2 JSF questions

2004-03-12 Thread Matthias Wessendorf
-Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 2:23 PM To: 'Struts Users Mailing List' Subject: RE: [OT] 2 JSF questions hi jim, searched the web :) http://www.javaworld.com/javaworld/jw-11-2003/jw-1114-jsfredux-p2.html the last to pics

struts-faces-integration-lib

2004-03-04 Thread Matthias Wessendorf
Hi, i noticed, that JSF became final. Now i asked myself, when the struts-faces-lib will be shipped? that one, that works with 1.0_final... ;-) Is main focus now working on struts_1.2? or is the integration-lib independent of struts-1.2 because it is in contrib-folder! Thanks for answer! :-)

RE: [Newbie] Is it worth subclassing your own Action and ActionForm classes to attain code re-use?

2004-02-22 Thread Matthias Wessendorf
Hi Mark, like Adam said, i also have one super-action-class :-) i declare it as abstract an implement execute()-methode form Action inside execute(), i call an abstract methode (e.g. doExecute()) so our ActionServlet(it´s RequestProcessor...) calls execute() and every subclassed doExecute().

RE: ActionErrors deprecated?

2004-02-17 Thread Matthias Wessendorf
hi its code from 1.2-dev there is saveErrors with ActionErrors deprecated and a new saveErrors with ActionMessages http://jakarta.apache.org/struts/api/org/apache/struts/action/Action.htm l in 1.1 there is only saveErrors() with ActionErros (This will be removed after Struts 1.2) and

RE: html:errors /

2004-02-17 Thread Matthias Wessendorf
hi daniel use this: struts-html:messages id=error property=foo struts-bean:write name=error/ /struts-html:messages cheers, -Original Message- From: Daniel [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 17, 2004 3:30 PM To: Struts Users Mailing List Subject: html:errors / I'm

RE: html:errors /

2004-02-17 Thread Matthias Wessendorf
/ /html:messages html:form action=logon senha : html:password property=senha/html:errors property=senha//br usuario : html:text property=usuario/html:errors property=usuario//br html:submit/html:cancel/ /html:form body /html thanks Daniel S. - Original Message - From: Matthias Wessendorf

[OT] Struts and UML

2004-02-14 Thread Matthias Wessendorf
Hi, i just played a bit on Stereo-types for documentation of my web-Apps. I wanted to document classes (incl. JSPs) for every use-case. However, here is my try: http://www.wessendorf.net/struts_uml.gif inspiration came on reading: Jim Conallen (Web-Apps with UML) however, is there any

RE: Dyna Validator Form values

2004-02-12 Thread Matthias Wessendorf
hi, perhaps you mean request.getSession().removeAttribute(nameOfFormBean); cheers, -Original Message- From: Darren Massel [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 7:08 PM To: '[EMAIL PROTECTED]' Subject: Dyna Validator Form values How do i reset the values of a

RE: Errors or messages or??

2004-02-10 Thread Matthias Wessendorf
Hi Dave, in http://jakarta.apache.org/struts/userGuide/release-notes.html are some details on deprecated but there also stands: Although not removed, in many cases(!) you should replacethe deprecated ActionErrorswith the preferred ActionMessagesto ensure correct operation. i figured out,

RE: Errors or messages or??

2004-02-10 Thread Matthias Wessendorf
Struts 1.1 applications? Or would it be better to wait until developing apps for Struts 1.2? Dave -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 2:14 PM To: 'Struts Users Mailing List' Subject: RE: Errors or messages or?? Hi

RE: Struts and XSL ?

2004-02-09 Thread Matthias Wessendorf
hi Andrew, never used, but knowing this candidate: http://it.cappuccinonet.com/strutscx/index.php cheers matthias -Original Message- From: Andrew Bate [mailto:[EMAIL PROTECTED] Sent: Monday, February 09, 2004 2:57 PM To: '[EMAIL PROTECTED]' Subject: Struts and XSL ? Hi, Does anyone

RE: Orkut

2004-02-09 Thread Matthias Wessendorf
Hi, Can someone please add me to Orkut Thanks in advance Cheers, Matthias -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: Monday, February 09, 2004 6:33 PM To: 'Struts Users Mailing List' Subject: RE: Orkut Hello, Please add me to Orkut. Thanks

RE: ActionErrors deprecated?

2004-02-09 Thread Matthias Wessendorf
Hi Tim, yes only Error, not Errors, because of validate() in jsp use this: html:text property=foo/ struts-html:messages id=error property=foo struts-bean:write name=error/ /struts-html:messages cheers, ! matthias -Original Message- From: Slattery, Tim - BLS [mailto:[EMAIL

RE: ActionErrors deprecated?

2004-02-09 Thread Matthias Wessendorf
hi, i use in in my form.jsp to enter foo-property of my formBean and the messages-tags to display error-messages, that came up during validation. //INPUT FOO: html:text property=foo/ //DISPLAY ERRORS-MSG struts-html:messages id=error property=foo struts-bean:write name=error/

RE: ActionErrors deprecated?

2004-02-09 Thread Matthias Wessendorf
hi david, if you mean validation.framework, i think yes, they are using ActionMessages instead ActionErrors. http://jakarta.apache.org/struts/api/org/apache/struts/validator/FieldCh ecks.html ActionErrors is in 1.2 only used in validate():ActionErrors cheers,! -Original Message-

RE: Problem in Multipage Validation with DynaValidatorForm

2004-02-08 Thread Matthias Wessendorf
. Still, it is not working for me... - Original Message - From: Matthias Wessendorf [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Saturday, February 07, 2004 4:19 PM Subject: RE: Problem in Multipage Validation with DynaValidatorForm hi joseph you should use

RE: Problem in Multipage Validation with DynaValidatorForm

2004-02-07 Thread Matthias Wessendorf
hi joseph you should use DynaValidatorActionForm in form-bean-declaration in your validator.xml you enter instead of the name (myNiceFormBean) the path (/submit1 or /submit2) und on field you deal as well, which is required in page1 or page2 greeting, matthias -Original Message- From:

RE: StrutsEJB

2004-01-30 Thread Matthias Wessendorf
hi, there is something under the sun http://developers.sun.com/dev/edu/camps/demos/j2eestruts/download.html it shows howto use struts and J2EE-Desing-Pattern cheers, matthias -Original Message- From: Far Naq [mailto:[EMAIL PROTECTED] Sent: Friday, January 30, 2004 7:42 AM To: Struts

RE: session timeout -- time limit

2004-01-30 Thread Matthias Wessendorf
session.setMaxInactiveInterval(int interval); Specifies the time, in seconds, between client requests before the servlet container will invalidate this session. A negative time indicates the session should never timeout -Original Message- From: Oliver Thiel [mailto:[EMAIL PROTECTED]

RE: session timeout -- time limit

2004-01-30 Thread Matthias Wessendorf
PROTECTED] Sent: Friday, January 30, 2004 11:48 AM To: 'Struts Users Mailing List' Subject: RE: session timeout -- time limit session.setMaxInactiveInterval(int interval); would this override the session-timeout set in the web.xml for the application?? -Original Message- From: Matthias

[OT]? - an article on ActionForm or DynaActionForm

2004-01-30 Thread Matthias Wessendorf
Hi list, here is a nice article on choice of ActionForm or DynaActionForm. http://weblogs.java.net/pub/wlg/964 cheers, Matthias Weßendorf Email: mailto:[EMAIL PROTECTED] URL: http://www.wessendorf.net - To unsubscribe,

RE: parameter

2004-01-30 Thread Matthias Wessendorf
hi Mauricio, logic:equal parameter=type value=Alteração yes it is Alteração :-) /logic:equal cheers, -Original Message- From: Mauricio T. Ferraz [mailto:[EMAIL PROTECTED] Sent: Friday, January 30, 2004 11:25 AM To: Struts Users Mailing List Subject: parameter How can I compare

RE: What does do stand for in .do files

2004-01-30 Thread Matthias Wessendorf
and note, that in some cases you should use (trouble with firewalls) servlet-mapping servlet-nameaction/servlet-name url-pattern/do/*/url-pattern /servlet-mapping instead of *.do look at Book: Struts Fast Track: by Vic Cekvenich -Original Message- From: Nushin Nushin

RE: parameter

2004-01-30 Thread Matthias Wessendorf
oh... saw the special char... sorry... -Original Message- From: Mauricio T. Ferraz [mailto:[EMAIL PROTECTED] Sent: Friday, January 30, 2004 11:25 AM To: Struts Users Mailing List Subject: parameter How can I compare a parameter in my URL (someAction.do?type=Alteração) with the tag

RE: validatior framework - problem using mask

2004-01-30 Thread Matthias Wessendorf
did you add the oro-jar-file from http://jakarta.apache.org/oro/index.html to WEB-INF/lib ? java.lang.NoClassDefFoundError -- org/apache/oro/text/perl/Perl5Uti cheers, -Original Message- From: Pani R [mailto:[EMAIL PROTECTED] Sent: Friday, January 30, 2004 8:23 PM To: [EMAIL

RE: [FRIDAY] RE: What does do stand for in .do files

2004-01-30 Thread Matthias Wessendorf
Nushin [mailto:[EMAIL PROTECTED] Sent: Friday, January 30, 2004 2:27 PM To: 'Struts Users Mailing List' Cc: [EMAIL PROTECTED] Subject: RE: What does do stand for in .do files Vic, Would you elaborate on *.do? What does do stand for? Regards, Nushin -Original Message- From: Matthias

RE: AUTO {ICICICARE#005-217-818}[OT] Distribute a Struts Application on CD ??

2004-01-29 Thread Matthias Wessendorf
+1 on it! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 4:25 PM To: Struts Users Mailing List Subject: Re: AUTO {ICICICARE#005-217-818}[OT] Distribute a Struts Application on CD ?? Can something be done to stop these

RE: Validation PlugIn

2004-01-29 Thread Matthias Wessendorf
store it in /WEB-INF/classes when in config is: message-resources parameter=ApplicationResources / or in /WEB-INF/classes/com/foo/bar/ when in config is: message-resources parameter=com.foo.bar.ApplicationResources / -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf

RE: REPOST: newbie datasource config problems

2004-01-28 Thread Matthias Wessendorf
hi jim! did you add struts-legacy.jar in WEB-INF/lib ? but in 1.2 its not more supported (GenericDataSource) look here: http://jakarta.apache.org/struts/faqs/database.html (The Struts DataSource Manager) then you need pool.jar and dbcp.jar from the corresponding commons-projects -

RE: newbie datasource config problems

2004-01-28 Thread Matthias Wessendorf
hi jim, again... here in your struts-conf: data-source type=org.apache.commons.dbcp.BasicDataSource set-property property=driverClassName value=com.mysql.jdbc.Driver / set-property property=url value=jdbc:mysql://localhost:3306/myDatabase /

RE: REPOST: newbie datasource config problems

2004-01-28 Thread Matthias Wessendorf
have to rethink it. From what you say, there isn't any reason to include a data-sources element in struts-config since the persistence layer should be invisible to Struts. Am I understanding you correctly? On Jan 28, 2004, at 12:26 PM, Matthias Wessendorf wrote: hi jim! did you add struts

RE: [OT] mail.apache.org dropping connections?

2004-01-28 Thread Matthias Wessendorf
hi kris, yes i figured out the same - but today is better than yesterday, i think. but also delaying a bit - but why ? ;-) greetings matthias -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 7:59 PM To: Struts Users Mailing List

RE: Validation Multiple Pages forward-Failure

2004-01-27 Thread Matthias Wessendorf
Robert, is there a reason, why you dont use DynaValidatorActionForm ? you can define in validator.xml which attributes a needed for e.g. /submit2 -- formset form name=/submit2 field depends=required,email property=email ... greetings, matthias -Original Message- From: Ben

RE: Validation Multiple Pages forward-Failure

2004-01-27 Thread Matthias Wessendorf
hi enter input=/myFormular.jsp so validate goes back to formular there you can display action-messages (or even errors if you use) cheers, matthias -Original Message- From: Robert Lehner [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 7:13 PM To: Struts Users Mailing List

RE: Looping through a VO collection

2004-01-26 Thread Matthias Wessendorf
hi Vinicius logic:iterate id=element name=allVOS html:link action=/doSomething paramId=name paramName=element paramProperty=propertyOfA_VO link me /html:link /logic:iterate this shoud work cheers, matthias -Original Message- From: Vinicius Carvalho [mailto:[EMAIL PROTECTED]

RE: dbcp and mysql

2004-01-25 Thread Matthias Wessendorf
hi do you have also pool.jar in /WEB-INF/lib http://jakarta.apache.org/commons/pool/ it was time ago problem in my case. greetings, matthias -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, January 25, 2004 8:32 PM To: [EMAIL PROTECTED] Subject: dbcp

RE: [OT] Struts and its economic efficiency

2004-01-21 Thread Matthias Wessendorf
Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 3:00 PM To: [EMAIL PROTECTED] Subject: [OT] Struts and its economic efficiency Hi, i am just searching some information about the economic efficiency of struts (or more general a Model2

[OT] Struts and its economic efficiency

2004-01-20 Thread Matthias Wessendorf
Hi, i am just searching some information about the economic efficiency of struts (or more general a Model2-Implementation). Does anyone know a link to a statistic, where is shown, that model2 is more profitable than the old model1 ? -- Matthias Weßendorf Email: mailto:[EMAIL PROTECTED] URL:

RE: validation question

2004-01-20 Thread Matthias Wessendorf
hi use the DynaValidatorActionForm in validate.xml enter the path of submit instead of complete-formbeanName name=/submit1 and so on greetings -Original Message- From: Nandita Rajagopalan [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 5:24 PM To: [EMAIL PROTECTED]

RE: validation problem

2004-01-16 Thread Matthias Wessendorf
hi kelly, did you integrate it into struts-config? -- plug-in className=org.apache.struts.validator.ValidatorPlugIn set-property property=pathnames value=/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml/ /plug-in greetings

RE: validation problem

2004-01-16 Thread Matthias Wessendorf
. It is exactly like your application. Matthias Wessendorf wrote: hi kelly, did you integrate it into struts-config? -- plug-in className=org.apache.struts.validator.ValidatorPlugIn set-property property=pathnames value=/WEB-INF/validator-rules.xml

RE: validation problem

2004-01-16 Thread Matthias Wessendorf
To: Struts Users Mailing List Subject: Re: validation problem I'm sorry, I didn't get what you mean... could you explain? Matthias Wessendorf wrote: what is about name=loginForm instead: name = loginForm (as action.-attribute)? but can´t be... ?!? -Original Message- From: Kelly Goedert

RE: Access Applicationresources.properties from Action

2004-01-16 Thread Matthias Wessendorf
hi, use getResources(request); or if more then 1 getResources(request, keyOfResource); this returns an MessageResource-Object then you can read it. greeting -Original Message- From: Eric C [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 12:42 PM To: Struts Users Mailing

RE: setting Form values from JSP for an object

2004-01-14 Thread Matthias Wessendorf
Hi Claire have you tried the nested-tag? like this? nested:form action=/nested nested:nest property=details name: nested:text property=name/br/ ref: nested:text property=reference/br/ /nested:nest html:submit/ /nested:form your formBean (detailsForm) is

RE: setting Form values from JSP for an object

2004-01-14 Thread Matthias Wessendorf
is the difference between nested logic tags and nested html tags and in which situations would you choose to use nested not the others? cheers claire :) - Original Message - From: Matthias Wessendorf [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, January 14

RE: Autofill form page

2004-01-14 Thread Matthias Wessendorf
hi peter on our show details action store the object in the request and forward to details-form and then do html:text property=beanProperty name=nameOfObjectInRequest/ greetings -Original Message- From: Peter Verhoye [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004

RE: Autofill form page

2004-01-14 Thread Matthias Wessendorf
hi... perhaps you need a link like this: to get the desired record: struts-html:link action=showDetailsForMyRecordAction paramId=recordId paramName=currentInIterate paramProperty=propertyOfBeanPerhapsIddetails/html:link (you are using the logic:iterate ?) regards, -Original

RE: Storing uploaded files outside the root directory of a webapp

2004-01-12 Thread Matthias Wessendorf
Hi Patrick, you can store files in an action-class to c:/ or if you use linux to: /home/patrick/ (if there is no policy against it) that what you mean? regards, Matthias -Original Message- From: Patrick Scheuerer [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 2:32 PM To:

RE: Data Sources problem

2004-01-12 Thread Matthias Wessendorf
Hi, did you have also the pool.jar from: http://jakarta.apache.org/commons/pool/ in WEB-INF/lib i had had trouble without it... greetings -Original Message- From: Sandy Bingham-Porter [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 4:55 PM To: Struts Users Mailing List

RE: Struts Tag Lib and Performance

2004-01-11 Thread Matthias Wessendorf
oh... some new validator-tags... :-))) -Original Message- From: Sachin Pandey [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 11:17 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Struts Tag Lib and Performance Struts provides a lot of tag libraries in

RE: EJB Tier

2004-01-09 Thread Matthias Wessendorf
hi Ricardo, here you have a nice diagramm which showes J2EE-Patterns for Web-based applications http://java.sun.com/blueprints/corej2eepatterns/Patterns/ struts is doing, like Manfred told you, only the presentation. (e.g FrontController is the ActionServlet or the composite view can be done

RE: EJB Tier

2004-01-09 Thread Matthias Wessendorf
Hi, yes it has an Controller in EJB-Tier. But i didn´t realy use it - or seen a solution, which use this. for plain EJBs you can watch http://xpetstore.sf.net it uses Xdoclet for generating ejbs, struts and so on. nice :-) greetings -Original Message- From: Ricardo de Souza Moura

RE: EJB Tier

2004-01-09 Thread Matthias Wessendorf
: Friday, January 09, 2004 7:37 PM To: [EMAIL PROTECTED] Subject: RE: EJB Tier What do you think about this Controller ? Why don't Struts incorporate something like this in your framework ? Not with EJB particularly, but with a abstract class for sample From: Matthias Wessendorf [EMAIL

RE: How to reset properties of a DynaValidatorForm

2004-01-08 Thread Matthias Wessendorf
On (2004/01/08 01:00), Matthias Wessendorf wrote: i dind´t say, that is reset==initialize() I wasn't disagreeing with you. I meant oh, you're right, reset() isn't what I want, but initialize() is. :-) Thanks, Sheldon

RE: ServletMapping for ActionServlet and firewalls

2004-01-08 Thread Matthias Wessendorf
. Oliver -Ursprüngliche Nachricht- Von: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 7. Januar 2004 18:41 An: [EMAIL PROTECTED] Betreff: ServletMapping for ActionServlet and firewalls Hi, i have in mind, that the mapping *.do for our actionServlet is sometime

RE: DynaActionForm and radio-buttons

2004-01-08 Thread Matthias Wessendorf
Hello Daniel, let me ask, for the reason of using radio: you are setting it with: price1 OR price2 OR price3 isn´t it? so, you get an Array of size 1. (you can click only one) thats reason for ArrayIndexOutOfBoundsException perhaps, when you will set multiple values for your price-property

RE: unable to display message from properties file

2004-01-07 Thread Matthias Wessendorf
hi sudhakar, please add in your struts-config.xml something like instead message-resources parameter=net.wessendorf.j2ee.strutsJSF.web.common.Application / for your Application.properties greetings -Original Message- From: Namasivayam, Sudhakar (Cognizant) [mailto:[EMAIL PROTECTED]

RE: JavaServer Faces 1.0 -- Proposed Final Draft Spec and Beta Reference Implementation

2004-01-07 Thread Matthias Wessendorf
(java page container from caucho), It's supports servlets 2.3 version, can i use JSF for this container, Regards, Viru - Original Message - From: Matthias Wessendorf [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 5:16 PM Subject: RE

RE: Datasource problem

2004-01-07 Thread Matthias Wessendorf
hi chris, have you tried: getDataSource(req,dataSource); greetings -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 10:25 AM To: [EMAIL PROTECTED] Subject: Datasource problem Hi, I must be missing something here but for the

RE: Datasource problem

2004-01-07 Thread Matthias Wessendorf
help. Chris On Wed, 7 Jan 2004, Matthias Wessendorf wrote: hi chris, have you tried: getDataSource(req,dataSource); greetings -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 10:25 AM To: [EMAIL PROTECTED] Subject

RE: unable to display message from properties file

2004-01-07 Thread Matthias Wessendorf
developed this from reading the link http://www.isabelle-hurbain.com/doc/struts.html Could you please give me other simple application to start my life with struts!!! Thanks sudhakar -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 4:51

RE: Resources from ActionForm

2004-01-07 Thread Matthias Wessendorf
hi, in an actionForm.validate(): MessageResources res = (MessageResources) request.getAttribute(GLOBALS.MESSAGES_KEY); //thats default-key String foo = res.getMessage(my_Key_In_bundle); //get an message greetings -Original Message- From: e-denton Java Programmer [mailto:[EMAIL

RE: Resources from ActionForm

2004-01-07 Thread Matthias Wessendorf
a static function to get the resource and use that. I would have been happier if an extra function could have been provided in ActionMessage or ActionError like getMessage() which would have returned the full message after substitution. -Original Message- From: Matthias Wessendorf

ServletMapping for ActionServlet and firewalls

2004-01-07 Thread Matthias Wessendorf
Hi, i have in mind, that the mapping *.do for our actionServlet is sometime a problem... better should be: /do/* but i can´t find anything in web... does anyone had some experiences on it? regads, Matthias Matthias Weßendorf Aechterhoek 18 D-48282 Emsdetten Email: mailto:[EMAIL PROTECTED]

RE: Upload file

2004-01-07 Thread Matthias Wessendorf
yes it is with SRC in WAR and here is a class which helps you to store a FormFile-Object: (perhaps not nice, but works :-)) use: saveFile(FormFile file, String place); or you couldt use a properties-file (foo.properties) which needs something like: uploadPath=C:/path/to/nowhere greetings

RE: How to reset properties of a DynaValidatorForm

2004-01-07 Thread Matthias Wessendorf
Hi, a DynaValidatorForm has not an own reset(). the reset() of DynaActionForm is called but she doesn´t do anything: public void reset(ActionMapping mapping, HttpServletRequest request) { ; // Default implementation does nothing } but you can set the properties to its default, is this

RE: How to reset properties of a DynaValidatorForm

2004-01-07 Thread Matthias Wessendorf
i dind´t say, that is reset==initialize() greetings mw -Original Message- From: Sheldon Hearn [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 7:09 PM To: Struts Users Mailing List Subject: Re: How to reset properties of a DynaValidatorForm On (2004/01/07 19:03), Matthias

RE: JavaServer Faces 1.0 -- Proposed Final Draft Spec and Beta Reference Implementation

2004-01-06 Thread Matthias Wessendorf
hi jan, perhaps you must change the sturcuture of build.xml in my case: i copied jsf-1.0 beta in to $jwsdp.home and copied some specified lib into $jwsdp.home too. e.g. jsp-api, servlet-api of course i copied jsf-libs and jstl-libs to WEB-INF/lib of example2 now tomcat started them up... and

RE: JavaServer Faces 1.0 -- Proposed Final Draft Spec and Beta Reference Implementation

2004-01-06 Thread Matthias Wessendorf
or the jar files deployed with this application very strange. the struts-jsf works, but not core jsf... do anyone know? i am using tomcat version 4.1.27 or must i use tc 5.X for JSF? --- Matthias Wessendorf [EMAIL PROTECTED] schrieb: hi jan, perhaps you must change the sturcuture of build.xml

RE: error

2004-01-06 Thread Matthias Wessendorf
hi! servlet.jar is needed for stuff like: javax.servlet.http.HttpServletResponse it is deliverd with tomcat in $TOMCAT/common/lib (in case of using tomcat) or in j2ee.jar (in $J2EE_HOME/lib) add this to your classpath and of course your struts-jarS! do you use an IDE? -Original

RE: error

2004-01-06 Thread Matthias Wessendorf
is what was written in the book I am following to learn. -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: 06 January 2004 12:13 To: 'Struts Users Mailing List' Subject: RE: error hi! servlet.jar is needed for stuff like

RE: simple question

2004-01-05 Thread Matthias Wessendorf
hi, perhaps it is this: (look at: http://jakarta.apache.org/struts/userGuide/struts-bean.html#define ) type: Specifies the fully qualified class name of the value to be exposed as the id attribute. [ java.lang.String (if you specify a value attribute) or java.lang.Object otherwise. ] [RT Expr]

RE: Advice needed for ActionForm problem

2004-01-04 Thread Matthias Wessendorf
Hi Patrick, a DynaValidatorForm has not an own reset(). the reset() of DynaActionForm is called but she doesn´t do anything: public void reset(ActionMapping mapping, HttpServletRequest request) { ; // Default implementation does nothing } but you can set the properties to its default,

RE: dynaform populate

2004-01-04 Thread Matthias Wessendorf
Hi Pedro, with: FormBeanConfig fbc = new FormBeanConfig(); fbc.setName(myForm); DynaActionFormClass dafc = DynaActionFormClass.createDynaActionFormClass(fbc); DynaActionForm formBean = (DynaActionForm) dafc.newInstance(); formBean.set(property, businessObject.getProperty());

RE: Advice needed for ActionForm problem

2004-01-04 Thread Matthias Wessendorf
Hi Patrick, thanks! i fell honored about it :-) thanks again! what is the topic/title of your (diploma?) thesis Matthias -Original Message- From: Patrick Scheuerer [mailto:[EMAIL PROTECTED] Sent: Sunday, January 04, 2004 5:40 PM To: Struts Users Mailing List Subject: Re: Advice

RE: dynaform populate

2004-01-04 Thread Matthias Wessendorf
=helperBean property=foo/ ... /struts-html:form it works fine! Regards, Matthias -Original Message- From: Pedro Salgado [mailto:[EMAIL PROTECTED] Sent: Saturday, January 03, 2004 6:08 PM To: Struts Users Mailing List Subject: Re: dynaform populate On 04/01/2004 16:55, Matthias

RE: dynaform populate

2004-01-04 Thread Matthias Wessendorf
17:16, Matthias Wessendorf [EMAIL PROTECTED] wrote: Hi Pedro, the properties are!!! important!!! i do the following in an action: request.setAttribute(helperBean,myValueObject); return mapping.findForward(updateFormularPage); and have something like that in the forwarded

RE: Advice needed for ActionForm problem

2004-01-04 Thread Matthias Wessendorf
Hi, help is that what everybody needs sometimes... sounds nice facts with your thesis. best wishes with finishing that at the fachhochschule :-) you heared about struts in University of Applied Sciences? nice!:-) greetings. -- Matthias Weßendorf Aechterhoek 18 D-48282 Emsdetten Email:

RE: DynaActionForm question

2004-01-03 Thread Matthias Wessendorf
hi, attribute: Name of the request-scope or session-scope attribute that is used to access our ActionForm bean, if it is other than the bean's specified name. Optional if name is specified, else not valid. if you have something like this: action path=/foo

RE: FormFile NULL when uploading large file

2004-01-02 Thread Matthias Wessendorf
Hi, the default size in Class org.apache.struts.config.ControllerConfig is: /** * The maximum file size to process for file uploads. */ protected String maxFileSize = 250M; perhaps in struts-config this will help: controller maxFileSize=2G / greetings matthias

RE: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Matthias Wessendorf
Hi Patrick, you want to get the path of /myapp like C:\Tomcat\webapps\myapp or? that is done with: String placeString = getServlet().getServletContext().getRealPath(/); in an actionClass. you now want to store in placeString\uploaddir isn´t it? i wrote an Util-Class which managed the

RE: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Matthias Wessendorf
is then in root. hope this is what you needed. greetings matthias -Original Message- From: Patrick Scheuerer [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 5:15 PM To: Struts Users Mailing List Subject: Re: Still having problems with File upload (multipart-formdata) Matthias

RE: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Matthias Wessendorf
; import java.io.OutputStream; import java.util.Properties; import org.apache.struts.upload.FormFile; /** * Hilfsklasse, mit welcher aus einer Web-Anwendung * Daten zum Web-Server geladen werden können. * * @author Matthias Wessendorf */ public final class UploadFile

RE: server-side validation with Validator

2003-12-30 Thread Matthias Wessendorf
Hi, The DynaValidatorForm will match the formset name with the form-bean name. it uses mapping.getAttribute() to init the validator The DynaValidatorActionForm will match the formset name with the action-mapping path. it uses mapping.getPath() for init the validator -Original Message-

Tiles and Portlets (JSR 168)

2003-12-30 Thread Matthias Wessendorf
Hi, just having a question about Tiles and the Portlet-Spec. Tiles aims to reduce the work to develop composite-webpages. which are modular and reusable! The Portlet-Spec defines a standard incl. Portlet-Container. A RI is in develop -- http://jakarta.apache.org/pluto In Pluto-Docs found this

RE: File Upload Validator

2003-12-29 Thread Matthias Wessendorf
hi, use controller maxFileSize=1M/ set this in struts-config for maxFileSize. look at file-upload-sample in your struts-distribution There cames an error, if the file is bigger. greetings matthias -Original Message- From: Patrick Scheuerer [mailto:[EMAIL PROTECTED] Sent: Monday,

RE: bean:write not writing?

2003-12-27 Thread Matthias Wessendorf
hi, it must end with .tld %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % and place the file in /WEB-INF -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Saturday, December 27, 2003 3:52 PM To: Struts Users Mailing List Subject: Re: bean:write not writing?

AW: Validation

2003-12-23 Thread Matthias Wessendorf
Hi, you have in struts-conf a formBean: form-bean name=form1 type=org.apache.struts.validator.DynaValidatorForm form-property name=property1 typejava.lang.String/ /form-bean this action-config: action path=/foo name=form1 validate=true .../ in validation.xml: formset form name=form1

AW: MERRY X'MAS

2003-12-22 Thread Matthias Wessendorf
beer sounds good ;-) merry xmas to all of you matze -Ursprüngliche Nachricht- Von: SasiDharma Tharmarajah [mailto:[EMAIL PROTECTED] Gesendet: Montag, 22. Dezember 2003 12:34 An: Struts Users Mailing List Betreff: MERRY X'MAS Hi developers... Wishing u all a merry xmas and happy new

AW: simple question

2003-12-22 Thread Matthias Wessendorf
hi, you can also use in jsp: bean:write name=hulp/ and in action before: String hulp=request.getParameter(users.userId); request.setAttribute(hulp,hulp); //FORWARD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

AW: validator

2003-10-14 Thread Matthias Wessendorf
Hi, Use this var-namedatePatternStrict/var-name var-valuedd.MM./var-value -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 14. Oktober 2003 21:59 An: [EMAIL PROTECTED] Betreff: validator Hello all: I'm having problems using

Re: DynaValidationForm

2003-06-30 Thread Matthias Wessendorf
thank you, but my problem is, i can not create a instance of a DynaActionForm in my execute() i have something like this: ... BusinessData bd = Application.getBusinessObject(); Hashtable ht = new Hashtable(); ht.put(Name, bd.getName()); ht.put(Foo, bd.getFoo()); request.setAttribute(data,ht);

  1   2   >