Anonymous | Login | Signup for a new account | 12-17-2024 10:42 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 | ||||
0001110 | [Resin] | minor | always | 05-14-06 11:42 | 06-28-06 12:00 | ||||
Reporter | anonymous | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.0.18 | ||||||
Summary | 0001110: can not load interntional properties file | ||||||||
Description |
failed reason is arg passed to loader.getResourceAsStream can not start with '/': com.caucho.jsp.BundleManager.getBaseBundle(String name) in resin.jar line 214: InputStream is = loader.getResourceAsStream('/' + name.replace('.', '/') + ".properties"); //shouldbe loader.getResourceAsStream(name.replace('.', '/') + ".properties"); assume the code: InputStream is = SomeLoader.getResourceAsStream("/java/lang/Object.class"); System.out.println(is); // print result is null InputStream is = SomeLoader.getResourceAsStream("java/lang/Object.class"); System.out.println(is); // print result is correct |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |