[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - 404 page not working
shanportal
do-not-reply at jboss.com
Wed Oct 10 16:47:52 EDT 2007
I have set the follwoing properties in the *-object.xml.
| <!-- Control policy config -->
| <property>
| <name>control.portal.access_denied</name>
| <value>jsp</value>
| </property>
| <property>
| <name>control.portal.unavailable</name>
| <value>jsp</value>
| </property>
| <property>
| <name>control.portal.not_found</name>
| <value>jsp</value>
| </property>
| <property>
| <name>control.portal.internal_error</name>
| <value>jsp</value>
| </property>
| <property>
| <name>control.portal.error</name>
| <value>jsp</value>
| </property>
| <property>
| <name>control.portal.resource_uri</name>
| <value>/WEB-INF/jsp/error/portal.jsp</value>
| </property>
| <property>
| <name>control.page.access_denied</name>
| <value>jsp</value>
| </property>
| <property>
| <name>control.page.unavailable</name>
| <value>jsp</value>
| </property>
| <property>
| <name>control.page.not_found</name>
| <value>jsp</value>
| </property>
| <property>
| <name>control.page.internal_error</name>
| <value>jsp</value>
| </property>
| <property>
| <name>control.page.error</name>
| <value>jsp</value>
| </property>
| <property>
| <name>control.page.resource_uri</name>
| <value>/WEB-INF/jsp/error/page.jsp</value>
| </property>
| </properties>
|
When i was trying to access the non exsting page it is not showing the Page 404 Message. Instaed it shows the default page of my portal. Is there any setting i am missing so that i could get the 404 page get displayed.
Any help is highly appriciated. Thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093715#4093715
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093715
More information about the jboss-user
mailing list