On Wed, May 28, 2014 at 3:27 AM, Butchi Reddy Velagala <
[email protected]> wrote:

> Hi all,
>    Good day Wishes !!
>
>       We would like to use servlet API in webobjects. Because we need to
> call third party api method with HttpServletRequest and HttpServletResponse
> as parameters.
>
>     Now we are accepting the DirectAction request and we need to call that
> third party api. So we need to convert the WORequest to HttpServletRequest
> in DirectAction. *But we don't want to deploy this application in other
> servers.* We should have to deploy this only in webobjects.
>
>     So please let me know, how to convert WORequest to HttpServletRequest
> or else the other choice.
>

Whatever library you are using should provide an API that does not require
HttpServletRequest.  For example, GWT has some built-in servlet classes,
but these are just thin wrappers around another API that doesn't depend on
the servlet API.  Other projects should be the same.

Besides WO there are other more popular frameworks (like Play in
particular) that don't use servlets, so library vendors should respect that
fact.

The direct answer is you'll have to get a jar with the implementation of
the servlet api and do the conversion manually.  But don't.


>
> Thanks & regards,
> Butchi Reddy Velagala
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
>
> https://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com
>
> This email sent to [email protected]
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to