aspose file tools*
The moose likes Struts and the fly likes Action errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Action errors " Watch "Action errors " New topic
Author

Action errors

Sri Anand
Ranch Hand

Joined: Mar 06, 2005
Posts: 392
I am writing some actions in struts, when i am checking some dates and they are not in proper date format i am creating a action errors and basically trying to send to same JSP page for that i am using the line of code below but surprisingly the mapping is returning input type as null, any thoughts what could be wrong

retval = new ActionForward(mapping.getInput());
amit punekar
Ranch Hand

Joined: May 14, 2004
Posts: 511
Hi
Is there any specific reason for you not using the "input" element of the action mappings configuration ?
I mean that way it would be easy for you to work out this scenario.
Regards,
Amit


Regards,
Amit
Sri Anand
Ranch Hand

Joined: Mar 06, 2005
Posts: 392
Thanks for the reply , yes after i decleared input as part of action in struts config the problem got resolved
 
 
subject: Action errors