Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
How to post form data to a servlet using ruby
Pradeepta Swain
12/26/2007 8:39:00 AM
HI ,
How can i post form data to a servlet program using ruby .I am
using the code
req.set_form_data({ 't1' => 'David', 't2' => 'hello' })
where t1 and t2 are names of text field in html page
where url = URI.parse('http://localhost:8080/Dev/CookieExample')
and CookieExample is the servlet
--
Posted via
http://www.ruby-...
.
1 Answer
Matt Todd
12/27/2007 5:39:00 AM
0
> How can i post form data to a servlet program using ruby .
There should be some useful documentation on ruby-doc.org/core for the
Net::HTTP library for performing a POST request.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
How to post form data to a servlet using ruby
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password