Hi
I am having a problem with the jsp include tag on my page
I am trying to include a graph generated by cgi onto a jsp page . To render the graph I would have to pass the page paramters but when I run the page
all i get is a blank screen .
when I take the offending tags out the page loads normally
Can anyone tell me what I am doing wrong ?
many thanks
the offending code is as follows
<% Calendar today = Calendar.getInstance();
int day = today.DAY_OF_MONTH;
int month = today.MONTH;
int year = today.YEAR;
%>
<jsp:include page= "<jsparam name="dd" value="<%=day%>" />
<jsparam name="mm" value="<%=month%>" />
<jsparam name="yyyy" value="<%=year%>" />
<jsparam name="zoom" value="2" />
<jsparam name="yscale1" value="100" />
<jsparam name="yscale2" value="500" />
<jsparam name="yscale3" value="0" />
<jsparam name="yscale4" value="0" />
<jsparam name="yscale5" value="0" />
<jsparam name="start" value="96" />
<jsparam name="end" value="216" />
<jsparam name="days" value="62" />
<jsparam name="opt" value="2629600" />
<jsparam name="type" value="16" />
<jsparam name="ports" value="185%20" />
</jsp:include>
I am having a problem with the jsp include tag on my page
I am trying to include a graph generated by cgi onto a jsp page . To render the graph I would have to pass the page paramters but when I run the page
all i get is a blank screen .
when I take the offending tags out the page loads normally
Can anyone tell me what I am doing wrong ?
many thanks
the offending code is as follows
<% Calendar today = Calendar.getInstance();
int day = today.DAY_OF_MONTH;
int month = today.MONTH;
int year = today.YEAR;
%>
<jsp:include page= "<jsparam name="dd" value="<%=day%>" />
<jsparam name="mm" value="<%=month%>" />
<jsparam name="yyyy" value="<%=year%>" />
<jsparam name="zoom" value="2" />
<jsparam name="yscale1" value="100" />
<jsparam name="yscale2" value="500" />
<jsparam name="yscale3" value="0" />
<jsparam name="yscale4" value="0" />
<jsparam name="yscale5" value="0" />
<jsparam name="start" value="96" />
<jsparam name="end" value="216" />
<jsparam name="days" value="62" />
<jsparam name="opt" value="2629600" />
<jsparam name="type" value="16" />
<jsparam name="ports" value="185%20" />
</jsp:include>