aspose file tools*
The moose likes Struts and the fly likes default welcome file 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 "default welcome file" Watch "default welcome file" New topic
Author

default welcome file

Shivaprasad P Kanaganahallimath
Ranch Hand

Joined: Sep 25, 2006
Posts: 48
Hi all,

I have two struts applications running in JBoss AS 5.1 and I have provided virtual host for these applications.Two applications are running under one virtual host IP. So when I try to enter the IP (virtual host) the welcome file is not loading. server says file not found. As there is same welcome file in both of these applications.

So I want to make one of the welcome file from one application to load as soon as I request for that IP.
Both of the applications have their own context path (not /).


thanks and regards
Shivaprasad P.K.


Shiva Prasad P.K.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

1. What is JBoss's ROOT application's welcome file, try to give a redirect link from that default web app to welcome file to your one of the struts app.

2. OR, find out How JBoss configure the virtual host setting with the domain/ip in conjunction with the context/struts web app

3. This is real JBoss config problem, I suppose , So asking it in JBoss section will yield more results

HTH


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Shivaprasad P Kanaganahallimath
Ranch Hand

Joined: Sep 25, 2006
Posts: 48
Hi Sagar,

thanks for the reply, I have put up a site in root.war so I can not use it I belive.
please move this to jboss section....[I was lil bit confused whether to put in jboss or struts]



Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Shivaprasad P Kanaganahallimath wrote:thanks for the reply, I have put up a site in root.war so I can not use it I belive.

I don't know whether ROOT.war file is the default "\" context in JBoss. Consult JBoss community oR Google
Shivaprasad P Kanaganahallimath wrote:please move this to jboss section....[I was lil bit confused whether to put in jboss or struts]

Unfortunately, I can't move this thread to JBoss section, it needs Moderator and above privilege. PM any moderator you know here, he will do that for us. And your problem is not with struts working, its about server configuration.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: default welcome file