cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP Status 403

srmo642002
Champ in-the-making
Champ in-the-making
hi ,,
i write a jsp file
and put it into /jsp/categories folder
then define navigation rule:
   <navigation-rule>
      <from-view-id>/jsp/*</from-view-id>
      <navigation-case>
         <from-outcome>catgoryBrowse</from-outcome>
         <to-view-id>/jsp/categories/brzCategory.jsp</to-view-id>
      </navigation-case>
   </navigation-rule>  
if admin wants to browse this page,, every thing is ok and work properly
an error occur when i want to browse this page by another user,,
some times it showed some times this error page showed :

HTTP Status 403 -
type Status report
message
description Access to the specified resource () has been forbidden.
Apache Tomcat/5.5.20

i dont give any exception

i write this page to show documents related to a category,
if a document is assigned to that category or one of its children this page showed else that error page showed
2 REPLIES 2

srmo642002
Champ in-the-making
Champ in-the-making
<filter-mapping>
      <filter-name>Admin Authentication Filter</filter-name>
      <url-pattern>/faces/jsp/categories/*</url-pattern>
   </filter-mapping>

this is in web.xml file

i copied that file to another directory and it worked

kevinr
Star Contributor
Star Contributor
The filter in web.xml ensures that only the 'admin' user can access certain JSPs in the web-client.