• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP page, works the first time

 
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 4116
72
Mac TypeScript Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic