锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
]]>
This is the last one of the test series. It also about the regular expressions.
Continue with my JAVA test series.
Record some code sum-up on this week.
1銆?span style="FONT: 7pt 'Times New Roman'">聽
SpitTest --- learned from www.javatx.cn Welcome to this website, I master the J2SE section
J
I think it鈥檚 a very good idea to solve the problem, if I do it, I may use the split twice.
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽By: NingLee聽聽 ninglee@mail.csdn.net
聽聽聽聽聽聽聽 Keyword: directory structure
There are many articles that introduce how to configure the development environment, so I don鈥檛 mention it. But in my own experience, I meet the other question, it鈥檚 the directory construct of the MVC.
M-Model 聽聽In this, it refers to the JavaBeans.
V-View聽聽聽 In this, it refers to JSP files
C-Control聽聽 In this, it refers to Servlet.
In eclipse with the WTP plug-in or myeclipse(recommended) , you can new a web project, and then new a JSP, and new a servlet if you need, but for the Javabean, you should new a class, and in the following windows select a new package, such as myBean to store the JavaBean.
Now the directory structure is like this:
---|WEB-INF |---web.xml
聽聽聽
|聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 |---lib
聽聽聽 |聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽|---classes|---myServlet.class (this is the servlet)
聽聽聽聽|聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽|---myBean聽 ---myBean.class聽 (this is the JavaBean)
聽聽聽 |JSPs
OK, Good Luck
J
聽
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 June 1st, 2006