Hi Harry, Thanks a lot for your help and all the people belonging to this forum who came forward to help me.
I understand that "apache tomcat" wasnt exactly built for such file sharing......but somehow i am left with no alternatives over here. Anyway, thanks again for ur patience and time. Gratefully, Sancha > > Okay Sancha > > Delete all of of the following lines from the 'web.xml' > file in '$CATALINA_HOME/webapps/Sancha/WEB-INF': > > > > > <!-- JSPC servlet mappings start --> > > <servlet> > > <servlet-name>org.apache.jsp.index_jsp</servlet-name> > > <servlet-class>org.apache.jsp.index_jsp</servlet-class> > </servlet> > > <servlet-mapping> > > <servlet-name>org.apache.jsp.index_jsp</servlet-name> > <url-pattern>/index.jsp</url-pattern> > </servlet-mapping> > > <!-- JSPC servlet mappings end --> > > > > > Make sure you do NOT delete the closing </web-app> tag at > the end of the page (!) otherwise Tomcat will complain. > > Now you will have an 'empty' context (application). Any > files you place into the '$CATALINA_HOME/webapps/Sancha' > folder will be displayed as a directory list. > > Test it yourself by calling: > > http://your_ip_address:8080/Sancha/ > > You should see just a list of files, assuming there are > any to list. > > I hasten to add that this is not how Tomcat is normally > used (!) and it could be that I have misunderstood your > intentions for using Tomcat. It is a very crude way of > 'sharing' certain files, but I assume that is what you > want to do. > > All the best. > > Harry Mantheakis > London, UK > > > ---------------------------------------------------------- > ----------- To unsubscribe, e-mail: > [EMAIL PROTECTED] For additional > commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
