aspose file tools*
The moose likes Struts and the fly likes start a struts application from its root folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "start a struts application from its root folder" Watch "start a struts application from its root folder" New topic
Author

start a struts application from its root folder

Beenu Chandra
Greenhorn

Joined: Jun 07, 2006
Posts: 1
Hi,
Im new to struts and im develpoing an application using struts.
i need to start my application from its root path.
say i hav a root named wms and when i enter the url
hhtp://localhost:8080/wms
i want my home page login.do
to get loaded automatically when the url specified.
can anyone help me to set the path for this application.
im using jboss server,struts1.2 and java5.


Thanks,<br />Beenu Chandra
Manhar Puri
Ranch Hand

Joined: Aug 23, 2005
Posts: 41
Someone correct if I am wrong or if there is a better solution.

What you can do is have an index.jsp. When u give that url the index.jsp should be called. In this index.jsp forward the request to login.do.

Hope it helps.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

Moved to the Struts forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ray Stojonic
Ranch Hand

Joined: Aug 08, 2003
Posts: 326
If this is really what you want, add logon.do to the list of welcome files in web.xml
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: start a struts application from its root folder