Hi,

I think you should try like this:

out.println("<form method=get
action=\"http://192.248.16.197:7070/Replytocommonmessage\">");
out.println("<input type=\"hidden\" name=\"sub\" value=\"hello\">");


OR without using a form tag


out.println("<a
href=\"http://192.248.16.197:7070/Replytocommonmessage?sub=hello\"> Click
here</a>");



Hope it helps.

Best wishes,
                    Andras.


----- Original Message -----
From: Tom John <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 08, 1999 10:25 AM
Subject: PROBLEMATIC!!!!!!!!!!!!


> hi
> inside a servlet if we want to call a servlet(Replytocommonmessage) and
also
> want to send some
> variables along with that why can't we do as follows it calls the
parameter
> but does not
> pass the variable
>
> ...
> ...
> out.println("<form method=get
> action=\"http://192.248.16.197:7070/Replytocommonmessage?sub=hello\">");
> ..
> ...
> ...
> ..
>
> tom
>
>
___________________________________________________________________________
> 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