This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
Author

Index.jsp not loading on weblogic - works on Tomcat

Picus Ameradeus
Greenhorn

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
drifter
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
Sheriff

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
 
wood burning stoves
 
subject: Index.jsp not loading on weblogic - works on Tomcat