This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "classcastException" Watch "classcastException" New topic


preethi Ayyappan
Ranch Hand

Joined: Oct 04, 2007
Posts: 518
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

please help me to solve this problem.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60810

Without seeing the code that causes the error?

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

Joined: Mar 06, 2001
Posts: 13459

They both extend javax.servlet.ServletRequest, but that's about all you get.
subject: classcastException
Similar Threads
NX: Reading from the DB
TOMCAT Environmental Variables
Weird error
design the Java swing with dynamic creation of JTextfield,JLabel,Jcombobox
SCJP 1.5 review - not a so good test?