DO NOT REPLY [Bug 26452] - Welcome-file not forwarding to servlet

2004-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26452

Welcome-file not forwarding to servlet





--- Additional Comments From [EMAIL PROTECTED]  2004-02-18 22:35 ---
Can you answer these two questions ?
- how is your example different from the one given on top of the page ?
- what do you think will happen, given the default configuration for all webapps
is to have index.jsp as (one of) the welcome files, with a default mapping of
*.jsp to the JSP processing servlet ? (I did point that out a few comments
above, but you don't seem to bother reading; whining is so easy ...)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 26452] - Welcome-file not forwarding to servlet

2004-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26452

Welcome-file not forwarding to servlet





--- Additional Comments From [EMAIL PROTECTED]  2004-02-18 22:31 ---
Remy Maucherat,

  I wonder how someone can get so arrogant. Your attitude is just not helping.
  It's pretty clear that I didn't copy&paste. As you can see, I checked the
specs, and also found a work-around (which might be helpful for other people).
  It would be nice if you could share a little bit of your acknowledge in this
matter with us, mere mortals.
  Of course it would also give credibility to your statements, so other people
won't ask again.
  In short: Why can't it be implemented?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 26452] - Welcome-file not forwarding to servlet

2004-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26452

Welcome-file not forwarding to servlet

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED



--- Additional Comments From [EMAIL PROTECTED]  2004-02-18 21:58 ---
Wow, I am so impressed by your arguments (cut & pasted from the comments right
above I'm sure) ;) If it wouldn't create a non working container, I would gladly
fix this "bug". Thanks for not reopening the report, BTW.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 26452] - Welcome-file not forwarding to servlet

2004-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26452

Welcome-file not forwarding to servlet





--- Additional Comments From [EMAIL PROTECTED]  2004-02-18 21:53 ---
I have faced the same problem. I have:
...
  
  action
  *.do
  
...
  
Welcome.do
  

when I try:
http://host:port/
I get 404. if I try
http://host:port/Welcome.do works fine.

Servlet 2.4 specs says (on pdf version page 76):

"If a Web container receives a valid partial request, the Web container must
examine the welcome file list defined in the deployment descriptor. The welcome
file list is an ordered list of partial URLs with no trailing or leading /. The
Web server must append each welcome file in the order specified in the
deployment descriptor to the partial request and check whether a static resource
or servlet in the WAR is mapped to that request URI."

I think its pretty clear that servlet mapping should be applied to welcome-file
elements.

Also, if I change my dd to:

...
  
  action
  *.do
  
  
  action
  /Welcome.do
  
...
  
Welcome.do
  

Everything works fine (so in this case, Tomcat is performing servlet mapping). 

It's definitely a bug.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 26452] - Welcome-file not forwarding to servlet

2004-01-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26452

Welcome-file not forwarding to servlet

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-01-27 08:09 ---
I have to disagree: welcome files cannot possibly apply to extension mapping.
This was already discussed with Jean François a while ago.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 26452] - Welcome-file not forwarding to servlet

2004-01-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26452

Welcome-file not forwarding to servlet





--- Additional Comments From [EMAIL PROTECTED]  2004-01-28 08:44 ---
Look at my example. Does that behavior makes sense ? No. So you have your answer :)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 26452] - Welcome-file not forwarding to servlet

2004-01-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26452

Welcome-file not forwarding to servlet





--- Additional Comments From [EMAIL PROTECTED]  2004-01-27 18:23 ---
OK, not sure why welcome files can't apply to extension mappings.  More
importantly, does the spec say that?  If it is implied, it should be explicitly
stated.  Reading the spec (at least, my interpretation) does not imply that
extension mappings and welcome files can't play together.

Is this a tomcat limitation or a spec limitation?

Thanks!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 26452] - Welcome-file not forwarding to servlet

2004-01-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26452

Welcome-file not forwarding to servlet





--- Additional Comments From [EMAIL PROTECTED]  2004-01-27 08:40 ---
I have one small example to add: if this bug was valid, using the spec mandated
default welcome files and servlet mappings, we would always redirect to index.jsp.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 26452] - Welcome-file not forwarding to servlet

2004-01-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26452

Welcome-file not forwarding to servlet





--- Additional Comments From [EMAIL PROTECTED]  2004-01-27 07:31 ---
This is like a really ugly use-case, but I have to agree with your reading of 
the 2.4 servlet-spec in this case.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]