The access is different in each way:for the first: The direct option: (without tiles) http://localhost:8080/myapplication/tiles/createDummy.jsp
The second( using tiles): http://localhost:8080/myapplication/createDummy.jsp<http://localhost:8080/myapplication/tiles/createDummy.jsp> There are two files names createDummy.jsp: 1. The content. 2. The tiles references. These files are described in the first message. Thanks again On Wed, Jun 3, 2009 at 8:11 PM, itay sahar <[email protected]> wrote: > thanks Greg I also think it related to this but let see, well the css > and/or javascript files are both in the directories: > TOMCAT_HOME\webapps\myapplication\css > TOMCAT_HOME\webapps\myapplication\js > In both cases. (please see that i refer to this files different way in > those cases.) > > And again the first works good while the other is not as good as the first. > (The files are recognize in both ways- cause i see results... but the > result is differnet > --some images alignment etc). > can figure out what i'm doing wrong. Or just Tiles make a mess in using > advance css/javascript functionality. > > > On Wed, Jun 3, 2009 at 7:51 PM, Greg Reddin <[email protected]> wrote: > >> Could it be an issue with your Javascript and CSS URLs? If you're >> hitting both of those methods with the URL >> >> http://localhost:8080/myapplication/tiles/createDummy.jsp >> >> then I don't see how it could work the way you coded it in the example >> you showed. >> >> In your first method you have this: >> >> > <script language="javascript" type="text/javascript" >> > src="mypage.js"></script> >> > <link rel="stylesheet" type="text/css" media="all" href="mypage.css" /> >> >> In your 2nd method you have this: >> >> > <script language="javascript" type="text/javascript" >> > src="js/mypage.js"></script> >> > >> > <link rel="stylesheet" type="text/css" media="all" href="css/mypage.css" >> /> >> >> Unless you moved the Javascript and CSS into js/ and css/ directories >> then the 2nd method would most definitely not work. If those files >> were already in those directories, then the first method would not >> work. >> >> Greg >> > >
