No, you include the rendered content - not the source, so it wont work. I
would recommend seperating your code and content so this is "the wrong
approach" anyways, those methods should reside in a bean etc etc. Hope that
helps :)
/Magnus Stenman
Orion WebServer - http://orion.evermind.net
-----Original Message-----
From: A mailing list about Java Server Pages specification and
reference [mailto:[EMAIL PROTECTED]] On Behalf Of Kenneth Borinsky
Sent: den 27 april 1999 20:04
To: [EMAIL PROTECTED]
Subject: Including other JSP files.
Hello,
I am trying to write several separate include files that contain scriplet
functions and variables. Running JSP page that has these included files
produces errors since my code within including jsp relies on these
functions. I am using JRun Pro 2.3.
My include looks something like this:
<!--#include virtual="/jsp" file="functions/functions.jsp" -->
Am I doing it wrong? Is it possible to include other jsp files that have
java scriplet code(functions, variables)? Also, is it possible to inlude a
file that has @import directive in it?
Any help would be appreciated.
____________________________________
Ken Borinsky
Developer, Internet Division
CompInfo, Inc.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".