tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33564] - Servlet Init Params for a jsp cannot be obtained
Date Mon, 14 Feb 2005 23:07:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33564>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33564





------- Additional Comments From yoavs@computer.org  2005-02-15 00:07 -------
Un-acceptable? ;)  If you were paying Remy before, I suggest you don't do so 
anymore.  Heck, fire him ;)  Please...  Now, a bit more seriously:

As far as I know servlet-name is a require child of the servlet element in the 
Servlet Specification v2.4.  If you look at SRV.13.3, on page 127 of the spec 
v2.4, there's no minOccurs="0" in the XSD.  So here are a couple of things to 
try with regards to your deployment descriptor:
1. Validate it using an external tool like XMLSpy.
2. Add <servlet-name>BlahBlah</servlet-name> to your <servlet> element,
and 
then a corresponding <servlet-mapping> element for BlahBlah in your deployment 
descriptor.  Restart Tomcat and see if the behavior changes: whether it does 
or doesn't, you can report your findings and at least contradict Remy/William 
with some evidence rather than "you're shooting from the hip."

Another thing that would be helpful is to post a simple WAR we can use to 
reproduce your testing.

Yet another good practice is to use a stable release for testing: 5.5.4 is not 
a stable Tomcat release IIRC.  5.5.7 is, meaning it passed the TCKs.  If I 
were you, I would (re)test against a stable release.

To Bryan's comment: 5.0.x and 5.5.x are different branches of Tomcat with 
significant relevant code changes.  The same advice I gave Bruce above is 
applicable to you as well.  If you could post a WAR of your test setup so that 
we may reproduce your tests, that'd be good too.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message