OK.  I uncovered the obvious issue here, Tomcat is configured to send a
request for *.jsp to the JspServlet.  So, how does one actually store JSP
pages in Slide when Slide is running with Tomcat?

I thought of writing a filter that would live in the Slide webapp and would
forward() the responses from the GET method JSP servlet, but can't seem to
figure out how to fool the JSP servlet into working.  (Do I need to actually
create a temporary copy of the JSP page on disk and forward to it?)  

I guess what I would like to see is JSP execution in the context of a
filter.  Does this exist somewhere and I have missed it?

I can't be the first person to come across this issue.  How have others
solved it?

Thanks for you help!

John



-----Original Message-----
From: John Barrett 
Sent: Tuesday, January 22, 2002 11:38 PM
To: 'Slide Users List'
Subject: Serving JSP from slide




Hi,
  I would like to server JSP pages out of Slide.  (Not use JSP to access
content in Slide, but use Slide to store actual JSP pages.)

Sounds simple, but I am having a tough time with it.  I have Slide (1.0.16)
running as a webapp behind Tomcat 4.0.1 and it's using MySQL as the content
and other stores.  Mounting Slide as a webfolder on win2k, I cannot copy jsp
files into the store. Slide reports an error (404, specifically). I can copy
jsp files masquerading as jsp files, but when I rename them, their size
drops to 77 bytes and accesses to them returns a 404 error.

What am I doing wrong?

Thanks,
  John

Reply via email to