hi!
   i am having problems with my <jsp:plugin >
    and <jsp:param> tags.

 the following is my code :


<html>

<%@ page import="java.sql.*,ins.*" %>
<jsp:useBean id="sel" class="ins.selectBean"
scope="request" />

<body>
<%
     int len=Integer.parseInt(rs1[0][0]);
    String[][] rs=sel.getRecords("select ename,level
from personal order by level");
     int records=sel.getRows();
%>
<jsp:plugin type="applet" code="archeantree1"
codebase="http://localhost/bindu/applet" height="300"
width="300" >
<jsp:params>
<jsp:param name="num" value='<%=records%>' />
<%
  for(int i=0;i<records;i++)
  {
     String record="rec"+i;
     System.out.println("record"+record);
%>
<jsp:param name='<%= record%>' value='<%= rs[i][0]
%>'/>

<%
    }
%>
</jsp:params>
<jsp:fallback>U R browsercannot dosplay this applet
text</jsp:fallback>
</jsp:plugin>
<body>
</html>

the kind of error i am getting is:

parserException :expected param tag with name and
value
attributed after the "params" tag

kindly help
thanks in advance
bindu


__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to