The moose likes Struts and the fly likes welcome-file-list not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "welcome-file-list not working" Watch "welcome-file-list not working" New topic

welcome-file-list not working

Che Frenz

Joined: Dec 15, 2008
Posts: 14

I'm using Struts 2 on bea weblogic 10. I can't seem to get the welcome-file to work with a .do action. (Note: we've mapped our struts actions to *.do). Welcome-file works if I have index.html specified. Below is a copy of my web.xml. Any thoughts are greatly appreciated!

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_9" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">


<!-- Context Parameters -->



<!-- Filters -->








David Newton

Joined: Sep 29, 2008
Posts: 12617

It usually pays to SearchFirst.

The easiest way is to redirect from an index.jsp or similar, like this

Other solutions include:

I agree. Here's the link: http://aspose.com/file-tools
subject: welcome-file-list not working
Similar Threads
Velocity + Struts2 + Sitemesh + Spring +Hibernate Integration How to configur web.xml?
Spring 3 + Spring Security 3 + Struts2 + Hibernate 3
Struts2 dojo not working on RAD7 WS6.1
web.xml problem in struts2
Not being able to locate TLD file?