• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts 2 JSON validation not working in Firefox

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have been using Struts 2 JSON client validation for a long time in IE and it works fine but when i open firefox browser it pops me a javascript popup with error message like "Could not validate: form_name" where name is my form variable.

Here's the code.

JSP Code:



struts.xml code:




validation.xml code:



Can someone help me in dealing with JSON validation in Firefox without any java script pop up messages

Thanks,
Pawan Kalyan
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,


For me this even does not work in ie it gives following exception

ERROR com.opensymphony.xwork2.DefaultActionInvocation - There was an exception while instantiating the result of type org.apache.struts2.json.JSONResult


What might be the reason,any suggestions would be welcomed.


Regards
Sudeep
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic