浏览 2812 次
锁定老帖子 主题:ralasafe与SSH结合开发(一)
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2011-08-18
Web.xml <!-- ralasafe --> <servlet> <servlet-name>ralasafe/RalasafeService</servlet-name> <servlet-class>org.ralasafe.ui.server.RalasafeServiceImpl</servlet-class> </servlet> <servlet> <servlet-name>ralasafe/DesignerServlet</servlet-name> <servlet-class>org.ralasafe.servlet.DesignerServlet</servlet-class> </servlet> <servlet> <servlet-name>ralasafe/UserTypeMngServlet</servlet-name> <servlet-class>org.ralasafe.servlet.UserTypeMngServlet</servlet-class> </servlet> <servlet> <servlet-name>ralasafe/UserTypeInstallServlet</servlet-name> <servlet-class>org.ralasafe.servlet.UserTypeInstallServlet</servlet-class> </servlet> <servlet> <servlet-name>ralasafe/StartupServlet</servlet-name> <servlet-class>org.ralasafe.servlet.StartupServlet</servlet-class> <init-param> <param-name>repositoryDir</param-name> <param-value>E:/workspace/framework/Web/xml/</param-value> </init-param> <init-param> <param-name>secured</param-name> <param-value>false</param-value> </init-param> <load-on-startup>4</load-on-startup> </servlet> <servlet-mapping> <servlet-name>ralasafe/RalasafeService</servlet-name> <url-pattern>/ralasafe/RalasafeService</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>ralasafe/DesignerServlet</servlet-name> <url-pattern>/ralasafe/designer</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>ralasafe/UserTypeMngServlet</servlet-name> <url-pattern>/ralasafe/userTypeMng</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>ralasafe/UserTypeInstallServlet</servlet-name> <url-pattern>/ralasafe/userTypeInstall</url-pattern> </servlet-mapping> 注意此处XML文件夹路径可以使用相对路径,同时也要避免使用中文路径和空格的出现。 例如: ../webapps/gmis/xml/ 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |