• 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

dynamic data display on a web page

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have a jsp page where in there are some forms for user to fill.When a user fills a form it should be dealt by a servlet which stores the details in a database and they prints out an output confirming the storing or throws an exception in case of failure. I want to display the result also in the initial jsp page just below the form..Can anybody suggest a way to go about..
As an example it could be something like gmail whrein you enter the username and password and incase they are wrong the result is shown dynamically on the same page.

Thanks in advance
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you are looking for Struts . Its a big thing in itself, and if you dont want it that way then another simple way is to pass the message as the parameter to the JSP.

Hope this helps
 
harsha galla
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply, i wanted a simple thing only..can you explain in detail how you post message in jsp..
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Struts is a monster that isn't ever needed. The tasks that the poster outlines can be performed with simple Servlets, JSP and JDBC.

harsha, what part has you blocked? It sounds like you have a good handle on what needs to be done. Could you explains what's stopping you from proceeding?
[ October 17, 2008: Message edited by: Bear Bibeault ]
 
permaculture is largely about replacing oil with people. And one tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic