Anonymous | Login | Signup for a new account | 12-17-2024 08:46 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0006268 | [Resin] | minor | always | 07-17-19 14:04 | 07-17-19 14:09 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.62 | ||||||
Summary | 0006268: JSP EL foo.bar expression with get() and getBar() | ||||||||
Description |
(rep by Mitsuo Shimomura) When trying to show class property value which has get method, an error will occur. For example, assume that Customer class has “get” method, name property and its getter and setter. public Customer { private String name; public String getName() { return name; } public void setName(String name) { this.name = name; } public String get() { return "any"; } } In this case, when writing ${customer.name} to jsp, an error will occur. If it has “get” method from the code below, propName will become “”. Then empty propName will be passed to new BeanProperty(baseClass, propName, method, null), name of new PropertyDescriptor(name, getter, setter) is empty and exception will be thrown. |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |