RE: deployment problems in tomcat 4.1.27

2003-09-04 Thread Janis_Olekss
Ou... sorry! extension ".properties" should not be passed as JAVA will think that it is package extension and will look for file framework/properties.properties May be you have corrupted somehow your tomcat! In my experience default tomcat installation works fine... the only changes you should

RE: deployment problems in tomcat 4.1.27

2003-09-04 Thread Janis_Olekss
It is sayed that property file should be in your classpath! So I allways put my property file under WEB-INF/classes/ directory which seems to be fine. I am using Struts, but I guess the Struts uses the same mechanism to access properties! As I understand your oracle12.zip is needed to startup to

RE : setting the field focus with a servlet

2003-09-04 Thread Janis_Olekss
Nope yo can't! I guess you want your JSP code to do some "focusing"! I would suggest dynamically generate javascript code which focuses needed field! When the page will be rendered your newly generated code wll execute on client side and focus! The trick is that server side code can't interact

Re: deployment problems in tomcat 4.1.27

2003-09-04 Thread Janis_Olekss
You have to configure server.xml file There are 2 things 1) which defines your docBase 2) which defines different contexts See apache.org for the tag specifications ___ Living things are systems that tend to respond to changes in their enviro

Re: Internationalization Problem

2003-09-04 Thread Janis_Olekss
1) 4.1.12 is full of bugs 2) HTML header is prior to tag, so if you don't specify encoding in the response the default one is enforced "ISO-8859-1" (you can see it in generated code for JSP servlet) 3) Setting it directly to response.setContentType() wont work, don't know why, it's a bug in Tomc

Old fasion question - Encoding!

2003-09-03 Thread Janis_Olekss
Okey guys! I have problems with Tomcat 4.1.x (27) I am using struts 1.1 tiles and Co. to make my app. The first and pretty big problem is with encoding. I have one of tiles which reads menu names from property file which contains texts with special chars. They are correct and that's prooved. N