Is it possible to get Request object of servlet inside javaprocessor

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Is it possible to get Request object of servlet inside javaprocessor

Senthil vel-2
Hi,
  I am new to orbeon xforms i want to get the request object of servlet inside the javaprocessor.
  If possible then how? Its urgent. Can anyone please help me?

 
     Thanks and Regards
      Senthilvel.A


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Is it possible to get Request object of servlet inside javaprocessor

Antoine.DE-TROOSTEMBERGH
I think you can do this with something like this:
 

ExternalContext.Request request;

// getting orbeon's external context

ExternalContext externalContext = (ExternalContext) context.getAttribute(PipelineContext.EXTERNAL_CONTEXT);

request = externalContext.getRequest();

 



From: Senthil vel [mailto:[hidden email]]
Sent: Wednesday, April 09, 2008 1:11 PM
To: [hidden email]
Subject: [ops-users] Is it possible to get Request object of servlet inside javaprocessor

Hi,
  I am new to orbeon xforms i want to get the request object of servlet inside the javaprocessor.
  If possible then how? Its urgent. Can anyone please help me?

 
     Thanks and Regards
      Senthilvel.A


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws