Hi,
I was using struts1.1b2 then migrated to strtus1.1b3 ,
my application was working fine, and today i am
getting very weird problem,
when i type
http://localhost:8080/mapsweb6102/pages/selectenv.do
i dont get into the SelectEnvAction.class but directly
forwarded to the jsp, and so it fails
I have my subclass MapsAction with extends Action and
have some logic to check session is valid or not etc
before i do any logic,
But i
here is what i have in my code
public class SelectEnvAction extends MapsAction
{
public ActionForward performTask(ActionMapping
mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response) throws Exception
{
// my logic goes here
}
}
public abstract class MapsAction extends Action
{
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest
request,
HttpServletResponse
response)
throws Exception
{
System.out.println("IN MapsAction");
// logic to test valid etc
return performTask(mapping, form, request,
response);
}
}
this is what i get in my stdout.log file
2003-03-13 21:26:39,786 DEBUG [Thread-4]
util.RequestUtils (RequestUtils.java:1642) - Get
module name for path /pages/selectenv.do
2003-03-13 21:26:39,786 DEBUG [Thread-4]
util.RequestUtils (RequestUtils.java:1664) - Module
name found: default
2003-03-13 21:26:39,786 INFO [Thread-4]
action.RequestProcessor (RequestProcessor.java:225) -
Processing a 'GET' for path '/pages/selectenv'
2003-03-13 21:26:39,786 DEBUG [Thread-4]
util.RequestUtils (RequestUtils.java:675) - Looking
for ActionForm bean instance in scope 'request' under
attribute key 'selectEnvForm'
2003-03-13 21:26:39,786 DEBUG [Thread-4]
util.RequestUtils (RequestUtils.java:736) - Creating
new DynaActionForm instance of type
'org.apache.struts.validator.DynaValidatorForm'
2003-03-13 21:26:39,786 DEBUG [Thread-4]
util.RequestUtils (RequestUtils.java:741) - -->
DynaActionForm[dynaClass=selectEnvForm,envDrop=]
2003-03-13 21:26:39,786 DEBUG [Thread-4]
action.RequestProcessor (RequestProcessor.java:367) -
Storing ActionForm bean instance in scope 'request'
under attribute key 'selectEnvForm'
2003-03-13 21:26:39,786 DEBUG [Thread-4]
action.RequestProcessor (RequestProcessor.java:790) -
Populating bean properties from this request
2003-03-13 21:26:39,796 DEBUG [Thread-4]
beanutils.BeanUtils (BeanUtils.java:713) -
BeanUtils.populate(DynaActionForm[dynaClass=selectEnvForm,envDrop=],
{})
2003-03-13 21:26:39,796 DEBUG [Thread-4]
action.RequestProcessor (RequestProcessor.java:910) -
Validating input form properties
2003-03-13 21:26:39,796 DEBUG [Thread-4]
servlet.MapsSessionListener
(MapsSessionListener.java:30) - Session is created
78E19BBB7DF2B119BFB104556FFC6CF3
2003-03-13 21:26:39,796 DEBUG [Thread-4]
action.RequestProcessor (RequestProcessor.java:942) -
Validation failed, returning to '/pages/selectenv.jsp'
2003-03-13 21:26:39,796 DEBUG [Thread-4]
action.RequestProcessor (RequestProcessor.java:978) -
Delegating via forward to '/pages/selectenv.jsp'
Ashish
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]