Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Json in jsp

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
 
Marshal
Posts: 67445
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • 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?
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic