sorry for reposting. Could you please let me know where to place a simple servlet in weblogic 5.1(not in version 6.0)
-
where to place a servlet?? (3 messages)
- Posted by: Rahul ..
- Posted on: June 12 2001 17:40 EDT
Threaded Messages (3)
- where to place a servlet?? by Shahid Mohammed on June 12 2001 18:59 EDT
- where to place a servlet?? by Rahul .. on June 12 2001 20:03 EDT
- where to place a servlet?? by venkatesh Yadalam on June 16 2001 04:03 EDT
-
where to place a servlet??[ Go to top ]
- Posted by: Shahid Mohammed
- Posted on: June 12 2001 18:59 EDT
- in response to Rahul ..
hi rahul
Weblogic 5.1 looks for servlet classes under WEBLOGIC_HOME\myserver\servletclasses directory. make sure that the proper directory structure corresponding to your packing (to match your imports) exists under this directory.
you can make the server look for these classes in some other directory of your choice. for that you need to change the weblogic.httpd.servlet.classpath property to point to your whichever your new location is, in the weblogic.properties file. you can find this file under WEBLOGIC_HOME directory.
Good luck
shahid -
where to place a servlet??[ Go to top ]
- Posted by: Rahul ..
- Posted on: June 12 2001 20:03 EDT
- in response to Shahid Mohammed
Thank you!!! -
where to place a servlet??[ Go to top ]
- Posted by: venkatesh Yadalam
- Posted on: June 16 2001 04:03 EDT
- in response to Rahul ..
Hi
Search for the entry weblogic.httpd.register.survey=examples.servlets.SurveyServlet in the weblogic properties file .In the above line survey is the alais name and examples.servlets.SurveyServlet is the class name.Just enter ur entry for the servlet below this line.For example weblogic.httpd.register.venkat=Venkat
here venkat is the alais name of the servlet and Venkat is the class file name.
i think this should solve ur rpoblem
venkat