1 Reply Latest reply on Dec 17, 2008 11:28 PM by mtpettyp

    How to call other Seam examples in browser?

    pxstein

      When I go to page


      http://www.seamframework.org/Documentation/RunningSeamExamplesWithJBossApplicationServer42X


      and run


      ant deploy as indicated for the first two mentioned samples everything is fine.


      However there are many more samples in the examples directory.


      How do I call them ?


      If I type e.g. 


      ant deploy


      in the contactlist directory then this app is successfully deployed.
      But how do I call this app in the browser?


      http://localhost:8080/contactlist/


      gives an



      404 The requested resource (/contactlist/) is not available.

      error. Same with blog sample. How do I call them otherwise?


      Is there somewhere a detailed description of the sample apps?


      BTW: I am missing the issues sample directory. Where is it?


      Peter

        • 1. Re: How to call other Seam examples in browser?
          mtpettyp

          The easiest way is to look in each example's resources/META-INF/application.xml:



           <module>
                  <web>
                      <web-uri>jboss-seam-contactlist.war</web-uri>
                      <context-root>/seam-contactlist</context-root>
                  </web>
              </module>



          The context-root element will give you the proper URL to append to http://localhost:8080/