Win a flower (🌹) or copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java (📚) this week in the Agile and Other Processes forum!
  • 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
  • Bear Bibeault
  • Liutauras Vilda
  • Devaka Cooray
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Problem in executing Spring MVC example

 
pioneer
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to execute spring example but I am not able to execute it I dont know where I am going wrong as it is not showing any spring related or xml or jsp exceptions. Its just showing in the browser that The requested resource () is not available. with a url in the browser http://localhost:8080/ActivenetSpringMVC/pc.htm

If someone can guide me in executing this it will help me a lot

My code is

web.xml



disp-servlet.xml



Product.html



ProductController.java



ProductService.java

 
steward
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you should find a more up to date example. This one looks pretty dated. I would try to learn with newer examples as much has changed.

That aside I don't see anything in what you have posted that would map to http://localhost:8080/ActivenetSpringMVC/pc.htm. That is why you are getting a 404.
 
Rototillers convert rich soil into dirt. Please note that this tiny ad is not a rototiller:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!