2000 organizations, including eBay, Ericsson, and Lockheed Martin, now work smarter with Corporate Accounts. Save over 36%!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested Struts Solutions: 1 - 25 of 198
 
I have problem with populating select values using Struts 2. It is simple sample application that I am writing with purpose to learn Struts 2. Notice part: <s:select label="Select owner" name...
Hello experts, Im using struts 2 for a project and I want to store an object in a session, so that I can have access to it from all Actions and JSPs. I found this using Google's code sea...
My package is com.mycompany.mypackage - i.e. classes are com.mycompany.MyClass etc. I'd like to log INFO from my package in a dedicated log file, using log4j. I need to use the XML configurati...
Hi, I have two html select box for selecting templated for a user. one select box have static values and another one has the value when user clicks on add button to add options from static se...
Hi, I'm trying to use struts 2  token-session interceptor to handle the double submissions in my application. Here is my action class signature: public class BusinessAction extends Base...
i have some xml doc which i want to unmarshal using JAXB, but i think i need JAXB compiler plug in or something in my eclipse to run the code. i am not sure about what has to be done, lwt me k...
Hi Experts! I've been struggling with this seemingly easy question for some time now. Maybe my question is wrong, because what I am actually after is how to do a RequestUtils.computerUrl()....
I'm trying to get a dynamic table to work with <display:table>, and I can't figure it out. I've gotten this to work: <table >                            <tr class="tableHeader">      <logic:iterate id...
If I have the following struts tag lib call in my JSP: <bean:define id="repMap" name="repMap"/> Where does the bean 'repMap' actually come from? It appears that it is set as an attribute...
Validation in Javascript for Alphabets only
Hi All... I am facing a problem...I am trying to add the dynamic rows to a table...but i am not able to succeed that..pls i need ur help in this..  Description: There is a Expense Table.....
Hi, I've defined the validation for my form fields in the validation.xml (I'm using struts 2). I'm having trouble validating a multiple select box. I want to do a required field validation...
I'm new in to Struts 1.3.8 I have very simple exmaple to work on, please check out the attachment everything seems ok but when I click on below link in JSP  <html:link action="/studentInfo...
I'm trying to create a Struts 2 Interceptor that will change the request to HTTPS and forward all of the parameters.  I must have made a mistake in setting it up because the intercept() method...
We are currently using Struts 2 to develop a Java application. We have used a Struts 2 tag <s:checkboxlist> The problem is when we have a big list of items it just lists them and wraps arou...
Hi Can i get some code how to enable and disable a tab in struts tabbed panel. I have three tabs in tabbed panel ..default show will have two tabds showed before button click and after butt...
I'm a beginner for Struts I need to add a date field to the JSP form. I do NOT know how to add a calendar and populate the selected date from to the form? eg.where  the calendar image...
Hi Experts, How to set the object to session struts2, if i set the object to session how to get the session object in jsp, like i have list in list object i have beanObject, this list i ha...
Is it possible to validate integer field in Struts 2. I tried to do next in BookAction-saveBook-validation.xml: <field name="book.pagesNo">          <field-validator type="int">              <mes...
Hi, I am trying to submit a list of 'CustomerDetailsDTO' bean comprising attributes ie. name, address in 'CustomerDetailsForm' using the following code. My form CustomerDetailsForm.getListCus...
I have been asked to research an opinion on the use of STRUTS. We are redeveloping a web application and we know that we will be using STRUTS. The problem is that we are unsure as to which ver...
Hi All, i am using Struts 2 validator framework for front end validation. I am using the Float Validtion. It checks for Float in the field correctly , No Issue, But the problem is that it ski...
In a JSP page using struts I hava a List of Strings in the request. The JSP page has an input field called filterName. When the user clicks accept, I want to iterate through the Java list to c...
Hi, I am trying to run a struts 1.1 login example in RAD 7.0 within websphere 6.1 server. My code looks as follows. It has simple form, action, three simple jsps and a validation. When i tr...
Hi, im coding survey web application in struts and i have this problem. i need to get values from multiple choice matrix like from two dimentional checkbox array. i have this html output ...