Topic: Question about WebLogic Server 8.1

  Print this page

1.Question about WebLogic Server 8.1 Copy to clipboard
Posted by: ppp5
Posted on: 2003-09-05 11:12

Hi!
I just new to Weblogic server. I am learning J2EE. I have a question.

If I develop a simple servlet, say HelloServlet. In the web.xml I map the HelloServlet to the URL-Pattern: /Hello.

Do I need restart the weblogic server to run the servlet, or I don't need to restart the server? Only after I restart the weblogic server, I can run the servlet.

There is any file like Tomcat's server.xml. I can setup the context reloadable="true". So that I don't need to restart the server everytime when I create a new Servlet class.

Thanks.

2.Re:Question about WebLogic Server 8.1 [Re: ppp5] Copy to clipboard
Posted by: jerryking
Posted on: 2003-09-10 01:39

No, you don't need to restart weblogic server to run your serverlet. Package your serverlet and related files into a war file and deploy it using the admin console.

3.Re:Question about WebLogic Server 8.1 [Re: ppp5] Copy to clipboard
Posted by: ppp5
Posted on: 2003-09-15 02:41

Hi!
Thanks for your reply. I think maybe I didn't write clear.

My question is: I am in development stage. Everytime when I create a new servlets class, I also setup the servlet mapping in the web.xml. Now, I want to execute that servlet file. It doesn't show up. After I restart the weblogic server, I can execute the servlet file. It does not auto reload the servlet class.
I am not sure I am wrong or not. Or I have a wrong setting for the weblogic server.

Thanks.


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923