JSP question
Hi everybody!!,
I'm making some examples and now I'm working in some ideas to get the practice in order to develope a application.
The thing is: I have a index.jsp with a form like this:
<form name="formulario" action="salto1.do" method="post">
Usuario:
<input type="text" name:"usu"/>
Password:
<input type="password" name:"pass"/>
<input type="submit" value="ACCEDER" name="acceder" />
</form>
So this action will be attend by a servlet called 'Constructor', because in my web.xml I've got something like this:
<servlet-mapping>
<servlet-name>Controlador</servlet-name>
<url-pattern>/controlador</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Controlador</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
And now, in the servlet I want to have access to the user's name and the password that the user introduced in the jsp page but these sentences don't work:
String user = request.getParameter("usu");
String ps = request.getParameter("pass");
My question: how can I do it?
Thanks a lot

