aspose file tools*
The moose likes Servlets and the fly likes classcastException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "classcastException" Watch "classcastException" New topic
Author

classcastException

preethi Ayyappan
Ranch Hand

Joined: Oct 04, 2007
Posts: 518
Hi,
when i am trying to run a servlet program ,it is showing the following error:


java.lang.ClassCastException: org.apache.catalina.connector.RequestFacade cannot be cast to javax.servlet.sip.SipServletRequest
javax.servlet.sip.SipServlet.service(SipServlet.java:99)


please help me to solve this problem.

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61657
    
  67

Without seeing the code that causes the error?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

They both extend javax.servlet.ServletRequest, but that's about all you get.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: classcastException