File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Start with a Servlet in Weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Start with a Servlet in Weblogic" Watch "Start with a Servlet in Weblogic" New topic

Start with a Servlet in Weblogic

cris abanades

Joined: Aug 30, 2001
Posts: 10
We have an installation of BEA Weblogic and we have developped an application. The problem is that we want to set a servlet as home page, but we couldn�t find the way to do it.
We have already tried to make a .jsp as home page and redirect it to a servlet, but this solution is not valid for us, because the home page could be acceded from HTTP(Web) as well as from WAP (mobile phone), and WAP does not understand .jsp.
Summary: we want the application to be accesible from HTTP and WAP. Our servlet is the one who can know and discriminate when a request is made. That's why we need the servlet to be the first called before other thing. Can anybody help us?
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
You could create a servlet mapping and map it to / in the web.xml web application deployment descriptor. Also you may need to change the Default Web Application in WebLogic.
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
wich version of WebLogic are u using?
I agree. Here's the link:
subject: Start with a Servlet in Weblogic
It's not a secret anymore!