Hello, I noticed the mention of symbolic links and it was
similar enough to what I did in our application to provide a kind of
symbolic link in our application. The method I cam up with allowed
the user to user tomcat, and then also create a directory outside the context
of our web app that is
How can I use this feature of virtual directory in 5.5.20? Any example or
docs? I don't have Apache installed or IIS associated with Tomcat in my box.
Michael Hencin wrote:
Hello, I noticed the mention of symbolic links and it was
similar enough to what I did in our application to
I am not sure there is a similar feature in Tomcat. I did some research before
I did this and could not find a similar feature, or at least one I understood
to work like that.
It requires Apache or IIS, I suppose most web servers provide a virtual
directory feature
---
Michael Hencin
1)yes you need to setup the listings options for your servlet in web.xml as in
servlet
servlet-nameNameOfServlet/servlet-name
/servlet-classFullPackageNameOfServletClass/servlet-class
init-param
param-namelistings/param-name
Still confused with servlet class (FullPackageNameOfServletClass) here. What
is required in building such a class? Can you provide a sample? Thanks!
Martin Gainty wrote:
1)yes you need to setup the listings options for your servlet in web.xml
as in
servlet
From: kkus [mailto:[EMAIL PROTECTED]
Subject: Re: How to set up a special folder to list all files
under it?
Still confused with servlet class
(FullPackageNameOfServletClass) here. What
is required in building such a class?
You don't have to create any classes. Just do what I said in
From: Caldarale, Charles R
Subject: RE: How to set up a special folder to list all files
under it?
You don't have to create any classes. Just do what I said in
the original response, which is to copy the existing
declaration for the default servlet from conf/web.xml to your
own
Under listing directory, is there any way putting a file link there since I
want to put physical file in a different disk? I tried and it showed me a
file with a link, but after I clicked this test.lnk it can't show me the
physical file at all. Thanks!
Caldarale, Charles R wrote:
From:
From: kkus [mailto:[EMAIL PROTECTED]
Subject: RE: How to set up a special folder to list all files
under it?
Under listing directory, is there any way putting a file link
there since I want to put physical file in a different disk?
This isn't really a Tomcat issue. The Windows
a good tutorial for constructing URLS is located here
http://www.javaworld.com/javaworld/javatips/jw-javatip66.html
html
body
In my situation I have a contextPath which points to
$CATALINA_BASE\webapps\WebAppName (so this href tag will display
AutoCompleteServlet.java.txt)
a
kkus wrote:
Under listing directory, is there any way putting a file link there since I
want to put physical file in a different disk? I tried and it showed me a
file with a link, but after I clicked this test.lnk it can't show me the
physical file at all. Thanks!
Have a look at
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Subject: Re: How to set up a special folder to list all files
under it?
Have a look at
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
you want the allowLinking attribute
The OP is running on WinXP; is allowLinking safe to use
Caldarale, Charles R wrote:
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Subject: Re: How to set up a special folder to list all files
under it?
Have a look at
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
you want the allowLinking attribute
The OP is running on WinXP;
My current setting is redirect default request (localhost:8080) to my app by
adding a refresh meta in index.html under Root. Now I need add a specific
folder which will let user to browse all files under it without
authentication. This folder can be under my app folder or root folder (I
don't
From: kkus [mailto:[EMAIL PROTECTED]
Subject: How to set up a special folder to list all files under it?
Now I need add a specific folder which will let user to browse
all files under it without authentication.
I haven't personally tried the following, so take it with a grain of
salt.
15 matches
Mail list logo