DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Joe Guest

    accepting http post without container


    I need to put together a class that accepts http posts with out a servlet/jsp
    container, I originally thought I could do it with just a Server socket listening
    and a socket accepting the connection. I just need it to act like a servlet
    without the container. Any Ideas? Thanks in advance, Joe

  2. #2
    Paul Clapham Guest

    Re: accepting http post without container

    Yes, it is possible to listen at port 80 and interpret the incoming HTTP
    request. I wouldn't do it myself, since web servers already exist for that
    purpose, but apparently it isn't terribly difficult to do. You just have to
    know the HTTP specs and implement them.

    PC2

    "Joe" <jfrey@pvcomm.com> wrote in message news:3d122e2d$1@10.1.10.29...
    >
    > I need to put together a class that accepts http posts with out a

    servlet/jsp
    > container, I originally thought I could do it with just a Server socket

    listening
    > and a socket accepting the connection. I just need it to act like a

    servlet
    > without the container. Any Ideas? Thanks in advance, Joe




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links