If you use the jBPM Web Designer (http://www.jboss.org/jbpm/components/designer) it can generate the process and user task forms for you automatically. They are stored in Guvnor as assets in the same package as your process. See more about this in the docs: http://docs.jboss.org/jbpm/v5.2/userguide/ch10.html#d0e3195
Hope this helps.