Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Action errors

 
Sri Anand
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 544
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sri Anand
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply , yes after i decleared input as part of action in struts config the problem got resolved
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic