Results 1 to 2 of 2

Thread: COM and JSP

  1. #1

    Thread Starter
    Addicted Member wernerh's Avatar
    Join Date
    Sep 2000
    Posts
    170

    COM and JSP

    How do you reference a COM object in JSP?

  2. #2
    Addicted Member
    Join Date
    Nov 2001
    Location
    Yewston, Texis
    Posts
    240
    Note that there's a separate forum here that deals with Java and JSP.

    Under normal circumstances, you don't access COM objects in JSP because in doing so, you violate the "write once run anywhere" principle. This is so because COM is restricted to the Windows environment and Java can run in many environments. You are better off having JSP accessing servlets and beans.

    But I understand that the above advice applies to an ideal world. I would look to see if the Runtime object can run COM objects
    http://java.sun.com/j2se/1.3/docs/api/index.html (click on Runtime on the left frame) Look at Runtime.exec().

    cudabean

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width