coolnquiet
Programmer
Hello,
I'm very new to the struts framework and I have a question to the struts validation.
I want to use struts to handle my bussiness logic and the validation. My forms are written in PHP. My idea is to pass a xml stream to struts from the php world (already works) and then validate the fields, decide which form has to come next, build a result xml-stream (via jsp [view] using taglib and beans) and pass is back to the PHP script.
I've already learnt how to validate struts forms (e.g. by the dynavalidform), but I don't know how to use the stuff when I have a xml-stream instead of a struts form.
How can I realize this?
Thanks in advance!
I'm very new to the struts framework and I have a question to the struts validation.
I want to use struts to handle my bussiness logic and the validation. My forms are written in PHP. My idea is to pass a xml stream to struts from the php world (already works) and then validate the fields, decide which form has to come next, build a result xml-stream (via jsp [view] using taglib and beans) and pass is back to the PHP script.
I've already learnt how to validate struts forms (e.g. by the dynavalidform), but I don't know how to use the stuff when I have a xml-stream instead of a struts form.
How can I realize this?
Thanks in advance!