Hi, I'd like to go back to this old thread because I'm trying to do the same thing as Matt: provide a custom index page to some of the collections. I got as far as Remy outlines in the message, next I need to modify the index.jsp file to display files of interest located in the underlying collection. As a reference point, I'm using jsp files in slide-admin, that use Slide's taglib to access slide functionality. These files start with the following declarations:
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@ taglib uri="/WEB-INF/slide-struts.tld" prefix="slide" %> Guessing, I have to do the same in my jsp, where do I put the *.tld files and the corresponding struts and slide-struts jars? If I'm accessing the page through: http://localhost:8080/slide/publicGallery/index.jsp, what is (is there?) the physical location of the /slide context? Thanks Dmitry >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 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
