content « Tag « JSP-Servlet Q&A





1. JSP tags: manipulating body content *before* it is evaluated    stackoverflow.com

I couldn't figure how I can manipulate the body content before its first evaluation. Someone knows how to? [I did succeed manipulating it after the first evaluation, using the BodyTagSupport class ...

2. Getting the contents of an option tag    coderanch.com

Here is what I was trying to do (hopefully it is not too confusing). I am creating a list of contacts from a DB. The value of the tag is the contactID (primary key from the DB) and content of the tag in the actual name of the client. Previously, I had their actual name in both the value and contents ...

4. problem with body content of jsp tag    coderanch.com

7. A doubt about tag without body content    coderanch.com

Hi all, I learned from "HeadFirst servlets and JSP" that if the tag is declared as it doesn't allow body content then it's legal to just put just open tag and end tag (nothing in between) (from chapter 9) I tried a simple program to understand that but it doesn't work as I expected rather it throws a expection Here's the ...

8. Programming HTML content inside Custom Tag Handler    coderanch.com

Hi All, I started exploring using custom tags and I am trying to experiment on some of its uses. I declared my tld as this. My goal is that using my tag, I could display any collection class as HTML List Item Display List Data as HTML List Item displayAsList com.test.UIDisplay scriptless listData true true And use ...

9. Custom Tag with Body (addition of body content)    coderanch.com

I was trying the example in the sun site 'http://java.sun.com/developer/technicalArticles/xml/WebAppDev3/' I have some problem trying to understand the last example 'Sample 13: LoopTag.java' which prints the tag's body to the times given in the tag's attribute 'times'. The example seems to work fine, but I am not able to understand the flow of it public class LoopTag extends BodyTagSupport { int ...