> know why? And what must I do to be able
> to retrieve the value in the init() method?
Hey, dont do anything. You can't able to retrieve value from init() method.
FORGET doing so...
Cheers,
---------------------------------------------------------------
Sanjay Kumar,
Software Consultant,
Addcon India Pvt Ltd.
New Delhi.
Emails : [EMAIL PROTECTED]
[EMAIL PROTECTED]
---------------------------------------------------------------
----- Original Message -----
From: Robert <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 04, 2000 10:18 PM
Subject: Re: How to retrieve param, forwarded to a servlet.
> I can retrieve the value from the parameter
> in doGet() but not in init(). Anyone
> know why? And what must I do to be able
> to retrieve the value in the init() method?
>
> /Robert Karlsson
>
> On Tue, 4 Jul 2000, Robert wrote:
>
> > Hello,
> >
> > How can I retrieve the parameters in a servlet
> > that I send in a jsp:
> >
> > <jsp:forward page="someservlet">
> > <jsp:param name="varname" value="sumvalue">
> > </jsp:forward>
> >
> > To my knowledge I'm supposed to use the request
> > object with the getParameter("varname") or
> > getParameters(). But I can't seem to get it
> > working.
> > I want to retrive the parameter in the servlets
> > init() method.
> >
> > Anyone having a solution, please?
> >
> >
> >
> > /Robert Karlsson
> >
> >
___________________________________________________________________________
> > 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