• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

How to call a .obj file from jsp

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have compiled a program in Turbo C and obtained a .obj and .exe file...

My requirement is that I need to call the .obj file from my jsp, any idea how I can go ahead with the task..

Thanks,

Adrian
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First of all, don't do this from a JSP. At the very least, do it in a backing bean.

If the code is an executable you might use Runtime.exec or ProcessBuilder to run it; this article talks about some of the pitfalls.

Accessing an object file is trickier. If it's a DLL you can use a Java/DLL bridge like Jacob.
reply
    Bookmark Topic Watch Topic
  • New Topic