Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C code in JSP?

Status
Not open for further replies.

MoreFeo

Technical User
Nov 29, 2002
547
ES
Hi, I've got a JSP page that must call a CGI. I know what the CGI code is, so I'd like to know if I can put that code directly in my JSP page (it's C code). I think it can be done in java programs (native language I think it's called) but I don't know if it can be done in JSP. I forgot the C code uses pointers to call a dll or a lib, so I don't know if java would work.
 
>> so I'd like to know if I can put that code directly in
>> my JSP page

No, that's not how JNI works. There is an 100% complete tutorial for JNI at javasoft.com

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top