ActionForward wont forward

2004-03-04 Thread Jerald Powel
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

forward after session timeout

2004-03-03 Thread Jerald Powel
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

error tag

2003-12-21 Thread Jerald Powel
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);

RE: [other] error tag

2003-12-21 Thread Jerald Powel
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

RE: [other] error tag PS

2003-12-21 Thread Jerald Powel
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 -

ActionError inaction

2003-12-11 Thread Jerald Powel
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));

ActionForms+struts-config

2003-11-26 Thread Jerald Powel
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

acquiring session in ActionForm constructor

2003-11-24 Thread Jerald Powel
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