ok now I'm totally confused
is it possible to create the config object in jsp
I checked the api(though not very thoroughly) but couldn't find any method
to get an instance of
the config object itself
sweetPete

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Rohit
Parik
Sent: 30 April, 2001 11:51 AM
To: [EMAIL PROTECTED]
Subject: Re: file streams in jsp


Hi All,

My apologies that code was for a servlet that I used...

The only change that JayKumar that u have to do is :

 String sAttr = config.getServletContext().getRealPath("/");

others, I think were smarter... hehehe.. joking

Regards
Rohit
Netweb Software, India
  ----- Original Message -----
  From: Jayakumar Mani
  To: [EMAIL PROTECTED]
  Sent: Monday, April 30, 2001 10:30 AM
  Subject: jsp streams...again doubt.....


  Hi guys... i think from netlab we got some
  solutions...like
  String sAttr = conf.getServletContext().

  do we have to put the same sentence????? i kept this
  it says undeclared variable conf.....

   i know i do a great mistake ..... but help me...
  regards
  jayakumar
    Thanx in advance.



___________________________________________________________________________
    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

___________________________________________________________________________
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