aspose file tools*
The moose likes Servlets and the fly likes servlets in weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlets in weblogic" Watch "servlets in weblogic" New topic
Author

servlets in weblogic

sathish jayaraman
Greenhorn

Joined: Mar 22, 2001
Posts: 2
Hi,
I have installed weblogic in my system.What should I do now in order to register a servlet?I have written s JSP and placed in the public_html folder and it is working fine.But if i do the same for the servlet by placing the class file in the public_html directory.I am getting Internal server error 500.How should I go abt it?
sathish
lokesh reddy
Ranch Hand

Joined: Sep 15, 2000
Posts: 66
Hi Satish,
First of all u havent informed what version of weblogic r u using.
If u r using ver 5.x then you have to place your servlet under weblogic\myserver directory and open weblogic.properties file in weblogic directory and register your servlet there. You can see some examples in that file how to register. You cant execute your servlet without registering it in properties file.
If u r using ver 6.x then you have to open web.xml which is located under bea\wlserver6.0\config\mydomain\applications\WEB-INF and you map ur servlet in the xml file. Here also you can find some examples showing how to map your servlet.
After registering the servlet, invoke your browser and type the following url http://localhost:7001/<Servlet Registered Name> and you can execute ur servlet
I hope u find this info useful.
Bye.
Loke.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlets in weblogic
 
Similar Threads
How do I set weblogic.properties for jsp and servlets?
Servlet Deployment!!!URGENT!!!!!
Precompiling JSPs using weblogic.jspc (webloigc V 5.1)
document root for JSP
Correct jsp config in Weblogic properties file