Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Defining form bean in 1 struts-config and action in another struts-config..

 
praveen kumar gowda
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys We know we can have more than one struts-config files.....

so,is it possible to declare form bean...defination in 1 struts-config and assign form bean in another struts-config...
say,

struts-config1

<form-bean name=myform type="/mydoubts/myform"/>

struts-config2
<action path="/logout"
type="com"
name="myform"
forward="success" parameter="method" scope="request">
<forward name="success" path="/pages/flexoutput.jsp" />
</action>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic