|
|
FAQ汇萃
>> Tomcat
>> 我的beans 和 servlets 该放在哪里?
由 webmaster 发布于: 2001-01-30 10:43
Where you place the beans and servlets depends on which "application" it belongs to. Assuming that you are running your JSP pages under the default "examples" application, you should place your servlets under the path
/tomcat/examples/WEB-INF/classes
Your beans should be placed under
/tomcat/examples/WEB-INF/jsp/beans
Both these paths are placed within CLASSPATH by Tomcat's startup script file.
|
资料来源: JSP001.com
|