Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use the Struts validation system to validate xml

Status
Not open for further replies.

coolnquiet

Programmer
Mar 9, 2005
1
DE
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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top