We are using the include directive <%@ include="../init.jsp" %> and instead of inlining the text in the init.jsp file the servlet engine actually substitutes the include directive with the following line in the service method.
{
com.livesoftware.jrun.plugins.jsp.taglets.JSPDirectiveTag.include(0, "../init.jsp", null, request, response);
}
Further the directive <jsp:include page="../init.jsp" flush="true" /> doesn't work either. The servlet engine doesn't seem to understand this directive.
We are using Jrun 2.3.3 with jsp 1.0. Any idea what we're doing wrong ?
TIA,
Sachin.
> -----Original Message-----
> From: Maciejowski [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 28, 1999 8:39 AM
> To: [EMAIL PROTECTED]
> Subject: jsp functions
>
>
> Is it possible to define a java function, in the jsp file
> that could be
> call as a javascript function ?
>
> For instance:
>
> <jsp:myfunction(param 1, param2) .......
> ...
> </myfunction>
>
>
> <HTML Code ....>
> param1 init
> param2 init
> <%
> myfunction(param1, param2);
> %>
> </HTML Code>
>
> Thanks in advance,
> david
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
>
