If you don't have a SecurityClassLoader active, you can call a private
method using reflection. Below is a method I used for obtaining a private
property value. You have to change Field objet for Method object, set
Accesible value to true and call method.
protected Object getFieldValue(Object instance, String fieldName)
throws SecurityException, NoSuchFieldException,
IllegalArgumentException, IllegalAccessException {
Field f = instance.getClass().getDeclaredField(fieldName);
boolean accesible = f.isAccessible();
f.setAccessible(true);
Object value = f.get(instance);
f.setAccessible(accesible);
return value;
}
Ricardo.
On 2/12/07, SourceForge.net <[EMAIL PROTECTED]> wrote:
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4152466
By: pintiyas
Hi:
Anybody knows a way to access to the jsp PageContext from a TableModel
Object?
The Table Model has this object, with the "get" method, but it´s
private...
Thanks!
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=249318
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user