File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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