I'm not exactly sure what you want... if you want to invoke a certain
method in your servlet, look into the WebKit documentation on .actions()
and such. If you want to set a cookie when the person clicks on the
HREF, then you'll have to use Javascript. However, I would not
recommend that.
On Wed, 2002-03-13 at 14:17, Aleksandar Kacanski wrote:
> I already manipulated cookies and sessions in webkit and
> stuff works fine. I would like to avoid implementation of
> the uri as:
> URI = ( net_path | abs_path | rel_path ) [ "?" query ]
>
> When action happens in the servlet abc.py I would like to
> setup and pass cookie definitions to the new servlet:
> self.transaction().response().setCookie('','')
>
> What is unclear to me at this point is triggering mechanics
> in the code to achive that.
> Example would be image associated with uri
> <a href="abc.py"><img src="http://xxx/image.png"
> border="0"></a>
> At this time I need a way to set cookie dict, because that
> is what abc.py servlet is going to work on.
>
> Should I have a separate method being invoked with the
> action that will forward request to the abc servlet and at
> the same time setup cookie, and how to enable invocation of
> the method within servlet without using form argument.
>
> Hope that someone has some suggestions on this one
>
>
>
> =====
> ------
> * "Last night I dreamed I ate a ten-pound marshmallow, and when I woke up the
>pillow was gone."
>
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
>
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss
>
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss