dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: can i include jsp in iframe

  1. #1
    Join Date
    Sep 2006
    Posts
    4

    can i include jsp in iframe

    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

  2. #2
    Join Date
    Jun 2004
    Location
    England
    Posts
    2,972
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles