File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to deploy servlets on weblogic6.1

 
vikastarade
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In an exploded form how can I deploy my servlet.I created the directory structure as....
DefaultWebApp--
Greeting--
trial.jsp
Web-inf--
web.xml
classes--
GreetingServlet.class
src--
GreetingServlet.java
I tried to run it with http://localhost:7001/Greeting/GreetingServlet
But it is giving URL NOT FOUND EXCEPTION.
Please email me reply at vikastarade@yahoo.co.in
Thanks,
vikas
 
Sreenivasa Majji
Ranch Hand
Posts: 224
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need weblogic.xml file here. Read the section 8 in adminguide.pdf
 
Anima Agrawal
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even i am facing the same problem and unable to soleve this..................plz anybody help me out..........
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have u created the URL mapping for servlet in web.xml file.

Originally posted by vikastarade:
In an exploded form how can I deploy my servlet.I created the directory structure as....
DefaultWebApp--
Greeting--
trial.jsp
Web-inf--
web.xml
classes--
GreetingServlet.class
src--
GreetingServlet.java
I tried to run it with http://localhost:7001/Greeting/GreetingServlet
But it is giving URL NOT FOUND EXCEPTION.
Please email me reply at vikastarade@yahoo.co.in
Thanks,
vikas
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
weblogic.xml is not needed in most cases.
it is not a must ....
.
Originally posted by Sreenivasa Majji:
You need weblogic.xml file here. Read the section 8 in adminguide.pdf
 
Seenu Reddy
Ranch Hand
Posts: 108
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi vikastarade,
you gave to give url
http://host ort/<servlet mapping address>.
refer servlet section in quick_start.html in folder bea\wlserver.
it solves your problem.
regards,
seenu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic