• 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
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Problem on Handler Mapping

 
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am unable to find an answer for my question on google regarding the sample app that I am doing.

Please see below code:

I have a home page where user can download the user manual by clicking on a link.



In order to handle different files aside from doc/pdf/excel, I added below mapping in my web.xml.



And in My alas-servlet, I tried below bean assignment:



I also tried below bean configuration:



But still I always encounter the error no handler mapping found for HTTP request with URI [/alas/resource/user_manual.doc] in dispatcher servlet....

I dont know whats causing this.

Hope somebody can give me some advise..
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic