Character Encoding problem

2002-08-28 Thread Nehemia Litterat


Hi 

I am using tomact 4.0.4 and JDK1.3.1

I am trying to read parameter in hebrew from the URL but get '???' writing Hebrew to 
the browser works fine

I can not use req.setCharacterEncoding(java.lang.String env) (can not compile the code 
when I am using it)

is there a way to go around it. I am very flexiable in choosing the JDK and TOMCAT 
version to work with but they need to be release version and not beta or something 
like this 

Thanks in advance

Nehemia Litterat

 



-
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes


Servlet output returned as a file

2002-08-26 Thread Nehemia Litterat


Hi 

The servlet I am writing is working 100% the problem is that the servlet output which 
goes to   

java.io.PrintWriter out = response.getWriter();

is returned as a file. The browser insted of showing the html is asking me to save it 
to disk. 

When I am looking at the file everything is fine the html is perfect and if I am 
trying to open it from the file system it looks good 

any sugestion

Thanks in advance

Nehemia Litterat



-
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes