- This topic has 1 reply, 2 voices, and was last updated 20 years, 1 month ago by Riyad Kalla.
-
AuthorPosts
-
robinsinghMemberENVIRONMENT DETAILS:
I have configured myEclipse with Weblogic application server 8.1 SP3
on windows XP professional(SP2) using Java[TM] 2 Platform, Enterprise Edition 1.3 SDK using
Eclipse Platform
Version: 3.0.0
Build id: 200406251208
jdk version(build 1.4.2_05-b04)SYNC ON DEMAND ISSUE
1)
I have made a webproject which has a simple HelloWorld Servlet.
I deploy the servlet using the myEclipse deploy utility.
Whenever i make some slight changes in the servlet and save it,
I expect the changes to appear on the web page when i refresh it in
myEclipse internal browser. but its now working.
I have tried redeploying the exploded webapplication directory .It doesnt show the changes .I dont know why , Kindly help.URL Patterns Issue
2)when i added a new servlet file using the myEclipse new -> servlet
menu, i have the servlet mapping URL to be /servlet/SimpleServlet
(my servlet name is SimpleServlet.java)
so the corresponding the web.xml has the
listing<servlet-mapping> <servlet-name>SimpleServlet</servlet-name> <url-pattern>/servlet/SimpleServlet</url-pattern> </servlet-mapping>
I can access the servlet in the browse using
http://localhost:7001/<WebApplicationContextRoot>/servlet/SimpleServlet?INPUT_STRING=HELLOWORLD
now i wanna to be able to access it using another url ..say
simply /SimpleServlet
so i add another servlet mapping into web.xml<servlet-mapping> <servlet-name>SimpleServlet</servlet-name> <url-pattern>/SimpleServlet</url-pattern> </servlet-mapping>
but that doesnt let me show the same page in the web browser.
with the corresponding expected url i.ehttp://localhost:7001/<WebApplicationContextRoot>/SimpleServlet?INPUT_STRING=HELLOWORLD
please help me with this as well.
Riyad KallaMember1) You need to make sure you have your app server configured to reload the new class files, please see the app server’s docs to find how to do this.
2) No idea why this is happening.
-
AuthorPosts