How do I pass the value of form fields to my backend (Java class) using mustache

50 views
Skip to first unread message

M

unread,
Apr 12, 2012, 10:34:33 AM4/12/12
to mustache.java
I have a java class that I have developed.

I am trying to populate the variables in the java class with user data
that I am collecting in my HTML form. I am using mustache in my HTML
form. How do I pass the form fields to my java class via a form post
using mustache?

Thanks for the help.

Sam

unread,
Apr 16, 2012, 7:57:08 PM4/16/12
to mustache.java
Mustache doesn't do anything like this for you. That would be in
whatever you are using to process requests from the client. If you are
using servlets, you would just grab the post parameters and put them
into your Java class.

Sam
Reply all
Reply to author
Forward
0 new messages