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

  • SEARCH
  • Home
  • 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 7742577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:18:39+00:00 2026-06-01T09:18:39+00:00

i am putting <input type=text name=Job Name value=/> inside private List<String> dataFields; and iterate

  • 0

i am putting <input type="text" name="Job Name" value=""/> inside private List<String> dataFields; and iterate it in my jsp page with struts like :

<logic:iterate name="dataFields" id="dataFieldsId">
<p>
  List Messages <bean:write name="dataFieldsId"/>
</p>
</logic:iterate>

but my browser instead of showing me a input box, it prints me the exact String that i have put in my action class, i mean this : <input type="text" name="Job Name" value=""/> what can i do to solve this?

edit ———
actually the above syntax is for struts 1, i changed my iterator to struts 2 and the code now is :

<s:iterator  value="dataFields"  var="dataFieldsId">
<p>
  <s:property escapeHtml="false" value="dataFieldsId" />
</p>
</s:iterator>

and it is working like a charm

  • 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-06-01T09:18:41+00:00Added an answer on June 1, 2026 at 9:18 am

    It’s because the value is filtered for HTML characters and they are replaced by their entity equivalents. Try the filter attribute like so:

    <bean:write name="dataFieldsId" filter="false" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

trying to add a prefix before bound field <label><input type=radio name=rbGroup value='r<%#((Type)Container.DataItem).ID %>'/><%# ((Type)Container.DataItem).Action
I'm attempting to select all <script type=text/html> tags in a page. I use <script>
I'm putting a input inside a a-tag, and I want to stop the link
I putting together a page that will display a set of stored values. I
the problem I'm having is to validate the input means putting it in a
I am putting a serialized data to database. Data comes from input field and
I understand that there's no String data type in C. What I want to
I've managed to get input hooks working, but now I'm kinda lost with putting
void get_english_input() { string input = ; stringstream my_string(input); int ft; double in; while(true)
Putting this at the top of your CSS file: * { margin: 0; padding:

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.