Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 7th, 2005, 06:24 AM
Registered User
 
Join Date: May 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to run servlets in weblogic 7

Hi,
I had installed weblogic7 and I am able to run JSP files. But in the case of servlets it says file not found. I had created a folder in DefaultWebapp and the files inside that one are to similar to Tomcat.

Help me to solve the problem.

Vijayakumar.J.
 
Old July 22nd, 2005, 02:02 AM
Registered User
 
Join Date: Jun 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Vijay
  If u not made servletname entry in welcome-list in web.xml,then u have to access the servlet like Myservlet at http://localhost:8080/warfilename/Myservlet without extension.
If u want to access as a welcome file,place the following code in web.xml
<welcome-file-list>
    <welcome-file>
            Myservlet
        </welcome-file>
  </welcome-file-list>
It will work





Similar Threads
Thread Thread Starter Forum Replies Last Post
weblogic vivekkumar_23 Apache Tomcat 0 November 8th, 2008 04:58 AM
deployment descriptor for weblogic g_basak EJB 3 June 25th, 2008 05:46 AM
Problem with weblogic 7.0 sanna231 J2EE 2 July 14th, 2007 10:29 AM
Weblogic ahamad Pro Java 0 August 26th, 2006 02:38 AM
WEBLOGIC 7.0 sangam J2EE 0 October 7th, 2004 06:11 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.