Hirdesh,

 

I am using Windows ME. My URL Browser is localhost:8080/servlet/MyServlet.

 

Thanks

 

Ken

>From: Hirdesh Mishra <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: servlet to read a file
>Date: Tue, 9 Oct 2001 09:25:25 +0530
>
>First of all let me tell you that I am using NT platform.
>Next you get c:\tomcat\jakarta-tomcat-3.2.3\webapps\Root\Note.txt (Root
>instead of examples).
>It means that you must keep your Note.txt file in Root directory J
>I think that your URL in browser should be
>http://localhost:8080/examples/servlet/MyServlet . Is that so?
>
>Hirdesh
>
>
>-----Original Message-----
>From: A mailing list for discussion about Sun Microsystem's Java Servlet API
>Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of ken dias
>Sent: Tuesday, October 09, 2001 7:16 AM
>To: [EMAIL PROTECTED]
>Subject: Re: servlet to read a file
>
>Hirdesh,
>
>I tried your code. It works fine except it does not read the file Note.txt -
>just ignores this file. Also the path returned is
>c:\tomcat\jakarta-tomcat-3.2.3\webapps\Root\Note.txt (Root instead of
>examples).
>I am just stuck now.
>Thanks
>Ken
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.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
>


Get your FREE download of MSN Explorer at http://explorer.msn.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

Reply via email to