*
The moose likes Struts and the fly likes one doubt reagrding struts. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "one doubt reagrding struts. " Watch "one doubt reagrding struts. " New topic
Author

one doubt reagrding struts.

Ashish Anil Khadilkar
Greenhorn

Joined: Jul 13, 2006
Posts: 18
I am new to struts technology.I have one doubt.In struts while creating view(.jsp) pages we use custom tags instead of normal html tags. like <html:html> instead of <html>. can anybody please explain me pratically what are the advantages of using cutom tags than normal tags?
thanks in advance.
Christian Nash
Ranch Hand

Joined: Jan 17, 2006
Posts: 107
Hi,

The name custom tags is self explanatory in the sense that people have worked on existing tags like the ones in html and added upon that default functionality. We can always refer to these custom tags if it suits your needs or you will have to build up a custom tag of your own which might take some time. Hence use of custom tags. For example consider the logic tag. this is used to carry out logical operations. Also using these custom tags a lot of Scriptlets can be avoided and make the page look neat and tidy.


- Christian
suresh kalass
Greenhorn

Joined: May 15, 2007
Posts: 3
one of the difference i noticed is you can do without .do extention if you are using cutom tag <html:form> instead of <form> so there can be many more struts related advantages though normal tags also works fine. correct me if i am wrong
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: one doubt reagrding struts.
 
Similar Threads
why cant we use normal html tags instead of struts html when using struts framework?
doesnt display struts tags in normal html form
How to allgin text in JSF application?
Jsf tiles problem
logic:equal