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 How to pass value from .java to .jsp in struts. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to pass value from .java to .jsp in struts." Watch "How to pass value from .java to .jsp in struts." New topic
Author

How to pass value from .java to .jsp in struts.

Jaidev Arer
Ranch Hand

Joined: Mar 12, 2010
Posts: 38
Hi,
I need help in passing value from the action class to a JSP.
In java i get the value from the form bean and from there i have to pass the value to the next JSP.
i am using struts framework. java file and JSP is included in the action mapping.
Thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Put it in a form or in a scoped attribute?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61309
    
  66

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Kabron Kline
Greenhorn

Joined: Aug 07, 2009
Posts: 20
Please post your Struts action class and JSP.
Bunty Naagar
Greenhorn

Joined: Feb 27, 2007
Posts: 14
You can use OGNL if your jsp is called from the action class


SCJP 5, SCWCD 5
 
GeeCON Prague 2014
 
subject: How to pass value from .java to .jsp in struts.