• 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

AJAX response get but tiles layout show twice

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

I have AJAX calling in my application which resulting unexpected i have bellow ajax calling




when i call getAreaAllInfoForUpdate action response is get but result is unexpected as "in div tag as mentioned 'result' shows double page layout when i choose 'areaname' from drop down list my 'result div'" for more consider following code.



This is my Action Class



is this problem with tiles or ajax calling or ajax response or else??

Please suggest for what reason this unexpected Resulting .... :
div.jpg
[Thumbnail for div.jpg]
 
Ranch Hand
Posts: 99
Tomcat Server Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The output is duplicated right? When you call you action, you are calling the same JSP? you cant call the same JSP, the result will display the same JSP over the JSP and will get duplicated data, you should have only the part of the HTML you need to work and that output embed to the main JSP.

-M
 
It's just like a fortune cookie, but instead of a cookie, it's pie. And we'll call it ... tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic