You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Chen, Gin" <Gi...@NielsenMedia.com> on 2003/10/15 19:57:36 UTC

RE: struts/tiles switch from windows to Linux [I0F0D-----H]

Shhh Larry.. What I do on my private time is my own business.

-----Original Message-----
From: Larry Meadors [mailto:Larry.Meadors@plumcreek.com] 
Sent: Wednesday, October 15, 2003 1:50 PM
To: struts-user@jakarta.apache.org
Subject: RE: struts/tiles switch from windows to Linux


Yep, Tim's right. 

Search your app for "\" characters. Odds are you have some config file
that has one. Change 'em to "/" and it will work in either OS.

Tim's always right. He is one fart smeller, er, umm smart feller.

Larry

>>> Gin.Chen@NielsenMedia.com 10/15/03 11:42 AM >>>
>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:mike.witt@honeywell.com] 
Sent: Wednesday, October 15, 2003 12:46 PM
To: struts-user@jakarta.apache.org
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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org