This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
when we directly pass parameters from *.html page to *.jsp page without using SERVLETS and in JSP page we are using beans,,
then should be placed in class attribute of useBean tag??
Enter your name :
<form method="post" action="DirectJsp.jsp">
<input type="text" name="name">
Enter your Id :
<input type="text" name="id">
<input type="submit" type="Enter">
your name is
<jsp:useBean id="DirectNameJsp" type="Name" class="Name" >
<jsp:setProperty name="DirectNameJsp" param="name" property="name" />
your Name is
<jsp:getProperty name="DirectNameJsp" property="name" />
The "class" attribute of the useBean tag remains what it always was - specifying the fully specified java class to use for that bean.
Because your bean is in a package (it is in a package right?) I would expect something like