aspose file tools*
The moose likes Struts and the fly likes [struts 1.x / 2.0]   @ include Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "[struts 1.x / 2.0]   @ include" Watch "[struts 1.x / 2.0]   @ include" New topic
Author

[struts 1.x / 2.0] @ include

Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2061
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

Joined: Feb 19, 2008
Posts: 2902
    
    1

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 ??


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2061
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

Joined: Feb 19, 2008
Posts: 2902
    
    1

Not sure about this .. , But have you try to use simple <html></html> ?
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2061
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

Joined: Feb 19, 2008
Posts: 2902
    
    1

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..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [struts 1.x / 2.0] @ include