Forum: how to extract the url?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Wrapster A. (Guest)
on 2009-02-16 16:08

I am trying to extract the url and base the processing on it..
Have written a series of webrick servlets for this purpose...
But am unable to extract the url.

Supposing i have 2 forms, say
<form action='form1' method='post'>

<form action='form2' method='post'>

How do i extract the url from these 2 forms and process accordingly?
i tried with req.uri , but webrick reports an error...
how do i call it?

This topic is locked and can not be replied to.