spring - http://www.springsource.org/tags/form 404 error

795 Views Asked by At

Currently, I use a Maven project. I don't have any Tomcat server. I use the local google appengine server to test my application.

I would like to use the spring tags, especially the 'form' tags.

On a forum(http://forum.spring.io/forum/spring-projects/web/74017-the-absolute-uri-http-www-springframework-org-tags-form-cannot-be-resolved), I heard that I had to copy the spring-form.tld file from the spring-webmvc-3.1.0.RELEASE.jar in src/main/webapp/WEB-INF. It's done.

But when I launch the appengine server and I go to this url : http://www.springsource.org/tags/form , I've a 404 error.

What does it happen ?

Do you have any solutions ?

Thank you

2

There are 2 best solutions below

2
jake delhome On

404 means that the specific path you are trying to access does not exist. So either it did not deploy properly or it is not stored where you think it is

0
Ralph On

Add the spring-webmvc-3.1.x.RELEASE.jar to your application (lib folder), thats all you need.

In your jsp use: http://www.springframework.org/tags/form

The tld file itselfe is located inside spring-webmvc-3.1.x.RELEASE.jar : \META-INF\spring-form.tld