Computing.Net > Forums > Programming > JSP alert

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

Reply to Message Icon

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?

Thanks!



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: JSP alert

urgent help in jsp www.computing.net/answers/programming/urgent-help-in-jsp/10401.html

Having problem with JSP www.computing.net/answers/programming/having-problem-with-jsp/8824.html

oracle jsp servlet www.computing.net/answers/programming/oracle-jsp-servlet/6222.html