This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques and have Mario Casciaro & Luciano Mammino on-line!
See this thread for details.
Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Multiple Box Display

 
Ranch Hand
Posts: 32
MySQL Database Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am trying to create a forgot password functionality in my website using java(struts2).

The Scenario is:
1.

When I click on the login option, The usual - Username and Password input boxes are displayed, and below them is the hyperlink for the forgot password.


The Hyperlink will re-direct them to the forgot_password.jsp file and the required mappings is done in the struts.xml.


Now, in the forgot_password.jsp---->the user will be asked to enter the username, and an option is there to submit. I will then use hibernate to verify the unique entry of the username.


I want the page to refresh, upon success it should ask the secret question answer, upon success again it will ask for new password and confirm password


I want all this to be done on the single dialog box and it has to refresh upon selecting the submit options.


The main issue is that, I can use 3 .jsp pages for this scenario and be done with it. But, I wanted to seek advice, if there is a way to write all this on a single JSP page and it shall show only the content depending upon the required content.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic