Can you email the errors you got?
Did you try explicitly including the webserver.jar and/or servlet.jar in
your classpath during compilation?
:^)
"A chain is only as strong as its weakest link."
Ricky Y. Artigas
Analyst/Programmer
Information Technology Division
Easycall Communications Phils., Inc.
- Easycall Internet -
418 Arayat St., Mandaluyong City 1550, Philippines
Personal WAP Site: http://www.buzzed.co.uk/mobile/?rya
Company Website: http://www.easycall.com.ph
Tel.no: (+632) 5338001 ext.6574
Mobile:(+63) 0917-8951783
Pager: 141-002955
Email: [EMAIL PROTECTED]
> -------------------------------
> IMPORTANT NOTICE:
> This message (and any attachment hereto) may contain privileged and/or
> confidential information specific to EasyCall. If you are not the intended
> addressee indicated in this message, you may not copy or disseminate this
> message (or any attachment hereto) to anyone. Instead, please destroy this
> message (and any attachment hereto), and kindly notify the sender by reply
> email. Any information in this message (and any attachment thereto) that
> do not relate to the official business of EasyCall shall be understood as
> neither given nor endorsed by the company.
>
>
> -----Original Message-----
> From: ken dias [SMTP:[EMAIL PROTECTED]]
> Sent: Sunday, May 06, 2001 11:03 AM
> To: [EMAIL PROTECTED]
> Subject: Re: help with direct servlet reference
>
> Hi,
>
> I have JSDK2.0 and am trying to paly around and modify the example
> servlets
> in Examples. I tried compiling them (before modifying them), using javac
> and
> the original examples do not compile i.e. I get 6 to 9 errors. How can the
> original examples that come with the JSDK package not compile; what is
> happening?
>
> Thanks for any suggestions
>
> Ken
>
>
> >From: Brad Cox <[EMAIL PROTECTED]>
> >Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> > Servlet API Technology." <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: help with direct servlet reference
> >Date: Sat, 5 May 2001 21:36:14 -0400
> >
> >My first thought would be to save a reference in a static during the
> >servlet init method.
> >
> >At 11:22 AM -0700 05/05/2001, Manish Shah wrote:
> >>hello everyone,
> >>I did go through the RequestDispatcher but....how do I
> >>get a direct reference to a servlet instance and call
> >>its methods directly.
> >>
> >>Using the deprecated getServlet method it was done
> >>this way...
> >>myLogonApp = (AppLogonServlet)
> >>getServletConfig().getServletContext().getServlet("mum_cs.AppLogonServle
> t");
> >>
> >>Please do let me know...or maybe if anyone knows some
> >>piece of code which used the RequestDispatcher to do
> >>this..or is it that it cant be done this way anymore
> >>in the new API and the whole program logic itself has
> >>to be changed...
> >>I really appreciate any help...
> >>
> >>Manish
> >>
> >>ps. I am a little new to servlets....:)
> >>
> >>
> >>
> >>__________________________________________________
> >>Do You Yahoo!?
> >>Yahoo! Auctions - buy the things you want at great prices
> >>http://auctions.yahoo.com/
> >>
> >>________________________________________________________________________
> ___
> >>To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> >>body
> >>of the message "signoff SERVLET-INTEREST".
> >>
> >>Archives: http://archives.java.sun.com/archives/servlet-interest.html
> >>Resources: http://java.sun.com/products/servlet/external-resources.html
> >>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
> >
> >--
> >---
> >Brad Cox, Ph.D.; [EMAIL PROTECTED]
> >Phone: 703 361 4751 Cell: 703 919-9623
> >http://virtualschool.edu
> >
> >_________________________________________________________________________
> __
> >To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> >of the message "signoff SERVLET-INTEREST".
> >
> >Archives: http://archives.java.sun.com/archives/servlet-interest.html
> >Resources: http://java.sun.com/products/servlet/external-resources.html
> >LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html