Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Servlets and the fly likes Calling a DLL file from a JSP page?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Calling a DLL file from a JSP page??" Watch "Calling a DLL file from a JSP page??" New topic
Author

Calling a DLL file from a JSP page??

Amit Roy
Ranch Hand

Joined: Oct 10, 2000
Posts: 132
hello friends
How can i call a dll file from a JSP page do i need to use native methods written in C
Amit


<I>Chance Favours the Prepared minds"</I>
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12266
    
    1
You should encapsulate your JNI call to a DLL library in a "Bean" style class so you can test it outside the JSP environment. I think there is something about interfacing to native methods in the tutorial at java.sun.com
Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Calling a DLL file from a JSP page??
 
Similar Threads
accessing dll file via servlet
call c++ dll from jsp
Help needed badly for java reports generation
Call DLL file signed applet
how to call a DLL from JSP page