View Full Version : using CGI with JSP
August 11th, 2002, 06:26
With SSI, I can use < ! cgi exec="cgi-bin/script.cgi" - > to include a CGI script in a shtml file
but in JSP, it wont work. < % @ include file="cgi-bin/script.cgi" % > will just display the source code
August 11th, 2002, 15:42
JSP is translated to Java sourcecode, which is further translated into Java bytecode. For that reason, you cannot simply include a CGI script into a JSP page.
August 11th, 2002, 16:53
no, there is just no method to use CGI with JSP?
August 11th, 2002, 16:56
I would not say "no way" but it would be very complicated, in most cases not worth the effort.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.