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 form bean scope 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 "form bean scope" Watch "form bean scope" New topic
Author

form bean scope

sudheer kiran
Ranch Hand

Joined: Jun 26, 2008
Posts: 237



is testbean available in the request only?
is test bean still available in next jsp file after mapping.forward from action file.
mapping.forward forwards the same request(which contains testbean).


thank you


Sudheer
SCWCD, SCJP 5
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

yes. testbean is in request scope only ,in other words you are putting form bean inside a request scope. mapping.forward is nothing but forwarding request,response to the particular page , so obviously it is available on forwarded page
sudheer kiran
Ranch Hand

Joined: Jun 26, 2008
Posts: 237

thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: form bean scope
 
Similar Threads
doubt on jsp:useBean tag
JavaBean not instantiating
Extracting data from a bean
struts tags
Whizlabs Mock Question