wood burning stoves 2.0*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Multiple Input Pages for struts" Watch "Multiple Input Pages for struts" New topic
Author

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
author
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 ??


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
 
jQuery in Action, 2nd edition
 
subject: Multiple Input Pages for struts