"[EMAIL PROTECTED]" wrote : Looks OK. How about faces-config.xml?

this is my faces-config.xml

  | <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE faces-config 
  | PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
  |                             
"http://java.sun.com/dtd/web-facesconfig_1_0.dtd";>
  | <faces-config>
  | 
  |     <!-- Phase listener needed for all Seam applications -->
  |     
  |     <lifecycle>
  |             
<phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener>
  |     </lifecycle>
  | 
  | </faces-config>
  | 
------------------
component.xml

  | <components>
  | 
  |    <component name="org.jboss.seam.core.init">
  |        <property name="myFacesLifecycleBug">false</property>
  |        <property name="jndiPattern">#{ejbName}/local</property>
  |     </component>
  |     
  |     <component class="org.jboss.seam.core.Ejb" 
  |            installed="true"/>
  | 
  | </components>
  | 
---------
this is the code between body tag of index.jsp

  |   <p>Welcome to TestSeam</p>
  |   <table border=0>
  |    <tr>
  |        <td><a href="pages/register.seam">Register</a></td></td>
  |     </tr>
  |   </table>
  | 
----
there is a link to a page namely register.jsp inside a folder with the name 
"pages"

the first page works properly but when I click on the link the exception occurs.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956486


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to