Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

please help.

 
dhriti joshi
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.
thanks,
Dhriti.
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is JSTL,where can I get some information about it.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic