• 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

Request sent by the client is syntactically incorrect.

 
Ranch Hand
Posts: 806
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic