0

Hi all, it's my first post.
i'm using tomcat 6 and put under it website done by jasper .
this website contain xml.html ang jsp pages .the jsp pages needed to be encrypted, i try using ant but i'm fail may be i don't use it right.
could you please help me to find the right way
thank you.

2
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by c_blimey
0

How are you using ANT to attempt this?

thank you for your reply, the steps i did is:

  1. install ant 1.7
  2. added system variable:

    • ANT_HOME = D:\apache-ant-1.7.1-bin\apache-ant-1.7.1
    • CATALINA_HOME = C:\Tomcat6.0\bin
    • JAVA_HOME = C:\Program Files\Java\jre1.5.0_11
  3. added the following code in the website built page:

-

<target name="jspc"> 

    <jasper 
             validateXml="false" 
             uriroot="${webapp.path}" 
             webXmlFragment="${webapp.path}/WEB-INF/generated_web.xml" 
             outputDir="${webapp.path}/WEB-INF/src" /> 

  </target>

Edited by mike_2000_17: Fixed formatting

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.