• 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: Butchi Reddy Velagala <email@hidden>
  • Date: Thu, 29 May 2014 11:55:41 +0530

Thanks john,
 
    Now i am trying to do the conversation manually by using Servlet API.


On Thu, May 29, 2014 at 2:04 AM, John Huss <email@hidden> wrote:



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

References: 
 >Can we use servlet API in webobjects (From: Butchi Reddy Velagala <email@hidden>)
 >Re: Can we use servlet API in webobjects (From: John Huss <email@hidden>)

  • Prev by Date: Re: Latest working Eclipse/WOLips combination
  • Next by Date: Re: out of office notice
  • Previous by thread: Re: Can we use servlet API in webobjects
  • Next by thread: Wonder addition - updated openbase plugin
  • Index(es):
    • Date
    • Thread