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.AppLogonServlet");
>>
>>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