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 struts+jsp+netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts+jsp+netbeans" Watch "struts+jsp+netbeans" New topic
Author

struts+jsp+netbeans

meruva surendra
Greenhorn

Joined: Jul 28, 2013
Posts: 27
I want to know how to get the values from the session?how to use and print that?
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2864
    
  11

Short answer: expression language (EL). You can read about it in the Java EE Tutorial. There's a page of examples here. The example for getting a value from the session scope is ${sessionScope.cart.numberOfItems}, where ${sessionScope.} is built-in syntax, and cart.numberOfItems is specific to the example application.
meruva surendra
Greenhorn

Joined: Jul 28, 2013
Posts: 27
Thank you charles
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2864
    
  11

It's Greg actually, but you're very welcome!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts+jsp+netbeans