Is the output of above mapping dependent on container used ?? If so why ?? doesnt the servlet spec defines container behavior for above case
BTW ,,, my servlet is according to Servlet 2.5 Specification
Joined: Apr 26, 2008
What Server do you use? I am using Tomcat for MyEclipse and I didn't have to put the * after the "myservlet/"
I set up another project using Java 5 EE and ran the same files and still got both servlets, without adding the "*" again.
As for Dependencies on containers, I don't have an absolute yes or no. But judging by what I was able to run, and what you were not able to run based on the same mapping, I would say yes.
Hope this helps
Joined: Feb 28, 2007
looks like an interesting finding I am using embedded oc4j11g
Talking of dependency on containers ... Let me put this in another way ... We know that .. the Requested URI is made up of ... the context path, servlet path, and path info. And The Servlet Spec clearly (guess so) defines the algorithm for that so... the following should result in same for all containers ...
May be we should try on more containers ... or other friends can help us do that .. post the results in this thread .. what say ??
Originally posted by lavnish lalchandani: pls let me know if i need to clarify more ... ( i will be able to ans after 12 hrs now )
Please use real words when posting to the forums. Abbreviations such as "pls" in place of "please" and "ans" instead of "answer" only serve to make your posts more difficult to read and less likely to generate useful responses.