A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
Login code problem getting some HTTP Status 404 error
Vishal Hegde
Ranch Hand
Joined: Aug 01, 2009
Posts: 973
I like...
posted
Mar 24, 2011 01:04:04
0
Login page redirected to this code
loginBean.jsp
<html> <head> </head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>DataBase Search</title>< <body> <jsp:useBean id="db" scope="request" class="logBean.LoginBean"> <jsp:setProperty name="db" property="userName" value="<%=request.getParameter("userName")%>"/> <jsp:setProperty name="db" property="password" value="<%=request.getParameter("password")%>"/> </jsp:useBean> <jsp:forward page="Hello"> <jsp:param name="username" value="<%=db.getUserName()%>" /> <jsp:param name="password" value="<%=db.getPassword()%>" /> </jsp:forward>
But gettint the below error
HTTP Status 404-/VirtualClassRoom/Hello
type Status report
message /VirtualClassRoom/Hello
description The requested resource (/VirtualClassRoom/Hello) is not available.
http://www.lifesbizzare.blogspot.com
|| OCJP:81%
Madhan Sundararajan Devaki
Ranch Hand
Joined: Mar 18, 2011
Posts: 312
I like...
posted
Apr 05, 2011 07:00:00
0
When are you getting this error?
S.D. MADHAN
Not many get the right opportunity !
Vishal Hegde
Ranch Hand
Joined: Aug 01, 2009
Posts: 973
I like...
posted
Apr 05, 2011 07:11:23
0
Madhan Sundararajan Devaki wrote:
When are you getting this error?
I have an HTML page for a simple login gui when i click on submit it produces this error
I agree. Here's the link:
http://aspose.com/file-tools
subject: Login code problem getting some HTTP Status 404 error
Similar Threads
java.lang.IllegalStateException in Servlet
unable to compile class for jsp
saving sql query to string[]
EJB, JSPs and JDBCs
failing to login with jsp, bean and servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter