-
1. Re: silly servlet-mapping problem?
chrisperfer Jul 28, 2002 12:52 AM (in response to russf)im having the exact same problem. have you figured anything out?
-
2. Re: silly servlet-mapping problem?
russf Jul 29, 2002 7:19 PM (in response to russf)Well I'm glad that I'm not the only one.
Have you found anything more in the meantime?
Below is part of a message I received back from Brett Sealey on the Jetty-support list. He makes some good points , but you can see that he's surprised that popdb works. IF it works, I'd want "y" to work, too, of course it does not. I've moved onto other parts of the project hoping for some understanding of the problem to come from this list. But after much redeployment and work on other jsp and ejb issues, I still have the problem. This says that the issue is not being "out of sync" with DD.
Can you post some data that we can refer people to?
Let's collaborate on this.
--r.
mailto:russf@topia.com
>So why do I receive the following responses to the following URL's:
>
> http://localhost:8080/store/popdb OK
This should not be working based on the above config...
> http://localhost:8080/store/popdbx HTTP ERROR: 404 Could not find
> resource for /store/popdbx
This should be OK. Are you sure that you are really running the above config?
> http://localhost:8080/store/x.jsp OK
> http://localhost:8080/store/y HTTP ERROR: 404 Could not find resource
> for /store/y
There is no mapping for /store/y, you've only got one for /yx
> The intention is that popdbx be an alias for popdb.
> Likewise y for x.
> Can anyone suggest an answer?
You've no mapping for /popdb. The servlet name is just a logical name - it
is not used for match request URLs - that is what the url-pattern is for.
> It does not help if context-root is /store
> Jetty deploys fine, and I see popdb and y init messages. Not a class
> loading problem!