Quoting Matthew Stone <[EMAIL PROTECTED]>:

> Hey Remy,
> 
> Thanks for the tip on where to start the server from.  That did the
> trick.
> 
> As for your statement:
> 
> Tomcat 4.0 fully abstracts the filesystem, so it's relatively easy to
> do
> that.  The latest binaries now include a Tomcat 4 powered Slide server,
> which can
> be a good example of how you can do the integration.
> 
> Do you have a sample that does what I'm looking to do with the JSP
> pages?

Well, no, but you can do the following :
- open http://127.0.0.1:8081 as a webfolder
- log in as root/root (note : I'll obviously change that behavior before making 
a public release, so that there's no root login available by default)
- upload the snoop.jsp (which doesn't have any dependencies on any other 
classes) to /files/snoop.jsp
- open http://127.0.0.1:8080 in your web browser
- there should be a dir browse page, and it should list snoop.jsp; this dir 
browse page is generated by the Tomcat default servlet, defined and configured 
in the default config file (conf/web.xml)
- click on snoop.jsp to run the JSP with Jasper

The Catalina HTML manager is available at http://127.0.0.1:8080/manager (add a 
user with manager role to conf/tomcat-users.xml), and it can be used to stop 
and start a context if you upload a full webapp (you need to stop/start to read 
the web.xml file).

Remy

Reply via email to