Dear all,

Rajesh, thanks for providing the idea to convert from JSP to servlet.
It's working now!! I used jspc to compile jsp file, but  another problem occured:
jspc is not able to recognize Chinese character, does anyone know how to do it?
Or is there any way to set property in jspc,  enabling jspc to recognize Chinese 
character, thanks!


David








-----Original Message-----
From: A mailing list about Java Server Pages specification and reference 
[mailto:JSP-INTEREST@;JAVA.SUN.COM]On Behalf Of Luis A
Sent: Thursday, November 07, 2002 2:38 AM
To: [EMAIL PROTECTED]
Subject: Re: JSP -> servlet convertor...


There is another issue about jspc, JASPER_HOME. I did not find info about
how to set it. Can someone send?

Luis.


----- Original Message -----
From: "Rajesh Thiharie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 7:31 AM
Subject: Re: JSP -> servlet convertor...


> 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.
>
> Cheers
> Rajesh Thiharie
> New Delhi, India
> 91 124 6455511 x 109 Work
>
> David wrote:
>
> >I would like to convert JSP into servlet, is there any tool to do that?
> >Any suggestions will be appreciated.
> >
>
>
===========================================================================
> 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
>

===========================================================================
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.comNrzf%lzjw(Ƞ%#51$Ţb-bڽ.&+anrIH

LDDI0DJ^,rR?^jmj!ڲܢo㲘޲mXmڲܢo鮇nr?}ia
0z^?㲟㲗ڪ;)i08.(ګucm#'^&


Reply via email to