hello,
I am trained to take a course in French on javaEE, everything is not explained, here is my problem:
1 / I set up a simplified access solution to my website, I start the home page index.jsp (in WebContent) which has a link to an identification
jsp:
identification.jsp that is on the ( WebContent / WEB-INF) so far no error!
2 / my page of identification (I do not describe the design) with two textbox: login and password, I developed a javabean with a
servlet.
3 / for the authentication I put in the bean (as I have not had the courses yet on the database, I would see its later) the password is: login + "123" (
string).
4 / If I can not authenticate I remain on the page indentification.jsp with a
word "error autentification", then I start again authenticated
(the case here is easy, login + "123"), but not Of luck it shows me aNothing happens after the "submit" or error 500
5 / if I enter the correct password (login + "123") I have a link to another page jsp >> intranet.jsp but also I have aNothing happens after the "submit" or error 500.
What should you think or do to reach the intranet.jsp page.
Here are my different components:
1/ identificaton.jsp
here the
java bean :
here the servlet
I can not
set conditions like "if" in my servlet! I do not understand
So I have a hard time understanding the scope of <action> in "<form> =" post "action =" identification ">" what I can set as parameters in "action"
Regards
Philippe