I have very easy problem, can I solve it with the help of any struts2 tag?
Explanation:
I have an image.
User clicks on this image.
Request with several parameters goes to a server.
Action is invoked, parameters used during action execution.
Action sends back simple string "Success" or "Fail".
this string response should be printed on the exact place of a html page
(inside div, for example).

How can I do this using struts2 tags? I don't want to use hand-made script
with XMLHttpRequest. Does struts2 provides functionality to solve such
simple task?
I've seen <s:div/> tag, but I didn't understand how can I invoke request to
action manually (by mouse click for example)
-- 
View this message in context: 
http://www.nabble.com/Ajax%3A-invoke-action-by-mouseClick-and-get-simple-string-tp18650508p18650508.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to