I hava developed a project with JRUN, but the ISP provide me JWS service, so
i hava to transfer the servlets to the running environment. i used MySQL
jdbc "org.gjt.mm.mysql.*".
when i do this work, i met three problems:

1. I can not use
    "res.setContentType("text/html; charset=gb2312");
     PrintWriter out = res.getWriter();"
    to process Chinese code,
but have to
    "res.setContentType("text/html");
     PrintWriter out = res.getWriter();"
2. My JWS is version1.1, when i run my servlet, following error occured:
    "500 Internal Server Error
    The servlet named "org.gjt.mm.mysql.Connection", at the requested URL
         http://203.93.112.194:8080/servlet/TestClass
    reported this exception:
         org.gjt.mm.mysql.Connection
    The administrator of this web server should resolve this problem."
    Note:
    I have both placed org.gjt.mm.mysql.* in servlets directory and in the
classpath.
    The same servlet can be run in JRUN environment.
3. It seems I still have long file name problem in JWS, ie. i can not use
long file name as servlet name.

I thanks everyone in the list, and thanks in advanced once more.

jack.w

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to