MultipartRequest and form population after validation failed

2005-08-05 Thread Franz-Josef Herpers
Hi, I've a little problem with form population after a multipart request's file size exceeded. What I do is testing the file size of an uploaded file in the validate method of a form: public ActionErrors validate(ActionMapping mapping, HttpServletRequest reque

Custom Validation doesn't add

2005-08-04 Thread Franz-Josef Herpers
e form has been reset after executing validateFile and then validated again. Any ideas or hints? Thanks in advance. Franz -- Franz-Josef Herpers fjh consulting Tel.: +49 30 2068 7154 Mobil: +49 173 54 23 666 VoIP: +49 948 625515 Fax: 01212 6 20687154 Puschkinallee 9A 12435 Berlin E

Redirect request to home if session is expired

2005-07-06 Thread Franz-Josef Herpers
Hi list members, in my Struts-based application I want to test, if the session of the user is expired. If so, I want to forward/redirect the user back to the starting page. But this seems to be a problem, if I call an Action that is associated with an ActionForm in session scope. When I tried

String as Parameterwith html:link

2005-06-27 Thread Franz-Josef Herpers
Hi, I have a question concerning the Struts-HTML-Tag . I want to generate a link to an action with one parameter which is a hardcoded String (not a value of a bean property which is present in a scope). And I don't want to use the url-Attribut but the action-Attribut to generate the link to t

Strut Faces and Struts 1.2

2005-06-21 Thread Franz-Josef Herpers
Hi, just a short question: Does the latest nightly build of Struts Faces support Struts 1.2? Regards Franz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Replace logic:messagesPresent with JSTL tags

2005-06-15 Thread Franz-Josef Herpers
Hi John, > I think you should be able to use: ${!empty requestScope['org.apache.struts.action.ERROR']} as your test, since requestScope is a Map object. Thank you. That's what I forgot: The escaping because of the periods in the request attribute name. Regards Franz --

Replace logic:messagesPresent with JSTL tags

2005-06-15 Thread Franz-Josef Herpers
Hi, I'm using the the tag to print out validation error messages. Now I want to replace the Struts logic tags with JSTL tags. Hence I wrote: But error messages are not shown even if there is definitely an request attribute with the name o

Versions of commons-libs in Struts versions

2004-11-14 Thread Franz-Josef Herpers
Hi, is there any way to find out which versions of the commons-libs are included in a particular version of Struts. I'm especially interested in versions Struts 1.1 and 1.2.4? Thank you in advance for any hints. Regards Franz -

Re: contrib/struts-shale-mailreader

2004-11-14 Thread Franz-Josef Herpers
Hi, is there any way to find out which versions of the commons-libs are included in a particular version of Struts. I'm especially interested in versions Struts 1.1 and 1.2.4? Thank you in advance for any hints. Regards Franz -

Re: struts 1.1 and session handling

2004-04-15 Thread Franz-Josef Herpers
Dean A. Hoover wrote: I am using struts 1.1 and tomcat 5 for an application. I am also using DynaValidatorForm for validation of form data. Here is my problem: I want to test for (tomcat) session timeout and output a message on the users brower stating that their session timed out. I want to catch

toUpperCase() with format attribute of tag

2004-04-13 Thread Franz-Josef Herpers
Hi *, is it possible to use the format attribute of the tag to do something like the Java method String#toUpperCase() does with strings? If yes, i would appreciate any hints how to force this behaviour. Thanks in advance. Regards Franz -

toUpperCase() with tag

2004-04-13 Thread Franz-Josef Herpers
Hi *, is it possible to force the behaviour of the method String#toUpperCase() (i.e: "ics" => "ICS") with the format attribute of the tag? If yes, i would appreciate any hints how to do it? Thanks in advance Franz - To unsubsc