• 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
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

Request sent by the client is syntactically incorrect.

 
Ranch Hand
Posts: 806
MySQL Database Spring Java
  • 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
 
ranger
Posts: 17346
11
Mac IntelliJ IDE 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
MySQL Database Spring Java
  • 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
Posts: 17346
11
Mac IntelliJ IDE 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
 
What's gotten into you? Could it be this tiny ad?
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic