File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » JSP
Bookmark "in jsp run script" Watch "in jsp run script" New topic
Author

in jsp run script

narayana arya
Greenhorn

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:
<%
...
pst.executeUpdate();
out.print("<script>alert('Record Updated Successfully');</script>");
pst.close();
....
%>

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

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: http://aspose.com/file-tools
 
subject: in jsp run script