Web Development

General discussion

Locked

JSP-PERL in same file on Apache-Tomcat

By vinaysm ·
Hi All,
I want to execute PERL code as well as JSP code in one file on Apache Server. Is this possible? If yes what will be the file extension & what changes will be need in the conf file?
Plz guide me...
Thanks.
--- vinay

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

JSP-PERL in same file on Apache-Tomcat

by Stephen Darlington In reply to JSP-PERL in same file on ...

Not sure how you'd do it directly, but you can fudge it with server-side includes. You'd have a file something like:

<!--#include src="/file1.jsp"-->
<!--#include src="/cgi-bin/file2.pl"-->

SSI files tend to have .shtml file extensions, but that's just a convention.

But I think the real solution is a cleaner design!

Related Discussions

Related Forums