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
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
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
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
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("
5 matches
Mail list logo