Click to See Complete Forum and Search --> : can i include jsp in iframe


prasanna_d
09-12-2006, 04:14 AM
Hi

can i use the iframe to include jsp file?

The code is as shown below

<head>
</head>
<body>
<iframe src="xyz.jsp"></iframe>
</body>
</html>

xyz.jsp

<%
Vector v = (Vector)request.getAttribute("a");

for(int i=0;i<v.size();i++)
{
// some logic here
}


%>

thanks

the tree
09-12-2006, 10:39 AM
Well yeh, iframes can be used with pretty much any file, especially as your .jsp file will just be sent as an HTML document anyway.