This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence 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:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

[OCWCD] Standard-tags <jsp:root>  RSS feed

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I have a little problem with this tag, because I can't declare it in my JSP file.


I wanna know, which file is the config file of stardart-tags.
I think that should be a ".TLD" file, like others tags, but I can not find it too...


But, if this file not exists. I wanna know because my JSP not accepts the <jsp:root> tag...


Thnks
Paulo Gervásio.
 
Creator of Enthuware JWS+ V6
Bartender
Posts: 3117
259
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paulo,

The jsp:root element can only appear at the root of the file:

JSP.6.3.2 The jsp:root Element
he jsp:root element can only appear as the root element in a JSP document or
in a tag file in XMLsyntax; otherwise a translation error shall occur.




How did you try to use it?

Regards,
Frits
 
Paulo Gervásio.
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Frits,

In truth I am trying do a XML document class a taglib... For example:


And I got it! Take a look:



Thanks, you really helped me!



 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!