You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Manik Surtani <ma...@espadanet.com> on 2000/02/29 07:50:54 UTC

3.1M2 - jspc?

Hi,

What is jspc?  Another ignoramus question to bother you gurus ....

Does it actually compile JSP scripts into binary executables, as it's
name suggests?  (Thereby hiding sourcecode, etc?)

Sorry, but this is a poorly documented feature ... help on usage would
be nice.

TIA,
--
Manik Surtani
Chief Technology Officer
Espada (Pvt.) Ltd.
http://www.espadanet.com
ICQ: 853533



Re: 3.1M2 - jspc?

Posted by Danno Ferrin <sh...@earthlink.net>.

Manik Surtani wrote:
> 
> Hehh!  Okay .... sounds like a useful tool, though ... I just tried it out ...
> 
> The only thing is that servlets have to reside in the WEB-INF/classes directory
> ... and not just anywhere in the server root (which would make life easier!)
> 
> Is there an upcoming fix on this?  Also on the context mapping problems (mapping
> to paths outside the tomcat installation) ?

jspc -d <webapp>/WEB-INF/classes <jsp files> [or -webapp <webapp>]

 
> Cheers,
> 
> Manik
> 
> Danno Ferrin wrote:
> 
> > JspC is a JSP  to servlet compiler  It does no binary compilation, but takes
> > a JSP page and using the jasper engine converts it into an equivilant java
> > servlet.  You are right, it is poorly documented.  I plan to fix that before
> > the 3.1 release,   It will be spel checked, but once I put it in CVS editing
> > or wholesale revision won't offend me, I make a living developing software
> > not writing prose, primarily because I am better at the former.
> >
> > --Danno
> >
> > ----- Original Message -----
> > From: "Manik Surtani" <ma...@espadanet.com>
> > To: "jakarta" <ge...@jakarta.apache.org>
> > Sent: Monday, February 28, 2000 11:50 PM
> > Subject: 3.1M2 - jspc?
> >
> > > Hi,
> > >
> > > What is jspc?  Another ignoramus question to bother you gurus ....
> > >
> > > Does it actually compile JSP scripts into binary executables, as it's
> > > name suggests?  (Thereby hiding sourcecode, etc?)
> > >
> > > Sorry, but this is a poorly documented feature ... help on usage would
> > > be nice.
> > >
> > > TIA,
> > > --
> > > Manik Surtani
> > > Chief Technology Officer
> > > Espada (Pvt.) Ltd.
> > > http://www.espadanet.com
> > > ICQ: 853533
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: general-help@jakarta.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: general-help@jakarta.apache.org
> 
> --
> Manik Surtani
> Chief Technology Officer
> Espada (Pvt.) Ltd.
> http://www.espadanet.com
> ICQ: 853533
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org

Re: 3.1M2 - jspc?

Posted by Manik Surtani <ma...@espadanet.com>.
Hehh!  Okay .... sounds like a useful tool, though ... I just tried it out ...

The only thing is that servlets have to reside in the WEB-INF/classes directory
... and not just anywhere in the server root (which would make life easier!)

Is there an upcoming fix on this?  Also on the context mapping problems (mapping
to paths outside the tomcat installation) ?

Cheers,

Manik


Danno Ferrin wrote:

> JspC is a JSP  to servlet compiler  It does no binary compilation, but takes
> a JSP page and using the jasper engine converts it into an equivilant java
> servlet.  You are right, it is poorly documented.  I plan to fix that before
> the 3.1 release,   It will be spel checked, but once I put it in CVS editing
> or wholesale revision won't offend me, I make a living developing software
> not writing prose, primarily because I am better at the former.
>
> --Danno
>
> ----- Original Message -----
> From: "Manik Surtani" <ma...@espadanet.com>
> To: "jakarta" <ge...@jakarta.apache.org>
> Sent: Monday, February 28, 2000 11:50 PM
> Subject: 3.1M2 - jspc?
>
> > Hi,
> >
> > What is jspc?  Another ignoramus question to bother you gurus ....
> >
> > Does it actually compile JSP scripts into binary executables, as it's
> > name suggests?  (Thereby hiding sourcecode, etc?)
> >
> > Sorry, but this is a poorly documented feature ... help on usage would
> > be nice.
> >
> > TIA,
> > --
> > Manik Surtani
> > Chief Technology Officer
> > Espada (Pvt.) Ltd.
> > http://www.espadanet.com
> > ICQ: 853533
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: general-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org

--
Manik Surtani
Chief Technology Officer
Espada (Pvt.) Ltd.
http://www.espadanet.com
ICQ: 853533



Re: 3.1M2 - jspc?

Posted by Danno Ferrin <sh...@earthlink.net>.
JspC is a JSP  to servlet compiler  It does no binary compilation, but takes
a JSP page and using the jasper engine converts it into an equivilant java
servlet.  You are right, it is poorly documented.  I plan to fix that before
the 3.1 release,   It will be spel checked, but once I put it in CVS editing
or wholesale revision won't offend me, I make a living developing software
not writing prose, primarily because I am better at the former.

--Danno

----- Original Message -----
From: "Manik Surtani" <ma...@espadanet.com>
To: "jakarta" <ge...@jakarta.apache.org>
Sent: Monday, February 28, 2000 11:50 PM
Subject: 3.1M2 - jspc?


> Hi,
>
> What is jspc?  Another ignoramus question to bother you gurus ....
>
> Does it actually compile JSP scripts into binary executables, as it's
> name suggests?  (Thereby hiding sourcecode, etc?)
>
> Sorry, but this is a poorly documented feature ... help on usage would
> be nice.
>
> TIA,
> --
> Manik Surtani
> Chief Technology Officer
> Espada (Pvt.) Ltd.
> http://www.espadanet.com
> ICQ: 853533
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
>
>