• 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

Json in jsp

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello experts ,
I am facing a problem while sending a json string from one jsp to another. I am sending the string as a parameter to javascript function to another page,to which I am getting 400 bad request error in Google Chrome browser. Any help would be appreciated.

Thanks in advance
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Mousumi Kar wrote:I am facing a problem while sending a json string from one jsp to another.


I'll just mention up-front that this isn't a good practice. Read this article to find out why.

I am sending the string as a parameter to javascript function to another page,to which I am getting 400 bad request error in Google Chrome browser.


A 400 error means that the request itself may be badly formed. You'll need to include details of how you are making the request.

Does it work in browsers other than Chrome?
reply
    Bookmark Topic Watch Topic
  • New Topic