wood burning stoves 2.0*
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: 60782
    
  65

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: 60782
    
  65

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?
 
Similar Threads
JSP, beans and sharing ArrayLists
Instantiate a bean in a servlet
java.lang.reflect.UndeclaredThrowableException
JSTL c:forEach not working
how to handle session in EJB