This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Index.jsp not loading on weblogic - works on Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Index.jsp not loading on weblogic - works on Tomcat" Watch "Index.jsp not loading on weblogic - works on Tomcat" New topic

Index.jsp not loading on weblogic - works on Tomcat

Picus Ameradeus

Joined: Sep 22, 2006
Posts: 11
I have a struts app with the homepage set to be index.jsp in the web.xml file.

Do to budget constraints we run an apche/weblogic environment, our host runs solaris/weblogic.

I have no issues on this in our testing environemt, however, when I deploy the war on the beta environment - which runs weblogic - the index.jsp file is not used as the homepage, but rather the system looks for index.html.

In the idex,jsp I have a struts forward that takes a user to the correct Action path, and now I have to use a hacky index.html.

I am not in charge of the weblogic server and I do not have access to the config files. To make matters worse, the webmaster claims there has to be something wrong with my app, but I know there isn't.

Is there a system setting on weblogic or in the solaris web server that would override the web.xml setting and have the app look for index.html?
Carol Enderlin
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
You don't mention which weblogic version or show your configuration, but here's a link to the WebLogic Server 8.1 documentation on welcome files, Configuring Welcome Pages.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Moving to the Weblogic forum.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
It is sorta covered in the JavaRanch Style Guide.
subject: Index.jsp not loading on weblogic - works on Tomcat
Similar Threads
Setting up a servlet filter mapping on welcome file in web.xml
Struts and weblogic 6.1, help please!
EJB 2.1 weblogic 10.3 SFSB concurrent access issue
http url getting converted into https
IDE or No IDE ?