tag:blogger.com,1999:blog-3553476336432331773.post6513918768055948586..comments2023-02-21T04:57:10.448-08:00Comments on corejava: Spring MVC file upload examplesajjad parachahttp://www.blogger.com/profile/09656212868317790693noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-3553476336432331773.post-49821884682572687222014-03-19T05:46:54.027-07:002014-03-19T05:46:54.027-07:00If you don't mention in your request mapping
...If you don't mention in your request mapping <br />produces = "text/html"<br /><br />Some browsers will kill you with the below alerts<br /><br />Launching application <br /> Varifying application requirements.This may take a few moments.<br /><br />and then the below Alert <br /><br />Cannot Start Applicaiton <br /><br />Cannont continue. the application is improperly formatted.Contact the application vendor for assistance.<br /><br />This happens because the browser is trying to read your response not as text/heml and i't thinking that it has to open an application to load this response however you are just returning a string or forwarding to another URL.<br /><br />The solution is to always mention produces = "text/html" in your request mapping<br />sajjad parachahttps://www.blogger.com/profile/09656212868317790693noreply@blogger.com