JRun4.0下如何创建 web application 和 相应的 Servlet Definitions!各路大侠请进 -- 急!

时间:2022-02-05 18:33:58
jrun3.1下可以直接在 default server 下创建相应的 web application ,然后再添加需要的Servlet Definitions!
但是,4.0版本的好像搞的很复杂化了,不知如何相应的web应用,并设置servlet definition,谢谢各位多多赐教!

PS:up者有分,分不够可以再加!请支持一下,谢谢啦!

10 个解决方案

#1


UP一下,有人愿意指教或者UP吗?拜托!!!

#2


4.0里也是直接在default server下直接创建相应的web application ,然后添加Servlet Definitions。
具体步骤,点击JRun default server下的web application,在右面出现的页面上点击第二项create an application,然后输入你的应用程序名,URl即可,我没用过3.1,不知道4.1的是不是与它相同的,不过是可以在default server下创建相应的web应用的。

#3


哥们留个实时通讯工具可以不?
MSN:chinawdn@hotmail.com
QQ:12954094

非常感谢!

#4


系统环境:Linux
安装版本:Unix_us 4.0

好像4.0
add Enterprise Applications需要提供ear压缩文件支持
add Web Applications 也需要提供war压缩文件支持
... ...
按照自带的压缩文件包可以把相应文件可以写出来,如何直接打包?可以直接使用不?试了一下好像不行!各位大侠救命啦!thx

#5


不好意思,我是装在win2000系统上的,所以linnux上的我就不知道怎么做了。2000上的操作确实很方便,不需要提供压缩文件支持啊。所以对你提的问题我也不知道,sorry!

#6


继续UP,各位救命啦!
PS:谢谢slindley() ,可否留个交流地址,请多多指教!

#7


msn:dm_song@hotmail.com
ps:其实,我也是刚学,大家一起交流吧,我一般是白天上班的时候开msn。

#8


看了{jrun_root}/docs/dochome.html 有点眉目了!^_^

1。create virtual path and define automatic servlet 

{jrun_root}/servers/{server name}/default_ear/default_wawr/jrun-web.xml  
{jrun_root}/servers/{server name}/default_ear/default_wawr/WEB-INT/web.xml 

Contains web application elements that are specific to the JRun application server. This deployment descriptor lets you set a context-root for the web application, enable and disable automatic servlet compilation and reloading, set virtual paths, 

configure servlet session persistence and cookies, and set values for JNDI names. 

2。set the JSPServlet's keepGenerated initialization parameter to true 
{jrun_root}/servers/{server name}/SERVER-INF/default-web.xml 

Has the same structure as the standard web.xml file, but it applies settings to all the web applications in a JRun server. 

Contains default values for each web application web.xml file. This file includes definitions and mappings for global servlets, used internally by JRun.

#9


sorry,写错了!
{jrun_root}/servers/{server name}/default_ear/default_war/jrun-web.xml  
{jrun_root}/servers/{server name}/default_ear/default_war/WEB-INT/web.xml 

欢迎大家继续讨论指教!

#10


问题基本解决了,明天结贴散分啦^_^
BTW:对Web 开发感兴趣的朋友最好留个联系方法,以后多多指教!啦啦啦

#1


UP一下,有人愿意指教或者UP吗?拜托!!!

#2


4.0里也是直接在default server下直接创建相应的web application ,然后添加Servlet Definitions。
具体步骤,点击JRun default server下的web application,在右面出现的页面上点击第二项create an application,然后输入你的应用程序名,URl即可,我没用过3.1,不知道4.1的是不是与它相同的,不过是可以在default server下创建相应的web应用的。

#3


哥们留个实时通讯工具可以不?
MSN:chinawdn@hotmail.com
QQ:12954094

非常感谢!

#4


系统环境:Linux
安装版本:Unix_us 4.0

好像4.0
add Enterprise Applications需要提供ear压缩文件支持
add Web Applications 也需要提供war压缩文件支持
... ...
按照自带的压缩文件包可以把相应文件可以写出来,如何直接打包?可以直接使用不?试了一下好像不行!各位大侠救命啦!thx

#5


不好意思,我是装在win2000系统上的,所以linnux上的我就不知道怎么做了。2000上的操作确实很方便,不需要提供压缩文件支持啊。所以对你提的问题我也不知道,sorry!

#6


继续UP,各位救命啦!
PS:谢谢slindley() ,可否留个交流地址,请多多指教!

#7


msn:dm_song@hotmail.com
ps:其实,我也是刚学,大家一起交流吧,我一般是白天上班的时候开msn。

#8


看了{jrun_root}/docs/dochome.html 有点眉目了!^_^

1。create virtual path and define automatic servlet 

{jrun_root}/servers/{server name}/default_ear/default_wawr/jrun-web.xml  
{jrun_root}/servers/{server name}/default_ear/default_wawr/WEB-INT/web.xml 

Contains web application elements that are specific to the JRun application server. This deployment descriptor lets you set a context-root for the web application, enable and disable automatic servlet compilation and reloading, set virtual paths, 

configure servlet session persistence and cookies, and set values for JNDI names. 

2。set the JSPServlet's keepGenerated initialization parameter to true 
{jrun_root}/servers/{server name}/SERVER-INF/default-web.xml 

Has the same structure as the standard web.xml file, but it applies settings to all the web applications in a JRun server. 

Contains default values for each web application web.xml file. This file includes definitions and mappings for global servlets, used internally by JRun.

#9


sorry,写错了!
{jrun_root}/servers/{server name}/default_ear/default_war/jrun-web.xml  
{jrun_root}/servers/{server name}/default_ear/default_war/WEB-INT/web.xml 

欢迎大家继续讨论指教!

#10


问题基本解决了,明天结贴散分啦^_^
BTW:对Web 开发感兴趣的朋友最好留个联系方法,以后多多指教!啦啦啦