Olny filter can help you.
But remember:
from api -
setCharacterEncoding
public void setCharacterEncoding(java.lang.String env)
throws java.io.UnsupportedEncodingException
Overrides the name of the character encoding used in the body of
this
Session timeout is set in Tomcat\conf\web.xml
30
J. PĂ©rez wrote:
Hi,
Can anyone explain in details how do I set the session timeout?
I tried changing the web.xml in
C:\jakarta-tomcat-4.1.8\webapps\ROOT\WEB-INF and also the web.xml in
C:\jakarta-tomcat-4.1.8\conf and not
In your url http://:8080/pnm/Submit should be some hint for apache
telling that this is a Tomcat app i.e. http:///servlet/pnm/Submit.
See exactly how is build URL to Tomcat examples.
Bryan Richardson wrote:
Here's the deal...I have a .class file that is in the
webapps/pnm/WEB-INF/classes folder
Boris Folgmann wrote:
Mariusz Wiktorczyk schrieb:
I have small web app with text fields (Struts ). When user
types some strange character from UTF-8
(see http://fanthom.math.put.poznan.pl/~kosmat/problem/source.jpg)
the output is different.
Do you store the value in a database?
Yes
character encoding?
(response.setContentType("text/html; charset=UTF-8"); and
System.setProperty("file.encoding", "UTF-8"); does not work)
Mariusz Wiktorczyk
Tomcat 4.1.12 & Struts 1.1 RC1
--