Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with spring-form.tld  RSS feed

 
ramesh kancherla
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

iam doing a sample application with spring where i wanted to use spring-form.tld

but iam getting the fallowing exception


SEVERE: Servlet.service() for servlet test threw exception
org.apache.jasper.JasperException: /WEB-INF/form.jsp(16,0) Unable to load tag handler class "org.springframework.web.servlet.tags.form.FormTag" for tag "form:form"
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)



i have the spring-form tld and also iam using the tag <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> in the jspform.i am unable to find the cause of error.


If any body can solve it ,please do inform.

thanks in advance.

Regards
Ramesh K
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And the tld is in the classpath?

Mark
 
ramesh kancherla
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have placed in WEB-INF folder. but still i am getting same error

can you please give me suggestion

Thanks & Regards
Ramesh K
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe the tld file is in the Web Flow jar file, and you only need to include that jar in your lib directory.

Mark
 
ramesh kancherla
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have not seen in jar file.can you plaese tell me which version plugin can I download for eclipse europa will come this jar file .

Thanks & Regards
Ramesh K
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually the classes for the tld are in the jar file and that is what is needed. It is all in the spring-webmvc-2.5.5.jar or change the number based on which version you are using, but what you need is the webmvc jar in your lib directory.

Mark
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!