2

I have a simple problem when I come to Struts2. I use tiles plugin in my Struts2 project. As all of us know, tiles are used for making templates. We can give namespace for our package in struts.xml, the configuration file :

<package name="demo" namespace="/menu" extends="default">

and I gave namespace attribute to one of my link

<s:url action="hello" namespace="menu" />

All of these worked out well, still I could see my pages, but this time, when I add the above namespace to package definition in struts.xml and s:url, I lost my tiles definition. I lost my tiles template, styles(css) and settings. But without using this namespace, I can access my pages with tiles.

Please help me, where did i go wrong? Thanks in advance.

Denees
  • 9,100
  • 13
  • 47
  • 76
Deepesh
  • 57
  • 8

1 Answers1

0

I think this Link can help you Struts2 tiles integration. Try to compare your files with that example. We are unable to understand your problem without much details.

Sarin Jacob Sunny
  • 2,138
  • 3
  • 29
  • 61