Hi
I found I have posted this to a wrong forum earlier So plz bear with me.
I am having probs with a jsp include. the jsp compiles but there is an error at runtime . The error is this
java.lang.IllegalArgumentException: Resource / not found
I am trying to embed a graph in a jsp . The graph is dynamically generated via cgi
the code that gets this error is
<% Calendar today = Calendar.getInstance();
int day = today.DAY_OF_MONTH;
int month = today.MONTH;
int year = today.YEAR;
out.println(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>
a second question is which does the calender object appear to be returning a date of 5/2 year 1??? i thought it would return todays date
Many thanks
I found I have posted this to a wrong forum earlier So plz bear with me.
I am having probs with a jsp include. the jsp compiles but there is an error at runtime . The error is this
java.lang.IllegalArgumentException: Resource / not found
I am trying to embed a graph in a jsp . The graph is dynamically generated via cgi
the code that gets this error is
<% Calendar today = Calendar.getInstance();
int day = today.DAY_OF_MONTH;
int month = today.MONTH;
int year = today.YEAR;
out.println(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>
a second question is which does the calender object appear to be returning a date of 5/2 year 1??? i thought it would return todays date
Many thanks