Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
JSP alert
Name: ShaqDiesel Date: February 18, 2009 at 07:30:27 Pacific OS: Windows XP CPU/Ram: custom Product: Custom / CUSTOM Subcategory: Java
Comment:
Hi, I want to do this:
javavar is a variable I defined in jsp.
<%if javavar == 0 %> alert("Error!");
Unfortunately that doesn't work. How do I bring up an javascript alert dialog based on a jsp variable? It looks like I cannot do that, so I guess what I am asking is how can I obtain this functionality?
Summary: Hi, iam getting error in the below code plz check. I am trying to access the jsp variables in script which exists in the same page. the code is as follows <%String name="something";%> <script> ...
Summary: I have been trying to solve this problem for 3 days now. What happens is that if insertStatus==true, then the insert query will trigger without trying the if statement from my Javascript.For instance,...