hi am facing same problem while making application on net bean can any one help?

my jsp



<[EMAIL PROTECTED] contentType="text/html"%>
<[EMAIL PROTECTED] pageEncoding="UTF-8"%>

<%@ taglib uri="/WEB-INF/tlds/common.tld" prefix="cm"%>
<[EMAIL PROTECTED] prefix="f" uri="http://java.sun.com/jsf/core"%>
<[EMAIL PROTECTED] prefix="h" uri="http://java.sun.com/jsf/html"%>




   

    function doit() {
        alert(11);
         var na ='cc';

      Seam.Component.getInstance("myBean").doit(na, doitCallback);
    }

    function doitCallback(result) {
      alert(result);
    }

   
  

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd";>


    
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        Register New User
    
    
    
        <f:view >
            <h:form >  
                Sdoit

</h:form>
        </f:view>
     




i have made entried in web.xml

 
    <servlet-name>Seam Resource Servlet</servlet-name>
    <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
  

  <servlet-mapping>
    <servlet-name>Seam Resource Servlet</servlet-name>
    <url-pattern>/seam/resource/*</url-pattern>
  </servlet-mapping>


still getting error in browser...............seam is undefined

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095081#4095081

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095081
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to