Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

[struts 1.x / 2.0] @ include

 
Ranch Hand
Posts: 2107
  • 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?
 
Ranch Hand
Posts: 2908
1
Spring Java 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: 2107
  • 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: 2908
1
Spring Java 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: 2107
  • 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: 2908
1
Spring Java 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..
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic