servlets - <BEA-101024> Unsupported error status code for error-page in web.xml -
we use weblogic deploy our application , far working fine, encountered following exception , not able proceed application. url seems down time.
<bea-101024> unsupported error status code error-page in web.xml.
and code in web.xml
follows
<error-page> <error-code>100</error-code> <location>/jsp/main/http_error.jsp</location> </error-page>
any on appreciated, in advance.
change or add webapp dtd newer 1 in web.xml. weblogic particularly strict theese. can add error-page handlers.
ciaooo
edit: how http 100 weblogic ? if memory right status 100 continue , should handled silently (without producing error)
<!doctype web-app public "-//sun microsystems, inc.//dtd web application 2.3//en" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <servlet> <servlet-name>loginservlet</servlet-name> <servlet-class>it.bigmike.servlet.loginservlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>loginservlet</servlet-name> <url-pattern>loginloginservlet</url-pattern> </servlet-mapping> <error-page> <error-code>400</error-code> <location>/web/errore.html</location> </error-page> <error-page> <error-code>404</error-code> <location>/web/errore.html</location> </error-page> <error-page> <error-code>403</error-code> <location>/web/errore.html</location> </error-page> <error-page> <error-code>500</error-code> <location>/web/errore.html</location> </error-page> <error-page> <error-code>503</error-code> <location>/web/errore.html</location> </error-page>
edit2: web.xml works me on weblogic 10.3
Comments
Post a Comment