[jboss-user] [JBoss Web Services] - Re: cannot be cast to javax.servlet.Servlet
Peter Johnson
do-not-reply at jboss.com
Mon Apr 18 14:29:04 EDT 2011
Peter Johnson [http://community.jboss.org/people/peterj] created the discussion
"Re: cannot be cast to javax.servlet.Servlet"
To view the discussion, visit: http://community.jboss.org/message/600774#600774
--------------------------------------------------------------
There are only two things you are doing differently from me:
a) I placed my classes into WEB-INF/classes (I did not create a JAR)
b) My url-pattern in web.xml contains a context name, such as "/hello", not '/*'
Of the 2, I suspect that "b" is the problem.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/600774#600774]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110418/d41ce604/attachment.html
More information about the jboss-user
mailing list