I hav eproblem with myOwnTag I add MyOwnSimpleTag in Source->jsp2.examples.simpletag, I changed jsp2-example_taglib.tld and like diss <description>Outputs Hello, World</description> <name>helloWorld</name> <tag-class>jsp2.examples.simpletag.HelloWorldSimpleTag</tag-class> <body-content>empty</body-content> </tag> <tag> <description> This is my own tag and I am proud of it</description> <name>myOwnTag</name> <tag-class>jsp2.examples.simpletag.MyOwnSimpleTag</tag-class> <body-content>emty</body-content> </tag> but when I was writting hello.jsp like this <%@ taglib prefix="mytag" uri="/WEB-INF/jsp2/jsp2-example-taglib.tld" %> <html> <head> <title>JSP 2.0 Examples - Hello World SimpleTag Handler</title> </head> <body> <h1>JSP 2.0 Examples - Hello World SimpleTag Handler</h1> <hr> <p>This tag handler simply echos "Hello, World!" It's an example of a very basic SimpleTag handler with no body.</p> <br> <b><u>Result:</u></b> <mytag:helloWorld/> <br> <b><u>Result of invoking myOwmTag</u></b> <mytag:myOwnTag/> but error occured : TLD specific invalid body content for custom tag myOwnTag, what is wrogh with this, because project can run but ignore added tag. Even when I add MyOwnSimpleTag.java.html which wasn't added by own.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---