Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / JavaBeans / March 2004

Tip: Looking for answers? Try searching our database.

call c function from jsp

Thread view: 
big ern - 22 Jan 2004 20:50 GMT
i am new to jsp and was wondering if there is a way to do this. either
call a c function or call an executable. thanks
Johann Burkard - 22 Jan 2004 21:52 GMT
> i am new to jsp and was wondering if there is a way to do this. either
> call a c function or call an executable. thanks

Calling an executable: Runtime.getRuntime().exec(...)
Calling a function: Use JNI.

Consult your nearest documentation for more information.

Johann
Signature

\/\/|11 |)() /-\|\|`/7|-|||\|6 |=()|2 |3/-\|\||)\/\/||)7|-|!

bantu - 18 Feb 2004 13:00 GMT
how can i call c function from jsp?
please explain me in detail.
KC Wong - 05 Mar 2004 08:29 GMT
> how can i call c function from jsp?

Use JNI. Make a Java interface for the C function, and call it in JSP.

> please explain me in detail.

Unless you're going to pay me for my service ;)
this link is all I can give you:
http://java.sun.com/docs/books/tutorial/native1.1/index.html,
especially
http://java.sun.com/docs/books/tutorial/native1.1/implementing/index.html


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.