File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Doubt in struts-config.xml? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Doubt in struts-config.xml?" Watch "Doubt in struts-config.xml?" New topic

Doubt in struts-config.xml?

Jessica James
Ranch Hand

Joined: Jan 23, 2007
Posts: 69
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

Joined: Feb 08, 2006
Posts: 948
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

Joined: Jan 23, 2007
Posts: 69
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

Joined: Jan 22, 2004
Posts: 185
You can. Just use ForwardAction.
I agree. Here's the link:
subject: Doubt in struts-config.xml?
It's not a secret anymore!