jQuery in Action, 3rd edition
The moose likes JSP and the fly likes please help. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "please help." Watch "please help." New topic

please help.

dhriti joshi
Ranch Hand

Joined: Aug 13, 2002
Posts: 82
I have a jsp say test.jsp.
correspondingly I have a test.js javascript file.my jsp gets some input field values from database when loaded.i want to store these values in the test.js before the user changes them.and then compare with the values the user changed them to.how do I do it.
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
If you want help you might start with using a more descriptive topic to your messages.
To get the data available to your javascript take a look at Javascript arrays which you can get generated using the c:forEach tag from JSTL easily.

dhriti joshi
Ranch Hand

Joined: Aug 13, 2002
Posts: 82
what is JSTL,where can I get some information about it.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

A search of the term "JSTL" in this forum alone yielded over 3 dozen results. There are lots of people here who are more than willing to help you out, but we're not going to do your work for you. Please make at least a minimum effort on your own.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: please help.
It's not a secret anymore!