Bruno Raljić

A Java Developer's Blog

spring mvc

AJAX with Spring MVC

As I continued to explore the world of Spring MVC, I wondered how the AJAX calls are handled and I found it to be very simple. I’ll present you a simple example, including a little bit of jQuery, JSON, twitter4j etc. Example description Let’s say we want to display specific tweet on our page. User […]

, , , , ,

How to exclude css and js files from Spring MVC dispatcher mapping

After setting up basics for the Spring MVC dispatcher, I included the CSS file but without any results. First I thought the path isn’t declared correctly (I used relative path for the first time). Then I tried with contextPath: but still no changes on the page. After I tried to access this css file directly […]

, , , ,