Login  Register

RE: Returning servlet messages to form after submit

Posted by Stephanie Hall (TT) on Jan 13, 2010; 6:51pm
URL: https://discuss.orbeon.com/Returning-servlet-messages-to-form-after-submit-tp1009797p1013278.html

Can anyone help me with this, please?  Do I need to replace an instance after the submission?  Or is there another way I can return messages to display?

 

From: Stephanie Hall (TT) [mailto:[hidden email]]
Sent: Friday, January 08, 2010 10:39 AM
To: [hidden email]
Subject: [ops-users] Returning servlet messages to form after submit

 

Hi all, it’s me again.

 

I’ve searched the website and archives and I couldn’t find the answer to this, so hopefully someone here can tell me how to do this or point me to where the answer is if I missed it:

 

I’ve got a separate deployment scheme running in Java w/ tomcat, and my form JSPs call a servlet that acts as the brain of the application.

 

In one of my forms, the user hits submit, some stuff happens in the servlet, and I want to display the result message of that servlet stuff in the form (successfully saved to system or failed to save, stuff like that).  Only the servlet will know what happened.  How do I best go about this?  I’d like to avoid using xpl if possible. 

 

Thanks,

Stephanie



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws