Quick question. In Tomcat you can have a setter method (as defined in the .tld) that is private. However, in JRun
you get an error message that says the method does not exist.
Jrun is obvioulsy validating the taglib to the actual class.
The question is this, should tag mutators be public by requirement or not? Which is the properly specified behavior? Anyone?
This creates portability issues. I'd also be interested to see if anyone else has run into this on other app-servers.
Thanks,
-Newt
-
Public/Private setter method in Tag (1 messages)
- Posted by: Jason McKerr
- Posted on: September 27 2001 18:20 EDT
Threaded Messages (1)
- Public/Private setter method in Tag by Saruman White on September 28 2001 00:17 EDT
-
Public/Private setter method in Tag[ Go to top ]
- Posted by: Saruman White
- Posted on: September 28 2001 00:17 EDT
- in response to Jason McKerr
According to JSP specification setter methods are supposed to be found by container through reflection API - and they follow JavaBean specification in this respect. So public access is apparently a requirement.