This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in struts-config.xml?

 
Jessica James
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to submit a form value to a jsp file.
Can I map a action path to a jsp file in struts-config.xml?
 
Brent Sterling
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a bit confused by your question. Populating html/jsp forms and processing the values submitted are basic concepts of Struts. Do you have a specific issue you are trying to address?

- Brent
 
Jessica James
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Usually I will submit a form to a action class. I provide the action mapping for that class in the struts-config.xml file..
what I am asking is can I map that path(what I give as a form action) to a jsp file in the action mapping element of struts-config.xml..
 
danny liu
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can. Just use ForwardAction.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic