<form id="login" action="Login.do" method="post" >
<h1 id="ff-proof" class="ribbon">Rao & Siddhi </h1>
<div class="apple">
<div class="top"><span></span></div>
<div class="butt"><span></span></div>
<div class="bite"></div>
</div>
<fieldset id="inputs">
<input id="username" type="text" onblur="if(this.value=='')this.value='User ID';" onfocus="if(this.value=='User ID')this.value='';" value="User ID" />
<input id="password" type="password" onblur="if(this.value=='')this.value='Password';" onfocus="if(this.value=='Password')this.value='';" value="Password" />
</fieldset>
<fieldset id="actions">
<input type="submit" id="submit" value="Login Here"/>
<p class="option"><a href="#">Forget Password</a> |<a href="#">Registration</a></p>
</fieldset>
</form>
<action-mappings>
<action input="/JSP/Login.jsp" name="LoginBean" path="/Login" scope="request" type="com.action.LoginAction">
<forward name="success" path="/JSP/success.jsp"/>
<forward name="success" path="/JSP/Error.jsp"/>
</action>
but it's not working how can this set values in setter getter method
how to call action pojo class,what should i pass in form action tag to call action class,anybody help me plz
Keep your form tag like this:
And your action mappings: