Integrating servlet container into my stand alone App

From: DiscoStu (gregfrommer_at_hotmail.com)
Date: 09/25/04


Date: 25 Sep 2004 11:42:25 -0700

Hello Everyone,

     I had this idea for an application I would like to write. I want
to write it as a java application, but be able to output
program-generated .html into an Internet Explorer window. Sending the
generated html to the IE window is easy... just using the Runtime
class. But I want the Internet Explorer window to be able to make http
calls back to my application for form submissions. I didn't want to
have to force my users to install Tomcat just so the internet explorer
could pass back information to the servlet in my .Jar file.

How hard is it to add a servlet container and respond to http post's
from the localhost internet explorer window? This is all from my .jar
file and not from a web application running under tomcat remember. The
only http requests coming into my application will be from that one
internet explorer window... so its really acting like a
single-user-local-machine Tomcat server. But I dont want the burden of
forcing Tomcat on people.

I suppose you'll say pick a standard application or a jsp/servlet
solution, but not both.... but I think there is a lot of flexability
to this method, being able to generate GUI screens on the fly in the
IE window is really exciting.

Thanks,

     Greg



Relevant Pages

  • Re: Warning about tracking software?
    ... Daisy wrote: ... If it's not a 'normal internet explorer window' then it is likely to be ... If it *is* messenger service spam, no, unless you do a netstat within ...
    (comp.security.misc)
  • Re: mshtml
    ... contents of the first Internet Explorer window (the second actually, ... There are other examples, for instance Microsoft Outlook. ... document in an Internet Explorer instance and use a mechanism ...
    (microsoft.public.office.developer.web.components)
  • Re: Computer hangs when clicking a link in IE6
    ... You Cannot Open New Internet Explorer Window or Nothing Happens After You ... Regards, Jim Byrd, MS-MVP ... This happens every time after a couple of minutes in IE6 ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Hyperlinks to office docs dont work
    ... Unable to open local files in new Internet Explorer window? ... IE6 SP1 ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Integrating servlet container into my stand alone App
    ... But I want the Internet Explorer window to be able to make http ... >How hard is it to add a servlet container and respond to http post's ... >file and not from a web application running under tomcat remember. ...
    (comp.lang.java.programmer)