不对.
<INPUT TYPE=TEXT NAME="pName" SIZE=20>
public void setPName(String value)
{
     pName=value;
}
          public String getPName()
          {
              return pName;
          }

解决方案 »

  1.   

    javabean正确
    <jsp:setProperty name="pBean" property="*"/>//这里有点问题property="*"按号入座的,象楼上那样改
      

  2.   

    htm也可以不该jsp这样
    <jsp:setProperty name="pBean" property="pName" param="p" />
      

  3.   

    就一个属性,可以不用<jsp:setProperty name="pBean" property="*"/>,像楼上那样挺好的,
    <jsp:useBean id="pBean" class="pBean.PropertyName" scope="session"/>
    pBean.setPName(request.getParameter("p");