aspose file tools*
The moose likes Spring and the fly likes Request sent by the client is syntactically incorrect. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Request sent by the client is syntactically incorrect." Watch "Request sent by the client is syntactically incorrect." New topic
Author

Request sent by the client is syntactically incorrect.

chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 806

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


Love all, trust a few, do wrong to none.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 806

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

Joined: Feb 05, 2001
Posts: 17259
    
    6

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Request sent by the client is syntactically incorrect.