aspose file tools*
The moose likes Struts and the fly likes How to add URL in Tile defination? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to add URL in Tile defination?" Watch "How to add URL in Tile defination?" New topic
Author

How to add URL in Tile defination?

ujjval pandya
Greenhorn

Joined: Mar 30, 2008
Posts: 9
Hi
I am using Tiles framework.
I want to give Absolute URL to tile defination.
But it is alwayes taking relatiove path to the cuurent project even thought i have specified the absolute path.
Can you please help me ? its urgent....

i use the following statment.....

<definition name="sitestruts.index.page" extends="main.layout" >
<put name="title" value="Struts" />
<put name="body" type="page" value="..//10.76.177.67:17199/classic_layout/" type="page"/>
</definition>
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Sorry, but all includes in tiles definition have to be from the current web app. The reason for this is that tiles uses the dispatcher's include method, which can only act on resources within the web app.


Merrill
Consultant, Sima Solutions
ujjval pandya
Greenhorn

Joined: Mar 30, 2008
Posts: 9
so do i have to always add all the files in one prj?
i wanna keep seperate the diff portal files in diff projects.....

if i keep them in one prj then redability will be lsot and wont get clear picture.
so if i wanna access otehr prj's file then ?
 
Consider Paul's rocket mass heater.
 
subject: How to add URL in Tile defination?