Originally posted by Mike lothar:
Is it legal to embed scriptlets inside Custom tag body, i mean to say setting <body-content> tag in taglib to JSP.
Thank you
Mike
Originally posted by sudhakar:
Hi,
... I am able to see the result of Scripting elements. But it should not happen. We must see scripting code without prcessing. Right!!!
Originally posted by Eshu San:
Hi
Are u sure the attribute default value is true in the <%@ attribute ..%> directive of tag file.If that's so then we are forced to provide runtime expressions for the attribute value.I really doubt this.
Can anyone clarify us...
Originally posted by Eshu San:
Hi
In a SimpleTagSupport class the getJspBody returns JspFragment object.JspFragment is an object that wraps the body of the tag that invoked it and sent to the setJspBody() method during the invocation of the tag.so when getJspBody is called ,JspFragment object which wraps the body of the tag is returned.
In the book HFS it's mentioned that JspFragment must not contain "SCRIPTING ELEMENTS".My doubt is that there is a value called "JSP" for the
body-content element in the tld.As we know JSP means it can have scripting also.Does this mean that "JSP" is not a valid value for the body-content element whose parent element <tag>'s implementation class should not extend SimpleTagSupport coz the concept of JspFragment is applicable only to SimpleTags and not classic tags.
can anyone pls explain me
Originally posted by Joyce Lee:
Could you check if your CLASSPATH pointing to any old servlet.jar file? Also, go to C:\jdk1.XX\jre\lib\ext and remove the servlet.jar to other temporary location.
[ November 18, 2004: Message edited by: Joyce Lee ]