You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ying lcs <yi...@gmail.com> on 2006/11/09 05:13:59 UTC

Use tomcat ant task to precompile jsp file in my webapp

Hi,

Can you please tell me where can i find tomcat ant task to precompile
jsp files in my webapp?
I am using tomcat 4.1.

>From here it said i shouldn't use the jspc task in ant.
http://ant.apache.org/manual/OptionalTasks/jspc.html

and from here, i can't find an example of how to use tomcat 4.1 ant
task to precompile jsp files.
http://tomcat.apache.org/tomcat-4.1-doc/appdev/build.xml.txt

Thank you.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Use tomcat ant task to precompile jsp file in my webapp

Posted by ying lcs <yi...@gmail.com>.
Sorry, I found it:
http://tomcat.apache.org/tomcat-4.1-doc/jasper-howto.html



On 11/8/06, ying lcs <yi...@gmail.com> wrote:
> Hi,
>
> Can you please tell me where can i find tomcat ant task to precompile
> jsp files in my webapp?
> I am using tomcat 4.1.
>
> From here it said i shouldn't use the jspc task in ant.
> http://ant.apache.org/manual/OptionalTasks/jspc.html
>
> and from here, i can't find an example of how to use tomcat 4.1 ant
> task to precompile jsp files.
> http://tomcat.apache.org/tomcat-4.1-doc/appdev/build.xml.txt
>
> Thank you.
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Use tomcat ant task to precompile jsp file in my webapp

Posted by Mark Thomas <ma...@apache.org>.
ying lcs wrote:
> Hi,
> 
> Can you please tell me where can i find tomcat ant task to precompile
> jsp files in my webapp?
> I am using tomcat 4.1.
> 
>> From here it said i shouldn't use the jspc task in ant.
> http://ant.apache.org/manual/OptionalTasks/jspc.html
> 
> and from here, i can't find an example of how to use tomcat 4.1 ant
> task to precompile jsp files.
> http://tomcat.apache.org/tomcat-4.1-doc/appdev/build.xml.txt

I think this is the page you are looking for:
http://tomcat.apache.org/tomcat-4.1-doc/jasper-howto.html#Web%20Application%20Compilation

HTH,

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org