This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes servlet and javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet and javascript" Watch "servlet and javascript" New topic
Author

servlet and javascript

Raj Ohadi
Ranch Hand

Joined: Jun 30, 2006
Posts: 316
If I have a servlet/jsp application that handles purchase, user enters their name, address, then go to next page to enter credit card, then enter order quantity, etc. Suppose the first page is "user personal information" and 2nd page is "credit card info" page. When user is on the page of credit card page it needs to validate credit card information. If it fails it shows user a credit card failure page. On that page, there is a link

javascript:history.go(-1);

This should take user back to previouds page. but I am wondering if we will lose the information he entered for the 1st page "user info" ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet and javascript
 
Similar Threads
better search method?
create gui for input user account info?
printing to a form
JSP Security - Advanced Servlet/JSP Login?
online reservation