This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
create gui for input user account info?
JSP Security - Advanced Servlet/JSP Login?
better search method?
online reservation
printing to a form