Questions tagged [struts-html]

Use this tag for questions related to struts-html tag library.

Struts-html is tag library part of Struts framework. The tags in the Struts HTML library form a bridge between a JSP view and the other components of a Web application. Since a dynamic Web application often depends on gathering data from a user, input forms play an important role in the Struts framework. Consequently, the majority of the HTML tags involve HTML forms.

The HTML taglib contains tags used to create Struts input forms, as well as other tags generally useful in the creation of HTML-based user interfaces. The output is HTML 4.01 compliant or XHTML 1.0 when in XHTML mode.

Attribution : http://struts.apache.org/1.2.9/userGuide/dev_html.html

42 questions
0
votes
1 answer

How to use or other struts tags to iterate part of a list

I have a list named projectList. I have dealt with the first 3 elements in the list in a different way, then I want to iterate the projectList from index=3 to the end. How should I achieve this? Either the solution with pure struts tags or a…
qinsoon
  • 1,433
  • 2
  • 15
  • 34
0
votes
2 answers

how can i get value from Struts logic : iterate tag in variable

i am iterating a Vo in Jsp using struts tag in which i get a integer value
pd27
  • 137
  • 4
  • 13
0
votes
1 answer

to retain values in form using struts tags and dynamic behaviour through Javascript

I have a JSP page containing a ADD button to add the rows(a HTML code) via Javascript. I now need to retain the value in my form by replacing the codes in JSP by struts-tags. How should I then communicate from struts-tags and JS. Since all the HTML…
0
votes
2 answers

jsp property

I need to pass the value from jsp file property in a loop. Here is the code <% for (int i = 0; i < value.size(); i++) {
User
  • 135
  • 2
  • 4
  • 13
0
votes
1 answer

html-el:checkbox gets checked after a Struts validation error display

I have a very simple issue. Below is my JSP code , where I display multiple check boxes in rows. By default all checkbox are checked, and if user wants to ignore certain row, he unchecks that row's checkbox. My issue is, if a row's checkbox is…
JavaKB
  • 438
  • 1
  • 3
  • 18
0
votes
1 answer

In struts, How to dynamically add value to dropdown list if i click radio button

I am a beginner in struts, here my Question is dynamically add value into dropdown list when i check radio button. Already two values were present in dropdown list. if i click radio button two more values should add. i am using struts-html tag…
siva
  • 165
  • 1
  • 4
  • 11
0
votes
1 answer

Load div using Struts 2 jQuery

I am creating a struts based application and i want to load a div based on content in a sj:textfield. I am using struts jquery plugin. The div has to be loaded by passing the textfield contents to a struts action. Can anyone tell me how to do so…
nkvp
  • 342
  • 1
  • 8
  • 15
0
votes
2 answers

I want to add source from property file

I have started using struts .I have hanged in a place ,Code is bellow when i run this code , getText('image.user.login') message does return any value ,…
Prakash Panjwani
  • 2,540
  • 5
  • 23
  • 34
0
votes
1 answer

Struts Tiles application

Am trying a tiles application.Below is my code tiles-defs.xml
rkhm
  • 181
  • 2
  • 3
  • 16
0
votes
0 answers

Struts File upload API abrupt behavior, file gets corrupted when upload on server through struts API

I have web project I which I am using Struts2 framework. In this people uploads the pdf file, for that I have used struts File upload API. But the strange this, every second file upload is corrupted on server, when I try to open file, it gives me…
Dhruv
  • 10,291
  • 18
  • 77
  • 126
0
votes
0 answers

Pass a lot of Parameters on a Form to Action Struts2

I have been working on migrating a web application from Struts1 to Struts2. I have a simple Form with around 45 Fields (basically a grid with data). I have to capture all those in Struts2 Action.I noticed that in struts2 we have OGNL through which…
Neeraj
  • 1,163
  • 2
  • 18
  • 32
-1
votes
1 answer

struts module configuration is not working?

I am not able to make modues in struts.my web.xml configuration file contains the below configuration : web.xml config/admin
Satya
  • 8,146
  • 9
  • 38
  • 43
1 2
3