Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Brandon DeJesus
2,994 PointsHow does post() work in the Main.java?
When Craig uses post() in Main.java does this alter or change the <form> tag inside of index.hbs. I know that inside of the <form> tag we are using the method="post" . So when we build the method post() in Main.java are we directing it to listen to the <form> tag inside of index.hbs..... If I could just get a simple explanation of how the post() method works in Main.java that would be excellent.
If I want the user to be able to see more information being passed from web page to web page I'm assuming we need to create a way to build the model and pass it around as needed throughout our application.
Thanks,
Brandon
Dane Parchment
Treehouse Moderator 11,073 PointsDane Parchment
Treehouse Moderator 11,073 PointsCan you show us the code please so that I can better tell you how it works!