Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7621505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:12:45+00:00 2026-05-31T04:12:45+00:00

I have a Spring form tag and am trying to add a dynamic attribute

  • 0

I have a Spring form tag and am trying to add a dynamic attribute (the “placeholder” attribute), but get the following error

org.apache.jasper.JasperException: /WEB-INF/jsp/work.jsp (line: 290, column: 3) 
Attribute placeholder invalid for tag textarea according to TLD

The jsp:

<form:input path="name" cssClass="input-xlarge" id="name" placeholder="type your name"/>

According to: https://jira.springsource.org/browse/SPR-5931 dynamic attributes are supported in Spring 3.0 (depending on JSP 2.0) which I belive I have.

My environment:

Java: 1.6.0_29
Tomcat: Apache Tomcat/7.0.25
Servlet: 3.0
Spring : 3.0.7.RELEASE
JSP Engine: 2.1
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T04:12:46+00:00Added an answer on May 31, 2026 at 4:12 am

    I discovered that even though I am using Spring version 3.0*, my form taglib was from verison 2.0 becauswas spring-2.0-m5.jar was in my lib folder. When I removed it, the form tag rendered with the “placeholder” attribute).

    *the following code reported the Spring version to 3.0.7.RELEASE : org.springframework.core.SpringVersion.getVersion( )

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using Spring 2.5 tag library, I have an Integer value in a command form
I have a string which contain tags in the form < tag > .
I have a JSP that is using Spring:form tags to bind controls to a
I have the following code: // Form the continuities list string[] continuities = new
The Spring MVC JSP tag library has a tag for rendering form errors. This
I am trying to dynamically add form controls to a gui I'm developing in
I have been trying out the spring-security-facebook plugin and so far its been smooth.
I am trying to get my webservice to reply with a particular form of
Can the form-login tag make use of URLs to external resources? I have two
Ok, I have a case where I need to add a tag to a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.