not only does it use the last change date of the jsp file to see if it must
recompile the page.  But the majority of servlet/JSP engines actually use
the file to get the static text.  In other words, anything that is not
enclosed in JSP tags or scriptlets is read from the file when the jsp is
called by the server.  So, the chances that you will be able to distribute
JUST the class files is almost 0.  If you must just distribute class files,
and not the JSP source itself, you'll probably have to do something evil
like implement the entire app as servlets.

Joseph Karau
Kingland Systems
[EMAIL PROTECTED]
507-536-3629
AIM: jkara3629


-----Original Message-----
From: erik morton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 10:58 AM
To: [EMAIL PROTECTED]
Subject: Re: deploy issue


JRun stores the class files for JSPs in
servers/<yourserver>/<yourapp>/Web-Inf/jsp.
However, I believe that the 1.1 specification requires that the container
check the
actual *.jsp file to see if it has been modified since the last *.jsp to
*.class
translation and compilation. This means that the *.jsp file must exist.

If there is a work around I would love to hear about it. I'll look forward
to
reading this thread in the archives.

Mudit Mehta wrote:

> Hi all !!
>
> I am a new member to the group; and currently involved in developing an
> open client for Progress database. I am using JSP for the purpose; the
> application has
> taken a concrete shape and is working fine, but i am wondering how we can
> distribute it
> to our various clients.
> I don't want to give the JSP code to the clients, as i am building this
> application over our client-server CRM application.
> So, how can the things be resolved. If in place i would have used =3D
> servlets then it was not a problem, as .class files work in deployment.
> Is there some tool so that we can convert .jsp into class file for once.
>
> Pls let me know how to get out of this situation.
>
> I am using IIS, and JRun for it.
>
> Mudit this side.
>
> Smiles go Miles....:o)
> ******************************************************
> Mudit Mehta
> Progressive Software
> [EMAIL PROTECTED]
> ******************************************************
> The soul would have no rainbow had the eyes no tears.
>
>
===========================================================================
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

--
Erik I Morton
Software Developer
------------------
CommerceHub
http://www.commercehub.com
518-886-0704
21 Corporate Drive
Clifton Park, NY 12065

===========================================================================
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to