cancel
Showing results for 
Search instead for 
Did you mean: 

pb with call of a component

Former Member
0 Kudos

we have a iview (EP6sp2) and we have to call for a non portal servlet.

This servlet is IN the iview (same project)

how can we do this ?

Accepted Solutions (0)

Answers (1)

Answers (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Alexandre,

please, be a bit more specific and detailed about your aims and the situation given. Then, for sure, somebody (maybe I) can help you!

Best regards

Detlev

Former Member
0 Kudos

we try to create one iview and one servlet in the same project.

this iview must call this servlet.

this servlet calls an external document (not within CM/KM framework) and reads it and display it.

we try to call this servlet from a JSP page. It doesn't work.

Can we call this servlet direct from iview's method?

Any idea?

Thanks.

detlev_beutner
Active Contributor
0 Kudos

Hi Alexandre,

still don't get what's your aim.

Why must an iView call a servlet? An iView is an instance of a portal component, being a JSPDynpage, DynPage or AbstractPortalComponent (theoretically also a pure servlet).

You could implement the external access within you component, couldn't you?

A servlet is (should) never (be) "called" from another servlet (you can redirect / dispatch from one servlet to another).

So, please please please, more detailed, more specific, more information.

Best regards

Detlev

Former Member
0 Kudos

because the servlet is (we assume) used to process the answer and will read and display the document.

you say 'external component' : can you precise, we understand you talk of portal eventing or else ?

Another question : can we redirect to a servlet with IPortalComponentRequest object and with redirect method ?

detlev_beutner
Active Contributor
0 Kudos

Hi Alexandre,

still, I have not an idea what's your context. If you expect help, please, be far, far more specific.

> you say 'external component'

No, I didn't!?

> can we redirect to a servlet with

> IPortalComponentRequest object

> and with redirect method ?

This at least should work from an AbstractPortalComponent (at least I have done this from one APC to another APC, but in fact, you redirect to an URL, so it shouldn't matter if APC, JSPDP or pure servlet).

Hope it helps

Detlev