Win a copy of Svelte and Sapper in Action this week in the JavaScript 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

one doubt reagrding struts.

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
You ought to ventilate your mind and let the cobwebs out of it. Use this cup to catch the tiny ads:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic