4.3. Creating a new action
To create a simple web page with a stateless action method, select :
Enter the name of the Seam component. JBoss Developer Studio selects sensible defaults for other fields:
Finally, hit Finish.
Now go to
http://localhost:8080/helloworld/ping.seam
and click the button. You can see the code behind this action is in the project src
directory. Add a breakpoint to the ping()
method, and click the button again.
Finally, open the :
helloworld-test
project, locate PingTest
class, right click on it, and choose