Click here to Skip to main content
15,903,854 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
I created a jsp page for login and forgot password. but when i click on the forgot password link in the login page , it is not redirecting to the forgotpassword jsp page.I tried a lot ..but i couldnt.Please help me

LOGIN PAGE


Forgot Password





when i click on this forgot password,it is not going to the mentioned path.



Forgotpassword.xhtml



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
>
<h:head xmlns:h="#unknown">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>Timesheet Processing System</title>

<link href="#{request.contextPath}/resources/css/gcpsLogin.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript">//<![CDATA[

/* Define javascript here*/


//
</script>


<body>
<form method="post" action="#{request.contextPath}/j_spring_security_check">













<h:graphicimage value="#{pathManager.path}/resources/images/welcomeimagegcps.jpg" alt="Alternate Text" xmlns:h="#unknown">



Timesheet Application












<h:graphicimage value="#{pathManager.path}/resources/images/gcpslogo.png" xmlns:h="#unknown">



















<!-- Your login attempt was not successful, try again. -->



<h:outputlabel style="font-family: 'Segoe UI Web Light'; color: #4F4F4F;" value="User ID:" xmlns:h="#unknown">

<h:inputtext id="j_username" class="form-login" name="j_username" title="" size="30" maxlength="60" required="true" xmlns:h="#unknown">
requiredMessage="Please enter User Name"/>
<h:message for="j_username" xmlns:h="#unknown">

<h:outputlabel style="font-family: 'Segoe UI Web Light'; color: #4F</xml>" xmlns:h="#unknown">
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900