728x90
제목 : 웹로직 7.0 + jstl 연동 문제 입니다..
글쓴이: 손님(guest) 2003/11/26 16:05:55 조회수:1131 줄수:36
안녕하세요...제가 이번에 

웹로직 7.0 에 jstl(1.0) 연동하는데..

저런 에러만 나오네요...어떤것이 문제 인지...

java.io.IOException: javax.servlet.jsp.JspException: The taglib validator rejected the page: 
"org.xml.sax.SAXParseException: An invalid XML ch
racter (Unicode: 0xb1) was found in the CDATA section., "
       at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:124)
       at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
       at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:353)
       at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:211)
       at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:164)
       at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:517)
       at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
       at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:445)
       at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
       at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDispatcherImpl.java:342)
       at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
       at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:252)
       at com.board.control.BbsController.doPost(BbsController.java:65)
       at com.board.control.BbsController.doGet(BbsController.java:44)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
       at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
       at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
       at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
       at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
       at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
       at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
       at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
       at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
       at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)


제목 : Re: 잘쓰세요~~
글쓴이: 손님(guest) 2003/11/29 09:51:38 조회수:1113 줄수:13
결론은 간단한데.. 찾는데 무지힘들었습니다.
해결은 JSP의 page설정을 다음과 같이하면 됩니다.
//-----------------------
<%@ page language="java" contenttype="text/html; charset=euc-kr" pageEncoding="euc-kr" %>
//-----------------------
pageEncoding="euc-kr"  부분이 추가된 것입니다.

환경에 따라서 다음과 같은 에러가 뜨는 경우도 있었습니다.
The taglib validator rejected the page: java.io.UTFDataFormatException: Invalid byte
2 of 2-byte UTF-8 sequence
....

 

출처 : http://www.javaservice.com/~java/bbs/read.cgi?b=weblogic&c=r_p&n=1070067098

728x90

+ Recent posts