01: package org.manentia.kasai.ui;
02:
03: import java.io.IOException;
04:
05: import javax.servlet.Servlet;
06: import javax.servlet.ServletException;
07: import javax.servlet.http.HttpServletRequest;
08: import javax.servlet.http.HttpServletResponse;
09:
10: import org.apache.struts.action.ActionServlet;
11:
12: public class KasaiServlet extends ActionServlet implements Servlet {
13:
14: /**
15: *
16: */
17: private static final long serialVersionUID = -3715312659572095237L;
18:
19: public KasaiServlet() {
20: super ();
21: }
22:
23: public void init() throws javax.servlet.ServletException {
24: super .init();
25: }
26:
27: protected void process(HttpServletRequest request,
28: HttpServletResponse response) throws IOException,
29: ServletException {
30:
31: request.setCharacterEncoding("ISO-8859-1");
32: super.process(request, response);
33: }
34:
35: }
|