The two are evaluated at different times, one on the server, and one on the client
-----Original Message----- From: Raghu.Ramakrishnan [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 1:19 PM To: Struts Users Mailing List Subject: Retrieving value of java script variable in a Scriplet Hi, Does any one know how I could retrive a Java script variable between a scriplet code???? Eg: for (var i = 0; i<= (listSize-1); i++) { var pay = '<%= orgAmcStmt %>'; alert ("The current Index is Before the Scriplet is:" + pay); <% if (list.size()!= 0) { // I would like to get the Value of i here .... } %> } I would like to get the value of i withing the scriplet.... Raghu -----Original Message----- From: Matthias Fraass [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 12:02 PM To: [EMAIL PROTECTED] Subject: html:errors indexed? Hi, I've got a JSP page with some elements which are drawn by iterating through a collection. Each of these elements can be validated individually. The problem is that html:errors doesn't handle the "indexed" tag as the other controls (e.g. html:text) do. How can I show specific error messages for the controls? Do I have to expand ErrorsTag =)? I hope my description is sufficient - otherwise I can provide some example code but I think it's quite a straightforward problem. Regards, Matthias --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

