Forum: RForum how to extract the url?

Posted by Wrapster Aol (wrapster)
on 2009-02-16 15:08
Hi,

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'>
bla
  bla
</form>

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

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?

Thanks
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.