Web开发9:JavaBean
?
具体实例:
写一个JAVABEAN:Person
??????http://localhost:8080/servletTest/javabean.jsp?helloworld=aaaa在地址栏中输入这个URL,在JSP中就能将helloworld参数的值取出,对应后台的源码实现是能过request.getParameter("helloworld");实现。??
??
??http://localhost:8080/servletTest/javabean.jsp?helloworld=aaaa在地址栏中输入这个URL,在JSP中就能将helloworld参数的值取出,对应后台的源码实现是能过request.getParameter("helloworld");实现。??
??http://localhost:8080/servletTest/javabean.jsp?helloworld=aaaa
在地址栏中输入这个URL,在JSP中就能将helloworld参数的值取出,对应后台的源码实现是能过
request.getParameter("helloworld");实现。