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 915719
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T17:56:07+00:00 2026-05-15T17:56:07+00:00

I have a JSP with a Struts <html:hidden property=message> field and I want to

  • 0

I have a JSP with a Struts <html:hidden property="message"> field and I want to display it in the generated HTML to the enduser.

  • 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-15T17:56:07+00:00Added an answer on May 15, 2026 at 5:56 pm

    You’re not giving many details on what exactly you are trying to do but I am assuming that you have a field

    <input type="hidden" ... />
    

    which you would like to change to something like

    <input type="text" ... />
    

    If this is the case you can use JQuery to modify the type of the field, or even create a new field with the hidden field’s value. Maybe this can help you change type of input field with jQuery
    I might be able to help more if you give me some more details.

    Edit: The Struts hidden tag gets rendered as an <input type=”hidden”> element (you can browse the resulting html code to see that for yourself), so you can indeed use JQuery to display it. Assuming your hidden element’s id is “hiddenElement” you can use

    $("#hiddenElement").val() 
    

    in your javascript to get its value and display it wherever you wish. There are a lot of interesting things you can do with JQuery, so you can read the documentation to get a few more ideas on how to use it.

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

Sidebar

Related Questions

How to open One jsp from another through Struts ? For example, I have
If I have the following struts.xml config: <action name=input> <result>/jsp/input.jsp</result> </action> <action name=result> <result>/jsp/result.jsp</result>
Using Spring Security 3 along with Struts 2 and Tiles 2, I have a
I have to tell to the user in a web application(using struts) the download
I have some code within struts.xml like: <action name=viewApplicationPDF class=com.xxx.abc.web.action.XApplicationPDFAction> <result name=success>/WEB-INF/templates/xApplication.jsp</result> </action> I
i have done some pages with Struts 2.(J2EE project) All was ok until i
I upload HTML file into DB as byte[] in blob column, and in another
I have the following question: First of all, I know (and have some academic
What is the rationale for this exception on forwarding of the request. The reason
Problem and my idea on it is just vague as I'm still in design

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.