• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

How to call a .obj file from jsp  RSS feed

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • 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: 42975
76
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!