HI !!
I think the solution in your case is something like this:
<form action="http://.... /yourservlet" method="post">
having some hidden fields
<input type="hidden" name=" Dest" value="Beef">
..more hidden fields
at links like this <a href="#" onClick="document.forms[0].submit()">
</form>
it looks a little bit complicated but it is not.
And of course in the sevlet you should chage doGet() with doPost()
p.s. if you having some problems please let me know.
This solution needs JavaScript enabled browser (most browsers are).
Or maybe U will stay at GET ? :))))
Maybe you should think of saving the data beetwen two servlets
using Sessions.
If U are interested i am happy to help.
Best wishes,
Andras
-----Original Message-----
From: Jaman Burton <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, May 07, 1999 10:49 AM
Subject: anonymous URL's
> I have a servlet-based application and currently all information need
> by the next servlet is being passed on the URL from the current
> servlet. With code like this:
>
> out.println("<TR><TD ALIGN=LEFT ALIGN=TOP><A
> HREF=request?Dest=Beef&sessionId="+sessionId+"</A><IMG
> SRC=/images/menu1.gif BORDER=0></TD></TR>");
>
> In that example request is the next servlet and is getting information
> regarding a value for "Dest" and a value for "sessionid".
>
> I would like to be able to easily pass this information still but I
> would also like for the information not to show on the client's URL
> after the link is traveled. Is there a way to pass this stuff "behind
> the browser" so to speak?
>
> Jaman Burton
>
>___________________________________________________________________________
>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