Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

RquestDispatcher problem in sun application 9.1

  Asked By: Raynard    Date: Apr 29    Category: Java    Views: 580
  

I've got some problem in my Sun Application 9.1 configuration. When I want to dispatch to another page from my Servlet I encounter this Error (HTTP Error 404.)
I've searched plenty in internet and finally I arrived at this result.
My problem was in HOME/WEB-INF/web.xml configuration. I should add this tags in order to control this error


<filter>
<filter-name>Agent</filter-name>
<filter-class> com.sun.identity.agents.filter.AmAgentFilter </filter-class>
</filter>
<filter-mapping>
<filter-name>Agent</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>

while i was thinking that my problem has been solved but i faced to another problem.


"com.sun.identity.agents.filter.AmAgentFilter" now this is the main problem:
How can I get this file?

I downloaded "j2ee_agents" to get access AmAgentFilter.

but now i have 2 questions
1. dose it really need to have this application "j2ee_agents" to solve my problem?
2. when I tried to install this software on my system i encounter another problem.
the application asks me what is your "Access Manager Host::"
what should i answer to this question?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on RquestDispatcher problem in sun application 9.1 Or get search suggestion and latest updates.