Hi Randy
 
Thanks for your quick response. Sorry I really forgot, that's why it was cross 
post.
Actually my requirement is redirect to our error page if something goes wrong. 
By default it redirect to jetspeed's default-page.psml
 
Types of Login:
Type 1. Once user sucessfully login to our application, username and password 
is redirected to jetspeed's LoginProxyServlet.
Type 2. Login from jetspeed's default page.
 
For login Type 2, we would like forward to jetspeed default page. For Type 1, 
we would like forward to our error page.

So if have a class MyProfilerValveImpl this will always redirected to our page. 
Where to put this entry before or after ProfilerValveImpl.
  
  <bean id="profilerValve"
        class="org.apache.jetspeed.profiler.impl.ProfilerValveImpl"
        init-method="initialize"
  >
   <constructor-arg>
    <ref bean="org.apache.jetspeed.profiler.Profiler" />
   </constructor-arg>
   <constructor-arg>
    <ref bean="org.apache.jetspeed.page.PageManager" />
   </constructor-arg>
  </bean> 

Regards
Rakesh

Randy Watler <[EMAIL PROTECTED]> wrote:
Rakesh,

I have asked before... please do NOT cross post to this list and the dev 
list.

The ProfilerValveImpl is part of the J2 request pipeline. It is 
configured using spring in the assembly/pipelines.xml file.

However, it is non-trivial to replace its functionality. If you simply 
want to extend it, you might want to consider adding additional stages 
in the pipeline before or after the existing impl instead.

Randy

Tomba Rakesh wrote:

>Hi All
> 
>1. Which class or servlet calls 
>org.apache.jetspeed.profiler.impl.ProfilerValveImpl
>2. Is it possible to provide a new ProfilerValveImpl, if so where where to 
>configuration?
> 
>Thanks in advance
> 
>Regards
>Rakesh
> 
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 
> 
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to