• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Jaidev Arer
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Put it in a form or in a scoped attribute?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65123
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.
 
Kabron Kline
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post your Struts action class and JSP.
 
Bunty Naagar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use OGNL if your jsp is called from the action class
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic