| How to compile jsp files with ANT | How to compile jsp files with ANT 2007-02-20 - By Rashmi Rubdi
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 <lokesh.jayaram@(protected)> To: user@(protected) 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: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |