File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes in jsp run script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "in jsp run script" Watch "in jsp run script" New topic

in jsp run script

narayana arya

Joined: Dec 12, 2005
Posts: 12
Hi here i am unable to get alert message in my jsp file.

could you explain me why this alert msg is not executing.
(it is not giving any err)

4ex the code is like:
out.print("<script>alert('Record Updated Successfully');</script>");

could anybody suggest me how should i get alert msg after updating a rec.
Jason James Picardo

Joined: Jul 22, 2005
Posts: 3
Hi, I have tried the code that you have listed and it worked on my PC running on JRun 4 server. I guess there is some error in the previous line.
I agree. Here's the link:
subject: in jsp run script
It's not a secret anymore!