File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes problem with spring-form.tld Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "problem with spring-form.tld" Watch "problem with spring-form.tld" New topic
Author

problem with spring-form.tld

ramesh kancherla
Ranch Hand

Joined: May 01, 2008
Posts: 124
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

Joined: Feb 05, 2001
Posts: 17249
    
    6

And the tld is in the classpath?

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
ramesh kancherla
Ranch Hand

Joined: May 01, 2008
Posts: 124
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

Joined: Feb 05, 2001
Posts: 17249
    
    6

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

Joined: May 01, 2008
Posts: 124
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

Joined: Feb 05, 2001
Posts: 17249
    
    6

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
 
Consider Paul's rocket mass heater.
 
subject: problem with spring-form.tld
 
Similar Threads
Not getting the validation message in my example.
locating tld files in Struts -all.zip distribution
spring-form.tld problem
spring form tag on jsp
html.ELFormTag problem