Are you adjusting the relative URL value in your include statement based on the folder depth of the containing page or are you just copying & pasting the same include statement in every single page?
-Chase On Sun, Jul 20, 2008 at 1:20 AM, aum strut <[EMAIL PROTECTED]> wrote: > Hi Chase, > > Is there any relation with the depth because when i put index.jsp page and > HElloWorld.jsp page in the same folder, it starts to include the other jsp > page which i unable to include when the pages were in different folders. > > any suggestion in this regards will be much helpful. > yes all the pages have same tag lib directive > > -Aum > > > On 7/19/08, Chase <[EMAIL PROTECTED]> wrote: >> >> Why does your tag have a body? <s:include value="IncludedMenu/menu.jsp"/> >> >> Do the other pages contain the same taglib directives? If you view the >> source in your web browser and see the tag code that means you are >> missing a taglib directive. >> >> Your include is using a relative page, are all the pages at the same depth? >> >> -Chase >> >> On Sat, Jul 19, 2008 at 4:22 AM, aum strut <[EMAIL PROTECTED]> wrote: >> > Hi all, >> > >> > i am trying to include a jsp page using struts2 <s:include tag> but >> > itdosen't seems to be working in my way. >> > i have a menu.jsp page where i have written a code for the menu for my >> > application. >> > i have included this menu.jsp page in my index.jsp page were it is >> working >> > fine.When i click on any menu option it redirect me to another page using >> > the action.i tried to use the same <s:include> tage in other pages but it >> is >> > not working where as it is working fine in the index.jsp page. where as >> if i >> > include the code in the other pages instead of including the jap page the >> > menuy starts appearing fine. >> > >> > >> > <s:include value="IncludedMenu/menu.jsp"></s:include> >> > >> > i have included the menu.jsp page in index page using this tag and >> working >> > fine here but when tried to use the same tage in others pageses i >> failed.Can >> > any one suggest me where i am doing wrong.?? >> > >> > Thanks in advance >> > >> > -aum >> > >> >> --------------------------------------------------------------------- >> 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]