-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Hi Jonathan,
>>>>> "JB" == Jonathan Baker-Bates <[EMAIL PROTECTED]> writes:
JB> But I still can't get this clear. You say you have a line in
JB> sjsp.properties:
JB> servlet.sjsp.initArgs=dir=/usr/local/apache/jsp
JB> Isn't "jsp" the name of the physical directory on the file system
JB> in which your .jsp file live? If so, that's the same as me!
No. The way JSPs work ist something along the line
1. The SJSP-Servlet gets called with the path to your .jsp-file. It
doesnt matter where in you filesystem the .jsp-file is located, as
long as apache can find it.
2. SJSP parses your page and generates a .java-file from it. This
Java-file ist put into the directory you specify in
servlet.sjsp.initArgs. This is the reason why user nobody needs write
access to this directory.
3. SJSP calls javac to compile the file. The resulting .class-file is
also put into the specified directory.
4. This .class-file is "executed" as a servlet.
So the parameter in sjsp.properties does only specify where to put the
the generated serlvets. You can place you .jsp-files wherever you want.
I have no idea why your setup doesn't work (partly because I don't
know your setup well enough). Maybe you should try a fresh start with
a simple test-.jsp placed anywhere.
Maybe we should try to solve your specific problem in private
conversation if you cannot figure out what's going wrong.
Stefan
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]