I have a html file like this:
<html>
<body>
<% int i=1; %>
<span name="page2"></span>
</body>
</html>
and in the span page2 of the above file i inserted a new page like this:
<html>
<body>
<% if(i=1) { %>
<p>1</p>
<% }
else { %>
<p>2</p>
<% } %>
</body>
</html>
I am working in Websphere portlet factory to insert the second page into first page.
The problem is the variable 'i' in the second file cannot be resolved..