Mapping a default document to an action

Paul Barry <[email protected]>
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <9816542.1145412533480.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
I would like the default document for my site, http://www.foo.com, to go to one of my actions, say, user.do, for example.  With other MVC frameworks, I have done this by creating an index.jsp file in the root of my war with this:

<jsp:forward page="/user.do"/>

And that works fine.  But that doesn't seem to be working.  When I go to http://www.foo.com, I get:

404 Not Found
/user.do was not found on this server.

But if I go to http://www.foo.com/user.do, that works fine.  So how do I map the default document to an action?
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=26462&messageID=52080#52080

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.