struts

AJAX with Struts 1.x Version

I am having an application developed with Struts1.3, Jboss4.X version and jdk1.5 Now as an enhancement we are planning to implement AJAX to the web application Can you please suggest me Whether I can use AJAX with Struts1.3 Framework? Which Jar I need to use if I Can implement AJAX? At Some website, I realised struts2-dojo-plugin.jar...

Can`t uncheck all in Struts Multibox

Hi. I have a j2ee application running on weblogic. I was confused with my multibox. WHta I know of multibox is the checked items will be passed as array of strings on submit. I don`t know why in my application it works fine when i uncheck a checkbox or more but as long as a single box remains checked. when i uncheck everything what will ...

displaytag, how to integrate checkboxes?

I use displaytag on a list bean : utilisateurBean.I need to add a column on this tab to add a checkbox for selecting an element. Pb : With the displaytag struts looks for the property choixUtilisateur in the bean and not in the formBean. Is there a way to talk struts/displaytag to map this property in the form? I don't understand the mi...

Compress components with gzip - J2EE

I am looking to improve front-end performance of my application, so I used YSlow tool in Firefox. When I ran this tool for my app, in the YSlow grade tab it showed up a issue 'Grade F on Compress components with gzip'. Seems to be that we need to compress the files(js, css) while sending from the server to client to increase the server r...

Initialize Form B coming from form A with Action X in between

Struts 1.1 Everything is in the title : I want to initialize Form B coming from form A with Action X in between. X gets form A input, validate it and put some of it in form B of jsp 2. I have a bad solution : I merge the 2 forms in one and each jsp use it. That 's not an elegant one so I 'm looking for this one, I 'm sure it exists. ...

Switching between HTTP and HTTPS with SSL-Ext and Struts 1.2.9

Hi, I'm using the sslext extension for Struts to enable/disable passing data over HTTPS. I've implemented it so that https is only used for credit card processing. Its working fine when switching to https but I cannot get it to switch back to http. I've tried hitting another action where I've specified the following: <set-property pr...

Struts - struts-taglib.jar not found

I am new to Struts. I downloaded the struts from its website. Now I want to refer struts-html.tld file in one of my JSP files. But when I looked for struts-taglib.jar file in the downloaded struts, I didn't find it. I downloaded Struts2 ...

What framework would allow for the largest coverage of freelance developers in the media/digital marketing sector

This question is not about which is the best, it is about which makes the most business sense to use as a company's platform of choice for ongoing freelance development. I'm currently trying to decide what framework to move my company in regarding frameworks for web application work. Options are ASP.NET MVC Django CakePHP/Symfony etc...

Struts - In which jar file all the .tld files located

I am developing a Struts based web application. I am new to Struts. I want to use struts-html.tld taglib, provided by struts, in my jsp pages. When I searched on net, I came to know that prior to Struts 1.2.9, we need to locate the .tld files manually. But now these .tld files are packed in .jar files and we need to just use those jar...

struts2 rest plugin on google app engine

I am trying to deploy struts2 with the rest plugin onto the Google app engine... I have copied the showcase files to a GAE project created in Eclipse. The compilation and upload works fine. When I hit the index.jsp, which forwards me to /orders I get a 404. When I check the logs, there is no error, just a warning (as below). The Orde...

Struts - Taglib directive in a JSP page for .tld provided by Struts

I am developing a Struts based application. I am new to Struts. I want to use html tags , specified in a taglib directory provided by Struts, in a JSP page. But don't know how to use it. I know how to use taglib directive but I came to know from sources that the .tld file has been embedded in a .jar file after version 1.2.8. I am using ...

Struts - Alternative of <html:errors /> to display error messages in Jsp?

Struts - Alternative of <html:errors /> to display error messages in Jsp? ...

Struts - Exception - The Struts dispatcher cannot be found

I am using Struts 2.1.8.1. I want to use tags, supplied by struts, im my jsp pages. e.g <%@ taglib prefix="html" uri="/struts-tags" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1...

Java - Commons-fileupload.jar - Problem

I am trying to upload a file using commons-fileupload-1.1.1.jar file (I know it is not the latest version but it comes with struts 1.3.10 so I am using the same). Now the problem is when I parse the request (HttpServletRequest) to get a List of FileItems, I am getting an empty list. DiskFileItemFactory factory = new DiskFileIte...

sample open src SIMPLE j2ee skeleton application

I have worked on java/jsp project at university leve.I have develped apps in java,jsp , servlet and hibernate.But i think my coding style is not up to level.Means it is not properly modularized . I have seen many opens src CMS and other ope srcs apps code but they are too complecated to understand. I want to see the code of a open src sk...

Struts 1 - problem in showing ActionMessages through a JSP page

I am using Struts 1.3.10. I am trying to display ActionMessage and ActionError set by Action class through a JSP page. The problem is that the ActionErrors are displaying well but ActionMessages are not displaying. When I debug the application, I found that the messages (reference variable of ActionMessages) contains messages. I also sa...

Struts 1 - How to display ActionMessages

I am displaying ActionMessages through a JSP file by the following command: <logic:messagesPresent message="true"> <ul id="messsages"> <html:messages id="msg" message="true"> <li><bean:write name="msg"/> </li> </html:messages> </ul> </logic:messagesPresent> Now I want to display only selected messag...

[Java] How should I unit test Spring, Hibernate and Struts using junit

What is the best practice? How should I implement it so that the database isn't polluted? ...

Enable Tiles devMode like Struts' devMode to reload tiles.xml with each request.

Does Apache Tiles have a devMove like Struts that would reload the tiles.xml file with each request? If so, how can this be enabled? ...

Problem to serverside validation using struts validator framework.

hi friends, I have created the application in which when session is timed out the control is forward to login page.But login page is comming with error message with required filed error.That is the form is submitted at the time of session timed out. my code of action class is - public ActionForward login(ActionMapping mapping, ...