hi stevens,
your href url as i see it is,
<A HREF=showCostCenterDetailQueryResults
id=0000001>0000001</A>
you may try changing it to
<A HREF=showCostCenterDetailQueryResults?id=0000001>0000001</A>
It should work !!
- Rao
> ----------
> From: [Steven Shaw][SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, May 15, 2001 6:25 PM
> To: [EMAIL PROTECTED]
> Subject: Re: getParameter("id") from <A HREF servlet/foo
> id="abc"> returns nul l
>
> <TR><TD><A HREF=showCostCenterDetailQueryResults
> id=0000001>0000001</A></TD><TD align=right>543.0</TD><TD
> align=right>$35.35</TD></TR>
>
> I have explicitly called this line with the following other options:
>
> 1: id="0000001"
> 2: id="x0000001"
>
> The use of quotes, or starting the id with an alpha does not seem to
> matter.
> Since this is one line of hundreds generated from a query that (even
> though
> it groups on this value) may be duplicated, I've called the line
> singularly
> from another page to eliminate the possibility of duplicate ids on the
> same
> page. Still null. Here's the servlet code, nothing special:
>
> pWOut.println( request.getParameter("id") );
>
> Thanks for your time.
>
>
>
> -----Original Message-----
> From: Chalapathi Rao A L [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 15, 2001 7:28 AM
> To: [EMAIL PROTECTED]
> Subject: Re: getParameter("id") from <A HREF servlet/foo id="abc">
> returns nul l
>
>
> hi steven,
> can you pass on the exact URL that is causing the problem???
>
>
> - Rao
>
> > ----------
> > From: [Steven Shaw][SMTP:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 15, 2001 5:39 PM
> > To: [EMAIL PROTECTED]
> > Subject: getParameter("id") from <A HREF servlet/foo id="abc">
> > returns nul l
> >
> > I've been struggling over this little issue for a couple of days. I
> > need a
> > value passed to a servlet from the <A HREF> calling the servlet.
> All
> > I get
> > is null. If anyone has actual code that makes this happen I would
> > really
> > like to see it as it exists ( no "foos" or "abcs") What's going
> > wrong?
> > (any new suggestions, Nic?)
> >
> > -Steven Shaw
> >
> > This message may contain information which is private, privileged or
> > confidential and is intended solely for the use of the individual or
> > entity
> > named in the message. If you are not the intended recipient of this
> > message,
> > please notify the sender thereof and destroy / delete the message.
> > Neither
> > the sender nor Sappi Limited (including its subsidiaries and
> > associated
> > companies) shall incur any liability resulting directly or
> indirectly
> > from
> > accessing any of the attached files which may contain a virus or the
> > like.
> >
> >
> ______________________________________________________________________
> > _____
> > 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
> This message may contain information which is private, privileged or
> confidential and is intended solely for the use of the individual or
> entity
> named in the message. If you are not the intended recipient of this
> message,
> please notify the sender thereof and destroy / delete the message.
> Neither
> the sender nor Sappi Limited (including its subsidiaries and
> associated
> companies) shall incur any liability resulting directly or indirectly
> from
> accessing any of the attached files which may contain a virus or the
> like.
>
> ______________________________________________________________________
> _____
> 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