I have a JSP page with a Textbox and a GO button The page also has a readonly text which has a text like ' <SCRIPT SRC=xyz/abc/err.jz> </SCRIPT> After entering a value in the textbox and GO button is clicked , I do a JSP forward.
My question is, will the above Readonly text value also get submitted and if so will the SCRIPT tag in the readonly text would throw error?
Joined: May 29, 2003
After entering a value in the textbox and GO button is clicked , I do a JSP forward
That doesn't make much sense. Since you cannot execute a forward as a result of a button press, I am assuming that you are submitting a form to a page (perhaps this very same page) where you would perform a forward? You need to better explain the sequence of events you are attempting. And, if the script is the value of a form text field, it will just be submitted as text with no interpretation as script. How about backing off a mile or so and explaining what it is you are trying to do in the first place? [ March 16, 2004: Message edited by: Bear Bibeault ] [ March 16, 2004: Message edited by: Bear Bibeault ]