aspose file tools
The moose likes JSP and the fly likes in jsp run script Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: in jsp run script
 
Similar Threads
questions about JSTL variables
embeding flex appllication in liferay portlet
why parameter cause problem ?
Conditional alerts (was 'c:otherwise tag')
not getting alert msg in jsp