Re: Problem with EAR file

2001-11-04 Thread Piroumian, Konstantin
Use ServletContext.getResource() instead. getRealPath() will return 'null' if application is running from an archive. Regards, Konstantin Piroumian - Original Message - From: "Prior, Simon" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, Novemb

RE: Problem with multilingual submit button with request paramete rs

2001-11-04 Thread Alexander Jesse
That's the way it works. I put two methods into my base-action (int whichButton(String[] possibleButtons) and String whichButton(String[] possibleButtons)) which return the index into the array (if I want to use switch-case or the string if I do a forward on that base... works well. -Origina

Re: strust-example error?

2001-11-04 Thread peter
Hi I'm relatively new to Struts myself. Your error might indicate that you have not got an xml parser set up, you need one to parse the web.xml and struts-config.xml files, and/or an other .xml files you might be using. Check that you have xerces.jar or jaxp in your classpath. Also check that y

Re: forward action - basic understanding

2001-11-04 Thread Ted Husted
David Larson wrote: > I've seen examples where both... > return mapping.findForward("success"); In this case, there is an existing ActionForm named "success". These are usually defined in the Struts configuration file (struts-config.xml). The ActionForward gives the path a logical name (e.g. "su

Re: Invalidate user's session

2001-11-04 Thread emmanuel.boudrant
You must invalidate the session on the server side, 1 solution is: Link exit instead of exit And in file close.jsp: <% // put your code here to invalidate the session. ... // Print javascript to close the window. out.printl("