• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can we use servlet API in webobjects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can we use servlet API in webobjects


  • Subject: Re: Can we use servlet API in webobjects
  • From: John Huss <email@hidden>
  • Date: Wed, 28 May 2014 15:34:18 -0500




On Wed, May 28, 2014 at 3:27 AM, Butchi Reddy Velagala <email@hidden> 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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Can we use servlet API in webobjects
      • From: Butchi Reddy Velagala <email@hidden>
References: 
 >Can we use servlet API in webobjects (From: Butchi Reddy Velagala <email@hidden>)

  • Prev by Date: Re: Performance problem - Apache?
  • Next by Date: Re: Wonder addition - updated openbase plugin
  • Previous by thread: Can we use servlet API in webobjects
  • Next by thread: Re: Can we use servlet API in webobjects
  • Index(es):
    • Date
    • Thread