The leading / tells the app that this file is in the root app, and apparently it is not.

At 07:11 PM 7/16/03 +0530, you wrote:
Hi,

This may be slightly out of topic..but I need some suggestions in this regard. Probably someone has encountered this problem before.

In my struts application's web.xml, I've defined welcome page as follows:

<welcome-file-list>
    <welcome-file>/jsp/Login.jsp</welcome-file>
</welcome-file-list>

When I deploy it on JBoss Windows environment, it's working fine.

When I deploy it on JBoss Linux environment, it's showing a msg:
WARNING: invalid welcome file: /jsp/Login.jsp

And in the browser, when I try to view
http://<servername>:8080/appName
(where appName is the name of .ear file I've deployed),
It's displaying /jsp/Login.jsp, but none of the style sheets and images are obtained.


When I type the entire path in the browser (as below)
http://<servername>:8080/appName/jsp/Login.jsp, then everything is perfect.

Any clue why this is happening?

Sriram



LEGAL NOTICE


This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. This information is intended only for the use of the individual or entity to whom this electronic mail transmission was sent as indicated above. If you are not the intended recipient, any disclosure, copying, distribution, or action taken in reliance on the contents of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please delete the message. Thank you



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to