wood burning stoves*
The moose likes Struts and the fly likes Multiple Input Pages for struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Multiple Input Pages for struts" Watch "Multiple Input Pages for struts" New topic

Multiple Input Pages for struts

Dale DeMott
Ranch Hand

Joined: Nov 02, 2000
Posts: 515
Is it possible to config struts to use several different input pages for one action?

By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)
George Franciscus
Ranch Hand

Joined: Jan 25, 2005
Posts: 32
Each action mapping has no idea who called him. Therefore, several input pages can post to the same action mapping. What makes this tricky is that an Action is expecting the same form each time it receives a request. So, to answer your question, yes its possible.

George Franciscus<br />george.franciscus@nexcel.ca<br /><a href="http://www.nexcel.ca" target="_blank" rel="nofollow">http://www.nexcel.ca</a><br /><a href="http://www.manning.com/franciscus" target="_blank" rel="nofollow">http://www.manning.com/franciscus</a>
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Originally posted by Dale DeMott:
Is it possible to config struts to use several different input pages for one action?

i never config that in my project.

please show example/case why to config like that ??

Java Developer, Thailand
subject: Multiple Input Pages for struts
Similar Threads
why cant we use normal html tags instead of struts html when using struts framework?
struts 1.beginner, code not working
Including Actions in various pages
question about validator framework
Passing Input parameters in Struts