This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Building Blockchain Apps and have Michael Yuan on-line!
See this thread for details.
Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

jsp page give null value

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i m new comer jsp,so i m doing programme on jsp it run successfully but it give me null value
please help me find out solution
 
tulshiram kamble
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is my jsp page

<%=request.getParameter("holder_id") %>
<!--<jsp:useBean id="valid" class="com.seedinfo.POJO.beans.LoginBean"></jsp:useBean>
<jsp:setProperty name="valid" property="holder_id" value='<%= request.getParameter("holder_id")%>' />
<font face="verdana" size="2">Welcome,</font><%= valid.getHolder_id()%>

--><br>
 
tulshiram kamble
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is my bean file



public class LoginBean
{
private String holder_id;
private String holder_password;

public String getHolder_id() {
return holder_id;
}
public void setHolder_id(String holder_id) {
this.holder_id = holder_id;
}
public String getHolder_password() {
return holder_password;
}
public void setHolder_password(String holder_password) {
this.holder_password = holder_password;
}

}
 
tulshiram kamble
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is my html page

<form action="http://localhost:8080/book_Store/LoginControl.do" method="get">
<h2 align="center"><font face="verdana" color="skyblue"><u>Universal Book Store</u></font></h2>
<hr>
<table>
<tr>
<td>
<table>
<tr>
<td><a ></a>
<td width="38" class="img-cutter"><img src="C:\Users\babiya\Downloads\book1.jpg"></td>
<td>
<table>
<tr>
<td><font face="verdana" color="skyblue"><h3>Member Login</h3></font><br>
<h4><b>UserID:</b></h4><input type="text" size="15" Name="holder_id"><br>
<h4><b>Password:</b></h4><input type="password" size="15" Name="holder_password"><br><br>
<input type="submit" value="Submit" >
</td>

</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
 
There are 10 kinds of people in this world. Those that understand binary get this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!