: 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 message in context:
http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases
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:
@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
.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4715558.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
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
-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
can
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
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 without
Schultz-2 wrote
Maybe you just want to make it look like the resource belongs
to the 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
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 any
Konstantin Kolinko wrote
You should remove the path attribute when Context is defined in an XML
file.
The name of the xml file itself specifies the path, not the attribute.
Indeed. Thank you.
Best regards.
--
View this message in context:
http://tomcat.10.n6.nabble.com/Tomcat6-Context
-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 suppressed the
://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4686704.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
.
Ref. - a useful thread on stackoverflow:
http://stackoverflow.com/questions/4575562/how-to-set-up-a-different-context-to-point-to-an-external-directory-outside-weba
--
View this message in context:
http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4687332.html
Sent from the Tomcat
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.
- Chuck
2012/4/4 Léa Massiot lmhe...@orange.fr:
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
://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4681421.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
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
) How can I workaround this problem?
Thanks for helping.
--
View this message in context:
http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678428p4678428.html
Sent from the Tomcat - User mailing list archive at Nabble.com
.nabble.com/Tomcat6-Context-aliases-tp4678428p4678428.h
tml
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
2012/4/2 Léa Massiot lmhe...@orange.fr:
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
and up-to-date OS
and software versions.
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 message in context:
http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases
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 message in context:
http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases
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.html
Sent from the Tomcat - User mailing
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.
-
To unsubscribe, e-mail: users
;an_alias_1=d1
/Context
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-aliases-tp4678430p4679237.html
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
this message in context:
http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4679237.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
-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
29 matches
Mail list logo