Hi Lokesh,

I'm assuming you want to pre-compile JSPs. You can use Jasper for that.

Take a look at the Jasper ANT task here:
http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html

The pre-compilation process first converts all JSP files to .java files and 
then compiles them into class files, it will also modify web.xml
to create a servlet mapping of every JSP class file.

for example:

    <servlet>
        <servlet-name>org.apache.jsp.web._005fterms.copyright_jsp</servlet-name>
        
<servlet-class>org.apache.jsp.web._005fterms.copyright_jsp</servlet-class>
    </servlet>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.web._005fterms.copyright_jsp</servlet-name>
        <url-pattern>/web/_terms/copyright.jsp</url-pattern>
    </servlet-mapping>

I guess that's what you are looking for.

-Rashmi

----- Original Message ----
From: Lokesh Jayaraman <[EMAIL PROTECTED]>
To: user@ant.apache.org
Sent: Tuesday, February 20, 2007 4:41:55 AM
Subject: How to compile jsp files with ANT


Dear,

How to compile JSP files using ANT and Websphere Application Server 6.0
and also use websphere's java compiler and libraries
Kindly help me to solve this pbm
by
Lokesh


 
____________________________________________________________________________________
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to