@André Warnier: Thank you.
--
View this message in context:
http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4762217.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
Léa Massiot wrote:
...
If any of you two can post the code of the file-fetching servlet, it would
be great.
http://lmgtfy.com/?q=java+file+download+servlet
:-)
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
ve been looking for from
the beginning.
To @André Warnier: Thank you for the two references "Automatic Application
Deployment" and "Single Sign On".
If any of you two can post the code of the file-fetching servlet, it would
be great.
Thanks and best regards.
--
View this messa
Léa Massiot wrote:
@André Warnier: Thank you for your detailed answer.
As of your objections:
1) We don't agree with each other. I *DO* care about what URLs look like:
a) in general, b) for some reasons related to the user's speaking language,
c) for search engines, d) ...
One cannot argue
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Léa,
On 4/9/12 6:12 AM, Léa Massiot wrote:
> 1) We don't agree with each other. I *DO* care about what URLs look
> like: a) in general, b) for some reasons related to the user's
> speaking language, c) for search engines, d) ... The URL of a link
> ca
I edited my previous post at 1:14 PM 2012/04/09.
Thanks.
--
View this message in context:
http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4715649.html
Sent from the Tomcat - User mailing list archive at Nabble.com
ow to do a cross context
authentication you can point me to?
Thank you for helping and best regards.
--
View this message in context:
http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4715558.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
--
André Warnier wrote:
Léa,
Léa Massiot wrote:
...
Actually I realized that even with the previous mechanism I used
(using the
"aliases" attribute of the "Context" element of the
"w/WEB-INF/context.xml"
file), I could directly retrieve a resource by typing its exact URL in a
browser and witho
Léa,
Léa Massiot wrote:
...
Actually I realized that even with the previous mechanism I used (using the
"aliases" attribute of the "Context" element of the "w/WEB-INF/context.xml"
file), I could directly retrieve a resource by typing its exact URL in a
browser and without having to identify in
he webapp.
>
To the Webapp "w", yes.
Thank you for your comments and your interest.
Best regards.
--
View this message in context:
http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4692232.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Léa,
On 4/4/12 2:28 PM, Léa Massiot wrote:
> < Context path="/an_alias_1" docBase="/home/d1" crossContext="true"
> / >
Do you really need crossContext="true" here?
> - This Configuration Descriptor is automatically deployed once
> saved.
>
> - I su
ble.com/Tomcat6-Context-aliases-tp4678430p4689256.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
2012/4/4 Léa Massiot :
> Ok. So, I found a solution, if I can call that a solution.
>
> - I created a file "an_alias_1.xml" in "/etc/tomcat6/Catalina/localhost/"
> (the OS being Debian Squeeze).
>
> - Here are the contents of this "an_alias_1.xml" file:
> < Context path="/an_alias_1" docBase="/home
> From: Léa Massiot [mailto:lmhe...@orange.fr]
> Subject: Re: Tomcat6 - Context - aliases
> Ok. So, I found a solution, if I can call that a solution.
How about a much easier solution: install Tomcat 7. Easier to configure,
faster, and more secure. Stop making your life difficult.
The resources which are in "/home/d1" are available directly by typing the
following URL in a browser:
http://:8080/an_alias_1/file_< i>.txt
and not compulsorily through the Webapp "w".
Best regards.
Ref. - a useful thread on stackoverflow:
http://stackoverflow.com/q
bsolutely no idea how to "implement" the
same mechanism using a properties file as you suggest...
Would you be so very kind to to explain a bit more?
Thank you and best regards.
--
View this message in context:
http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430
Léa Massiot wrote:
Thank you all three for your last answers.
André Warnier wrote
this might help, in a container- and version-independent way :
http://jaitechwriteups.blogspot.de/2007/01/how-to-read-properties-file-in-web.html
I'm sorry, no offence... but I don't see how... :/
No offence t
is to be
able to isolate ressources from the Webapp itself and yet being able to
refer to them from inside the Webapp.
Thank you for helping and best regards.
--
View this message in context:
http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4681421.html
Sent from the Tomcat - U
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Léa,
On 4/2/12 6:45 AM, Léa Massiot wrote:
> Konstantin Kolinko wrote
>> Install Tomcat 7. Read RUNNING.txt for a start.
>
> I prefer not to. As I wrote, "Tomcat7" is not packaged yet in
> "Debian" stable "Squeeze".
Nor will it. Debian has a fairly
e in:
tomcat/conf/Catalina/$hostname/$alias.xml
p
> I created a "META-INF/context.xml":
>
>
> =">
>
>
> Of course, it works as expected with "Tomcat7".
>
> I "just" want to do something equivalent which works with "Tomcat6".
Léa Massiot wrote:
Pid * wrote
Either they did not, or they selected an alternative based on their
use-case.
I'm sure they did. You'll see below, my requirements are basic.
Pid * wrote
What is your exact requirement?
- Users upload files to the server running Tomcat.
- The Webapp stores the
t;:
=">
Of course, it works as expected with "Tomcat7".
I "just" want to do something equivalent which works with "Tomcat6".
Thank you for helping me and best regards.
--
View this message in context:
http://tomcat.10.n6.nabble.com/Tomcat6-Context-a
ive based on their
use-case. What is your exact requirement?
p
> --
> View this message in context:
> http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4679060.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
> -
Thank you for your advice.
And how did people do to declare aliases before the "aliases" attribute of
the "Context" element was introduced in "Tomcat7"?
--
View this message in context:
http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4679060.ht
uncements regarding security
advisories and version updates.
Dan
> I there any other workaround... I mean... I guess even before
> "Tomcat7",
> people needed to declare such "aliases".
>
> Thank you for your help and best regards.
>
> --
> View this mes
uch "aliases".
Thank you for your help and best regards.
--
View this message in context:
http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4678513.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
2012/4/2 Léa Massiot :
>
> I've been struggling lately with the "aliases" attribute of the "Context"
> element of the "context.xml" file.
> I tested a Webapp with "Tomcat7" and it appears to work properly.
> As a "Debian" user, "Tomcat7" is not yet packaged in the current stable
> release "Squeeze"
"aliases" attribute is not available.
>
>1) Can you confirm it is not?
>2) How can I workaround this problem?
>
>Thanks for helping.
>
>--
>View this message in context:
>http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678428p4678428.h
>tml
>S
c/config/context.html), it looks like
the "Context" element "aliases" attribute is not available.
1) Can you confirm it is not?
2) How can I workaround this problem?
Thanks for helping.
--
View this message in context:
http://tomcat.1
29 matches
Mail list logo