Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help with jsp include tag

Status
Not open for further replies.

ttrinh

MIS
Jan 21, 2002
93
0
0
AU
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= &quot;<jsp:param name=&quot;dd&quot; value=&quot;<%=day%>&quot; />
<jsp:param name=&quot;mm&quot; value=&quot;<%=month%>&quot; />
<jsp:param name=&quot;yyyy&quot; value=&quot;<%=year%>&quot; />
<jsp:param name=&quot;zoom&quot; value=&quot;2&quot; />
<jsp:param name=&quot;yscale1&quot; value=&quot;100&quot; />
<jsp:param name=&quot;yscale2&quot; value=&quot;500&quot; />
<jsp:param name=&quot;yscale3&quot; value=&quot;0&quot; />
<jsp:param name=&quot;yscale4&quot; value=&quot;0&quot; />
<jsp:param name=&quot;yscale5&quot; value=&quot;0&quot; />
<jsp:param name=&quot;start&quot; value=&quot;96&quot; />
<jsp:param name=&quot;end&quot; value=&quot;216&quot; />
<jsp:param name=&quot;days&quot; value=&quot;62&quot; />
<jsp:param name=&quot;opt&quot; value=&quot;2629600&quot; />
<jsp:param name=&quot;type&quot; value=&quot;16&quot; />
<jsp:param name=&quot;ports&quot; value=&quot;185%20&quot; />
</jsp:include>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top