JBoss Community

Re: cannot be cast to javax.servlet.Servlet

created by Peter Johnson in JBoss Web Services - View the full discussion

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

Start a new discussion in JBoss Web Services at Community