Sorry Rajesh, I was addressing my mail more towards the original poster
David.

I was concerned that he did not realise that the compliation is an automatic
process. There have been a few posts from newbie's along these lines before
- no offence meant ot you David (perhaps you are in the same situation as
Rajesh).

Cheers
Adrian

> -----Original Message-----
> From: Rajesh Thiharie [SMTP:[EMAIL PROTECTED]]
> Sent: 06 November 2002 01:10
> To:   [EMAIL PROTECTED]
> Subject:      Re: JSP -> servlet convertor...
>
> >
> >
> >Why do you want to do this though, there is not, for instance, any speed
> >improvement, as this is what the container does anyway?
> >
> Under certain conditions  you do not want the user to wait for the
> first time compile of the JSP. This is when you have a contractual
> agreement
> with a client that a page needs to served in x seconds and you need to
> deliver and deploy the JSPs pre-compiled. This is needed when your
> application goes into production. ;-)
> The speed improvement is in terms of response time for the page to be
> served.
>
> >In fact, instead of going through this whole excersize you could try to
> find
> >the compiled class that the container generates anyway.
> >
> I dont really need the compiled file once it has been deployed.
>
> >For Tomcat seach under the appropriate project sub-directory withing the
> >"work" directory.
> >
> I am aware,. Many thanks
>
> Rajesh Thiharie
> New Delhi, India
> 91 124 6455511 x 109 Work
>
> >>You can use the provided jspc (jsp compiler) with the servlet container
> >>you use.
> >>Jakarta Tomcat and WebLogic have them The others I am not aware of, but
> >>they should have them.
> >><Check>
> >>You will need to set the CLASSPATH properly to be able to get jspc to
> >>compile properly.
> >></Check>
> >>
> >>When you compile a JSP ( filename.jsp ) file, it gets converted to a
> >>.java file,
> >>i.e., filename.java. You then need to compile it with the normal java
> >>compiler
> >>( javac ) and place the resulting class file in WEB-INF/classes.
> >>After that you need to define a mapping for the filename.jsp to
> >>filename.class
> >>in the web.xml file inside your web application. If you do not do the
> >>mapping
> >>the servlet container will compile the JSP file in the work directory
> >>which will
> >>defeat the purpose of  pre-compiling.
> >>
> >>You can automate the whole process with Jakarta Ant too. However that
> will
> >>involve you spending some time learning the way Jakarta Ant works.
> >>
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
--

It is the strict policy of Truworths that its e-mail facility and all
e-mail communications emanating therefrom, should be utilised for
business purposes only and should conform to high professional and
business standards.   Truworths has stipulated certain regulations in
terms whereof strict guidelines relating to the use and content of
e-mail communications are laid down. The use of the Truworths e-mail
facility is not permitted for the distribution of chain letters or
offensive mail of any nature whatsoever.   Truworths hereby distances
itself from and accepts no liability in respect of the unauthorised
use of its e-mail facility or the sending of e-mail communications
for other than strictly business purposes.   Truworths furthermore
disclaims liability for any  unauthorised instruction for  which
permission was not granted.    Truworths Limited accepts no liability
for any consequences arising from or as a result of reliance on this
message unless it is in respect of bona fide Truworths business for
which proper authorisation has been granted.

Any recipient of an unacceptable communication, a chain letter or
offensive material of any nature is requested to notify the Truworths
e-mail administrator ([EMAIL PROTECTED]) immediately in order that
appropriate action can be taken against the individual concerned.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to