After installing tomcat 4.0, I created classes folder under ROOT/WEB-INF folder and
moved one of the servlet class files that came with tomcat 4.0. I have no problem
running the same file in examples folder. However, although it is the same file, I
could only see that disappointing "A Servlet Exception Has Occurred" message. I
looked at the source code and found that the statement ResourceBundle rb =
ResourceBundle.getBundle("LocalStrings",request.getLocale()); was throwing
"java.util.MissingResourceException: Can't find bundle for base name LocalStrings,
locale ko." I modified the source a little so that it runs without that statement and
the servlet class file runs just fine.
My question is, then why didn't the same class file throw that exception in examples
folder? Why does the same class file behave differently, in this case, does not throw
an exception in one folder(examples) and does in another folder(ROOT)?
By the way, I am using win2k Korean language version. Obviously the same class file
can find that "bundle for base name LocalStrings, local ko" when run in examples
folder and can't when run in ROOT folder. Why, why, why....
��.a�h�g�ʋ�~��ɨh��&i�kz��m���j)rj(r����칻�&ޱ��zf���%��lz��j���w(��݊w%�ע��^n�r��azg����('���K2
LDDI0+r�z�m���j�!�����ڲ�ܢoڭ�b��?����b�z�a�iQz�.�Ǭ��i��ڽ�.��&���v�-����^������jZ��q�!�iK!$�GzZa���
0����&�f���l�����z�m�