aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Doubt in struts-config.xml?" Watch "Doubt in struts-config.xml?" New topic
Author

Doubt in struts-config.xml?

Jessica James
Ranch Hand

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

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: http://aspose.com/file-tools
 
subject: Doubt in struts-config.xml?
 
Similar Threads
Problems with HttpURLConnection
window.location with servlet bean
Spring + Struts [1 web app / 2 ApplicationContext]
forwards in struts
Tomcat 4.1.12 and Struts Example