Take the 2-minute tour ×  I already created the bean, and it
gets the value from the textbox, my problem is how can i pass it
to another java class?  share|improve this question add comment
1 Answer  up vote 0 down vote accepted  Just pass it as method
argument the usual Java way. You can do it in the action method.
<h:inputText value="#{bean.input}" />   private String input; //
+getter +setter  public void submit() {     YourAnotherClass
yourAnotherClass = new YourAnotherClass(); share|improve this
answer add comment  Your Answer