AjaySrini wrote:
Hi all,
I'm new to sturts 2.0.Currently i'm developing a web application in which i
have a login screen which is ajax based(using <s:head theme="ajax">)
It works fine in FF but when i used to login through IE it is not working.
Whether Struts2.0 + ajax functionality will support IE.
looking forward to ur reply.
Thanks,
Srini
Yes, Struts2 ajax works okay with IE. However it's very easy to do
ajaxy things that don't work in IE and struts2 can do little to prevent
that.
The most common struts2-specific problem I've seen that occurs only in
IE is that the TARGET for your ajax request (eg. a div) cannot contain
the form that's used to generate the request unless you set the
showLoadingText=false attribute on the tag. It's well documented in
previous emails in this group so I won't go into details again, but in a
nutshell, in IE the text that says "Loading..." overwrites the form
PRIOR to making the request, so the request fails.
If that's not the cause, it's possible that your html result cannot be
inserted into the DOM by IE. There's so many things that can go astray
here you'll need to be specific about what you've doing and what didn't
work. Try turning on the s:head's debug feature.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]