Howdy,

>I'm sorry to be so inspecific. In my doGet() I get an instance of the
>RequestDispatcher I need and then call forward(request,response). I'm
sorry
>to have not said all that. Any further advice will be appreciated.

OK ;)  I didn't think it would be so simple.

It's hard to help without you giving the stack trace.  My guess is,
since your code compiles, that you have another servlet.jar in your
runtime classpath.  This one collides with tomcat's
($CATALINA_HOME/common/lib) servlet.jar and causes the NoSuchMethod
exception.

Yoav Shapira

>
>
>>From: "Shapira, Yoav" <[EMAIL PROTECTED]>
>>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>>To: "Tomcat Users List" <[EMAIL PROTECTED]>
>>Subject: RE: XP - JDev - forward() - NoSuchMethodException
>>Date: Mon, 23 Jun 2003 09:11:11 -0400
>>
>>
>>Howdy,
>>Umm, there IS no such method ;)  You have to include the request and
>>response as parameters to the forward method of RequestDispatcher.
I'm
>>surprised your classes even compile, but then again I've seen IDEs
like
>>JDeveloper do evil things.
>>
>>Post the entire stack trace and relevant source code...
>>
>>Yoav Shapira
>>Millennium ChemInformatics
>>
>>
>> >-----Original Message-----
>> >From: Joe McGranaghan [mailto:[EMAIL PROTECTED]
>> >Sent: Sunday, June 22, 2003 8:00 PM
>> >To: [EMAIL PROTECTED]
>> >Subject: XP - JDev - forward() - NoSuchMethodException
>> >
>> >I'm develping a web app in JDeveloper on XP and then trying to
deploy
>>it to
>> >tomcat4 on my localhost. All is well until my servlets try to call
>> >RequestDispatcher.forward(). At this point, tomcat gets an internal
>>server
>> >exception that can be traced back to a NoSuchMethodException at the
>> >forward() call. I've tried everything I can possibly think of and
have
>> >found
>> >reading. Has anyone ran into this particular problem?
>> >
>> >_________________________________________________________________
>> >The new MSN 8: smart spam protection and 2 months FREE*
>> >http://join.msn.com/?page=features/junkmail
>> >
>> >
>>
>---------------------------------------------------------------------
>> >To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>>This e-mail, including any attachments, is a confidential business
>>communication, and may contain information that is confidential,
>>proprietary and/or privileged.  This e-mail is intended only for the
>>individual(s) to whom it is addressed, and may not be saved, copied,
>>printed, disclosed or used by anyone else.  If you are not the(an)
>intended
>>recipient, please immediately delete this e-mail from your computer
system
>>and notify the sender.  Thank you.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>_________________________________________________________________
>Protect your PC - get McAfee.com VirusScan Online
>http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to