[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

WEBrick GET/POST problem

thedcm

11/25/2006 12:30:00 AM

I need to write a servlet that will handle both GET and POST stuff, for
example of you were to have something like <form action="/blah?foo=bar"
method="POST"><input type="text" name="username" />...</form> but I
can't figure out a way to do this. It would be nice if they would all
go into the request object.

I am used to PHP's $_GET and $_POST so feel free to laugh at me.

Thanks