servlet一般用来控制结构的
里面也一般只包含少量的html代码,至于怎么用?建议你先在这个论坛中搜一下,你会有很多收获的
里面也一般只包含少量的html代码,至于怎么用?建议你先在这个论坛中搜一下,你会有很多收获的
解决方案 »
- Hibernate 什么时候应该用事务Transation?
- request.getParameter具体怎么用呢??
- 求ldap中一些参数或属性介绍
- 百分求助,jsp中是否有。net中的Request.Browser.IsMobileDevice方法
- 连接Access数据库?
- 求救:怎么样把String转换成Object
- websphere7.0 httponly,ssl解决方案
- 哪里有Crystal Enterprise 9正式版下载?
- 如何隐藏StringBuffer?
- 大讨论:参数传递问题(javascript,jsp,html)
- 晕倒。。。mysql4.1的jdbc驱动是不是不支持啊?还是另外有窍门?大虾们请赐教啊。。。
- MySql支持这样的sql吗?
偶的理解是servlet可以省了set()get()一堆方法
控制session也比较方便,不过感觉还是用bean结构清晰一点!
Don't combine the html code into the servlet.It would beat u after 5 minutest caze the mass code crowd together.For example.
When u click the submit button in the html page, where is the destination? how to access to the business logic?It should and must depend entirely on the servlet.
Inside the servlet,we delegate the request to the data access object which operate to the database.Obviously,u can use hibernate,or JDBC+DAO to access database or ldap and any data storage.In the presentaion layer,we can use JSP ,taglib to illustrate all of the data.
1-2年的网页编程经验
语言:JSP,java,html,javascript
请在简历中写明对以上语言的掌握程度以及学历.北京友联创新系统集成有限公司
联系方式:北京82899479-8010王先生
[email protected]
<servlet>
<servlet-name>Hello</servlet-name>
<servlet-class>Hello</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Hello</servlet-name>
<url-pattern>/Servlet/Hello</url-pattern>
</servlet-mapping>
这么一段代码,但还是不行。先不管servlet如何用,现在急需怎么把第一个servlet运行出来