User Comments for the tutorial:

Login Authentication using Bean and Servlet In JSP



dear, i need jsp tutorial i hope you will send me best regard habeeb 

Error while running app
org.apache.jasper.JasperException: /jspbeanlogin/loginbean.jsp(9,57) Attribute value request.getParameter("userName") is quoted with " which must be escaped when used within the value org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultE 

Getting error
i am getting error like description The requested resource (/proj/hello) is not available. if i use this code i kept the loginbean.jsp in my folder proj. i want to know what is that "hello". whether it is a JSP or what.... please reply 

<jsp:forward page="hello"> <jsp:param name="username" value="<%=db.getUserName()%>" /> <jsp:param name="password" value="<%=db.getPassword()%>" /> </jsp:forward> Does "hello" refer to the server Is this a mistake? Thank y 

Login using Bean and Servlet
Sir, with reference to the title "Login authentication using bean and servlet in JSP" in the loginbean.jsp, for the <jsp:forward page="hello">, the reference for page = "hello" is unclear as there is no jsp or page has been mentioned with the name  

loginbean.jsp : forwards to "hello" page?
I think there might be an error in the loginbean.jsp code. <jsp:forward page="hello"> I get a 404 after clicking submit. What should page should it be? 

Content missing in above tutorial
reference to <jsp:forward page="hello"> is not dispalyed 

nice application
I learnt something from this app.. Thank u/ 

LOgin Authentication using Bean and Servlet
Hello, this tutorial is very interesting. Thank you for that. But I would like to know where is the code for forwarded from loginbean.jsp page named as "Hello", and how can we asign id as db to bean? Actually, I am trying to access mysql database 

org.apache.jasper.JasperException: /loginbean.jsp(6,2) According to TLD, tag jsp:setProperty must be empty, but is not org.apache.jasper.compiler.DefaultErrorHandler.jspError( org.apache.jasper.compiler.ErrorDispatcher 

Error while deploying
org.apache.jasper.JasperException: /jspbeanlogin/loginbean.jsp(9,57) Attribute value request.getParameter("userName") is quoted with " which must be escaped when used within the value org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultEr 

cannot run the example on netbeans
HTTP Status 404 - type Status report message description The requested resource () is not available. 

Question about Step:2 To create a "loginbean.jsp"
Where is this servlet or page? "hello" <jsp:forward page="hello"> indicated in Step:2 To create a "loginbean.jsp" to set the parameter of the login. thanks.  

error HTTP Status 404 in hello
<jsp:forward page="hello"> is here hello servlet not there is it correct or i put <jsp:forward page="login"> is it correct? 

Doesn't work
Doesn't work. You have the but not using it. Check your loginbean.jsp file. 

More Help
Can u illustrate more picture about directory structure to place the files & running these files sucessfully.. Thank u.. Many await for ur post; 

this is best tutorial according to me.this help us solving over problems. thanks for organizing this web page. 

i got error
i got error resource is not avilable. here wat is "hello" <jsp:forward page="hello">  

Sounds good but better you have used only one jsp page.i want to know what is purpose of LoginBean.jsp 

hello, I thank you for the article, I tried to apply it but I found a problem in its application because I haven't found how to do the web.xml file 

Hi RoseIndia, Nice program for login Authentication, but am getting an error HTTP-404, The requested resource not found, Please help me to solve its very very urgent. Iam using MS Access Database, Netbeans IDE. This is my code: pac 

Hi I am getting error called : HTTP404- resource not found, please help me to run this appln successfully. What i need to change please help me. I am using MS Access database, Netbeans IDE. Thanks. 

Hi Unable to get the ouput, an error called resource not found, Please help me. 

Hi I am getting an error called resource not available when i key in the username and password, Please help me, y am getting this error. I am using MS Access database. 

Related Tutorial and Articles
JSP Servlet Questions

jsp/servlet login program - JSP-Servlet
jsp/servlet login program  hello sir, well i have a problem with some code(loginbean.jsp),which i actually got from ur site: i am trying to create...; and ("password")%>"/>. what could be wrong,i have coded the servlet.and the loginbean 

JSP Interview Questions

what is JSP forward tag for  what is JSP forward tag for   It forwards the current request to another JSP page. Below is the syntax for the same:- <jsp:forward page="...url..." /> We can also forward parameter 

JSP Servlet Questions

Jsp  Can I implement interface in jsp 

JSP Servlet Questions

JSP  How to run jsp program in eclipse 

JSP Servlet Questions

jsp  how jsp translated into servlets 

JSP Servlet Questions

jsp  how to include two jsp page 

Java Beginners

jsp  how to create jsp page 

HTML Questions

jsp  write a code for jsp file generator to generate a jsp page automatically taking html page as input 

JSP Servlet Questions

jsp  how to create a table in oracle using jsp and the table name is entered in text feild of jsp page 

JSP Servlet Questions

JSP  Hi, What is JSP? What is the use of JSP? Thanks   Hi, JSP Stands for Java Server Pages. It is Java technology for developing web applications. JSP is very easy to learn and it allows the developers to use Java