File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Defining form bean in 1 struts-config and action in another struts-config.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Defining form bean in 1 struts-config and action in another struts-config.." Watch "Defining form bean in 1 struts-config and action in another struts-config.." New topic
Author

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

praveen kumar gowda
Greenhorn

Joined: Feb 20, 2012
Posts: 23
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>
 
Consider Paul's rocket mass heater.
 
subject: Defining form bean in 1 struts-config and action in another struts-config..
 
Similar Threads
Tag Library and Struts Framework
New to Struts, where did I go wrong?
org.apache.jasper.JasperException
forwarding between action classes
Defining form bean in 1 struts-config and action in another struts-config..