Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP page, works the first time  RSS feed

 
John Eipe
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have a small application that does the following.
input from JSP page -> Controller(updates a db table based on input) -> Page Controller(populates the contents of db table into an ArrayList<....> and sets it as session attribute) -> (JSP reads the value of that session attribute).

When I run this program, it works the first time. Then, I close my browser, and opens it to run it again but nothing gets displayed on page!!!

Thanks,
John
 
Vijitha Kumara
Bartender
Posts: 3973
24
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... and opens it to run it again but nothing gets displayed on page!!!

You have to be more specific in details here (TellTheDetails). What are these two JSPs, same or different? How you access these pages (URL)?

And, have you tried having some log statements in the components (Servlets etc...) to see what's happening?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!