Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Request sent by the client is syntactically incorrect.

 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, I am new to spring and learning from spring source. I tried a multipart file upload example from the documentation. When I tried to upload the file my server is responding with
Request sent by the client is syntactically incorrect.

My html code is The controller isThis is in my app-config.xml file
Can anyone please help me.

Thank you all in advance. Good day
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is your URL mapping. You get that error when the url your browser used is incorrect. There is no URL with that mapping.

Mark
 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mark Spritzler wrote:It is your URL mapping. You get that error when the url your browser used is incorrect. There is no URL with that mapping.

Mark


That is the example given in Springsource itself. I just replicated it. Can you please tell me how to fix this?

Thank you in advance.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll give you the same response. Your URL is not mapped correctly. That includes Servlet mapping and url mapping in Controller and configuration. You don't post any of that so the most I can tell you is that your Mapping is wrong somewhere.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic