Maybe it neds .js files relative? I assume you are deploying a war file. .V
Chen, Gin wrote:
From the initial look of it.. It is not having a problem with finding /tiles/CoolMenu.jsp but rather having a problem with code within CoolMenu.jsp page. (Not that the exception is ServletException in /tiles/CoolMenu.jsp not within the page that included it). -Tim
-----Original Message-----
From: Witt, Mike (OH35) [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 15, 2003 12:46 PM
To: [EMAIL PROTECTED]
Subject: struts/tiles switch from windows to Linux
I have a webapp I've developed in windows. The production environment is Linux. On windows, I am using Tomcat 4.1.24. In Linux, it is Tomcat 4.1.27 (standalone). Here is the problem: I have a tiles tag that says:
<tiles:put name="menu" value = "/tiles/CoolMenu.jsp" />
This worked fine in my windows version, but on Linux I get:
[ServletException in:/tiles/CoolMenu.jsp] The menu repository could not be found. I should mention that the "tiles" directory is at the upper level of my web app's root.
Anybody have any idea why this would be seen differently in Linux vs. Windows? Am I inadvertantly addressing the file path wrong? I tried a relative path "tile/CoolMenu.jsp" and that didn't work in Windows (though I didn't get an error message, it just didn't show up) and I tried using the root name: "/rootname/tiles/CoolMenu.jsp" and that didn't work at all.
Thanks, Mike Witt
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

