2007年4月28日星期六

Project Progress III



[CCT - decide the topic (15%)]
Servlet Designing

In this time, I read the book about the jsp and the servlet. And find that the URL of servlet service can rewrite in 3 diffierent way:

1.service_local/dir_name/servlet_name?action=login
2.service_local/dir_name/servlet_name/login
3.service_local/dir_name/servlet_name/login.[*]

* : the name that you like. For example, login.do, login.action. But Do not use the name like asp, xml. I think that will crash the name with this type of file.

The other, I am not clearly know the session between jsp and servlet yet.
The funciton between setAttribute and getAttribute.

沒有留言: