File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes get session attribute in jsp if set in servlet without redirect or forward? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "get session attribute in jsp if set in servlet without redirect or forward?" Watch "get session attribute in jsp if set in servlet without redirect or forward?" New topic
Author

get session attribute in jsp if set in servlet without redirect or forward?

shashank dwivedi
Ranch Hand

Joined: Mar 06, 2012
Posts: 61

why it is not working?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61458
    
  67

Are the servlet and JSP in the same web app?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
shashank dwivedi
Ranch Hand

Joined: Mar 06, 2012
Posts: 61
Bear Bibeault wrote:Are the servlet and JSP in the same web app?

yes they are in same web app
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61458
    
  67

And participating in the same session? (Usually the same browser window.)

What exactly happens when you try it? What have you don to try and debug this isse?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: get session attribute in jsp if set in servlet without redirect or forward?