| Author |
jsp tag library
|
Syed Saifuddin
Ranch Hand
Joined: Sep 01, 2003
Posts: 129
|
|
Hi Everybody What is the special use of this tag <jsp:root>. I get the following statement in my new project written in each jsp file. <jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:cms="urn:jsptld:cms-taglib" xmlns:cmsu="urn:jsptld:cms-util-taglib" xmlns:c="urn:jsptld:http://java.sun.com/jsp/jstl/core"> if anybody can help me. Thank You
|
Thank You & Best Regards,
Syed Saifuddin,
Senior Software Engineer
SAP Oracle AIX & Java Training
http://www.socialinet.com
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
|
|
|
jsp:root is used to identify JSP Documents, which means that the file must comply with the XML syntax.
|
[My Blog]
All roads lead to JavaRanch
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
|
|
Note that your root is declaring three taglib namespaces : "cms" is associated to "cms-taglib", "cmsu" is associated to "cms-util-taglib" and "c" is associated to "http://java.sun.com/jsp/jstl/core" So you can use those three libraries' tags in the jsp document.
|
 |
Syed Saifuddin
Ranch Hand
Joined: Sep 01, 2003
Posts: 129
|
|
Thank You I understand a bit but need more clearance I mean when we use <anything: > anything must be a taglib define earlier. But here no jsp as a tag ia define. Thank You Syed Saifuddin
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56202
|
|
|
The jsp actions are pre-defined.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: jsp tag library
|
|
|