Well, how about attaching a variable value to the url in each cell,
identifying the cell?  Like,

<A HREF="http://myserver.com/servlets/MyServlet?CELL=A1">,
<A HREF="http://myserver.com/servlets/MyServlet?CELL=A2">

...and so on?

----- Original Message -----
From: Andreas Schlegel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 09, 2000 2:40 PM
Subject: Running a servlet with arguments?


> Hello list ;-)
>
> does anyone know if it is possible to start a servlet with arguments? As
> I tried out it will not work, but I am not shure if I did something
> wrong.
>
> I need a solution for the following problem:
> a servlet creates a HTML table and the user is allowed to click on the
> cells. Depending on the value in the cell it should start different
> actions (the cells contain different A HREF tags). For these actions it
> is essential to get the value inside the cell. Of course, creating the
> table I could also create all HTML pages linking to every cell. But that
> would be a huge waste.
>
> Any ideas?
>
> -- Andreas
>
>
___________________________________________________________________________
> 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