HttpServletRequest [message #98714] |
Wed, 04 May 2005 11:26 |
Eclipse User |
|
|
|
Firstly, sorry for this dumb question.
I'm writing a server-side web service and exposing a method where the client
muxt enter usernamen and password
So i've just done something simple like this:
public void getUserNamePassword(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException
{
String userName = request.getParameter("userName");
String password = request.getParameter("password");
}
I now want to test this to make sure the server-side is getting the values
passed through - is there a way of testing this without going to loads of
trouble of writing a client web service ?
Or is there a better way of getting username / password ?
Thanks for any help
|
|
|
Powered by
FUDForum. Page generated in 0.23415 seconds