This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Javascript Code in JSP

 
vikram ahuja
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am using Jhtml pages on server side which is returning a JSP page . JSP page contains Scritlets . i want to add a javascript code in between the java code .
ie
<%
java code
if ()
{
I WANT TO ADD JAVASCRIPT CODE HERE a confirmation dialog
java code
}
else
{
}
%>
please let me know how to go about that
thanks
Vikram
 
Frank Carver
Sheriff
Posts: 6920
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can always break in the middle of the Java:
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic