Hello,
I have a problem where after some action is performed (a check for session
timeout and redirect), the resource specified in the struts-config.xml (a JSP) is not
being loaded in to the browser after the mapping.findForward.
It seems to forward to the specified
Hi,
I am using Struts/Tomcat 4., and I'm experiencing a problem forwarding after the
session times out. The session is set to timeout in web.xml. After this happens, my
mapping.findForward does not find the resource defined in my struts-config.xml. It
seems to do nothing. What
Hello,
I am handling my errors and constructing an errors object thus:
ActionErrors errors = new ActionErrors();
errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(Initialisation
error - userID not found));
saveErrors(request, errors);
that you are invoking
interprets the parameter passed to it as a key of a message string defined
in your Application.properties file (this file is usually placed under the
classes/resources directory).
HTH
Noel
-Original Message-
From: Jerald Powel [mailto:[EMAIL PROTECTED]
Sent: Sunday
it just occurrred to me, perhaps it may be due to the JSP:
html:errors /
as ActionMessages are not soley used for error handling? If this is the case, what
error tag will extract the error labels defined in my Application.properties?
thanks again
G
-
Hi, I have:
} catch (InitializationException e) {
ActionMessage errorMessage = new ActionMessage(init_error,
Initialization Exception);
ActionErrors errors = new ActionErrors();
errors.add(init_error, new ActionError(init_error, errorMessage));
Hi,
Does an ActionForm belong in the struts-config.xml mappings? ie:
action-mappings
action name=MyActionForm..etc?
Mine is placed here and functions quite well. But is has occurred to me this may be a
bad pratcice, as it does not extend Action and is thefore not logically an
Hi,
I have an action form that builds a select dropdown just fine - from logic
residing in the constructor (subclass of ActionForm). Within the constructor I would
like to get an object off the session. I do not want a mapping returned, so I am not
overriding execute. Therefore I do not
8 matches
Mail list logo