Hi,
Big picture, I have a form that gives you the ability to 'move' an object. I'd like to check to see if the destination location already exists so nothing would be overwritten. If something does exist, I'd like to output what object (and its values) is there, and do a confirmation screen. Can someone help on how I would do this type of logic with Struts?


Would it work if I had a business function called CanMove() that returned the object at that destination and null if the destination was empty? If null, I would just call my Update() function? If not empty, have Struts forward to a confirmation screen? Is this the proper convention?

I apologize that this isn't totally Struts related, but this forum has been great at ensuring I don't re-invent the wheel.

- Nic.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to