Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » HttpServletRequest
HttpServletRequest [message #98714] Wed, 04 May 2005 11:26
Eclipse UserFriend
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
Previous Topic:tomcat 5.5 - debug start
Next Topic:WTP M4 is it working ?
Goto Forum:
  


Current Time: Sun Jul 06 15:58:20 EDT 2025

Powered by FUDForum. Page generated in 0.23415 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top