如果你的这个inputText是在一个component里面可以使用下面的方法得到
FacesContext facesContext = 
FacesContext.getCurrentInstance();
        Tree tree = facesContext.getTree();
        UIComponent root = tree.getRoot();
如果你的这个inputText已经与一个javabean绑定,使用下面的方法
FacesContext facesContext=FacesContext.getCurrentInstance();
Object firstNumber=getValueBinding("xxxx.yyyy").getValue(facesContext);其实得到提交过来最简单的办法是用request.getParameter();