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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:11:01+00:00 2026-06-05T02:11:01+00:00

I create a tag cloud.In this cloud i display some values. <c:forEach items=${alltags} var=search>

  • 0

I create a tag cloud.In this cloud i display some values.

 <c:forEach items="${alltags}" var="search">
   <a href='${tags.display}'/>
 </c:forEach>

Now.i have another jsp,where i perfom the searching.I have an input field and the user can give a value and perform the search when click’s on a button. In this specific occasion i’m trying, when the user will click at the link of a value (on the cloud) to send automatically the value of the tag (tags.display) in the input box and make the search.

The searching JSP

<form:form method="POST" commandName="search"> 
  <tr>
     <td><spring:message code="blah"/></td>
     <td><form:input path="apath" /></td>
  </tr>
</form>

<input type="submit"/>

What do you propose me to do?

  • 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-05T02:11:02+00:00Added an answer on June 5, 2026 at 2:11 am

    Well, first of all, a search form should use GET rather than POST: a search is an idempotent operation, that doesn’t modify anything at server side.

    If you switch your method to GET and submit the form, you’ll notice that the URL invoked by the form is something like: http://www.foo.com/app/search?abstracts=<what the user typed>.

    Just make your links have the same href, and the link will send the same request as the search form:

    <a href="<c:url value="/search">
                 <c:param name="abstracts" value="${tag.display}"/>
             </c:url>">${tag.display}</a>
    

    Also, note that your submit input should be inside the form, and not outside.

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

Sidebar

Related Questions

I have this code here in order to create a tag cloud, the tags
I want to create a tag cloud based on tags I assign to products.
This is related to this: Solr powered Tag Cloud However i decided to create
I want to create 3d tag cloud which pic the tags from the XML
This is just a question is it possible to create a hr tag in
I've recently come up with the idea to create a tag cloud like animation
I need a suggestion/idea how to create a 3D Tag Cloud in Java (Swing)
I'm trying to create a dynamic tag cloud using jquery, I want it to
I am using acts_as_taggable to create a tag cloud for my application. I have
I have the following PHP code to display my tag cloud. It seems if

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.