• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[struts 1.x / 2.0] @ include

 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The @ include worked fine in my app that uses struts 2.



My environment is: IBM RAD, jboss 4.2.1

Is there anything to this? like I cant use 'include' in struts 1.x?
 
Sagar Rohankar
Ranch Hand
Posts: 2906
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What ll happen if you put "</html:html>" in the same file , rather putting it into include file ? Have you tried it out ?? Whts it saying ??
 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sagar Rohankar:
What ll happen if you put "</html:html>" in the same file , rather putting it into include file ? Have you tried it out ?? Whts it saying ??


It works okay if it is in the same file.

I need to put it in separate file as all pages use it ( around 20 pages).
 
Sagar Rohankar
Ranch Hand
Posts: 2906
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure about this .. , But have you try to use simple <html></html> ?
 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sagar Rohankar:
Not sure about this .. , But have you try to use simple <html></html> ?


Simple html worked. Thanks.

So, do we take it that doing it html:html is not required by struts 1?
 
Sagar Rohankar
Ranch Hand
Posts: 2906
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, do we take it that doing it html:html is not required by struts 1?


sorry sir, i have no knowledge about it, Actually never used it , i stick to my old <html> </html> in my JSP pages.

The only information struts apache project provided for this tag is this

Hope this Help..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic