Hi everyone,
I have just started working with struts 2. Quit improved and
much like Spring(except DI and AOP), this is first time i am working with
struts and in HelloWorld programmer i am facing error when my action class
is called and the error is : The requested resource
(/hello_w
If you mean like System.out.println(request.getCharacterEncoding()) in top of
JSP, I guess I have, have to make a second check though, will return when
it's done. Really appreciate your aid, thanks
/Riffla
=
Christopher Schultz-2 wrote:
>
> -BEGIN PGP SIGNED
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Riffla,
riffla wrote:
> Here's the content of the filter class:
[snip]
> public void doFilter(ServletRequest request, ServletResponse response,
> FilterChain chain)
> throws IOException, ServletException {
>
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Riffla,
riffla wrote:
> Encoding set in:
>
> JSP Page directive
> Content inside Html Meta tag
> And there is also a charsetFilter class used (see below)
This last one is used for overriding /request/ encoding, right?
>
> PARAMETER_ENCODING
> UTF
Her's the content of the filter class:
package se.telia.kontaktamig.web.util;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import javax.servlet.*;
import java.io.IOException;
public class CharsetFilter implements Filter {
private static Log log =
5 matches
Mail list logo