Questions tagged as 'struts2'

0
answers

retrieve date from an ajax call in struts

I have to recover from java a date that is passed as a parameter in the url of the ajax call. The parameter in the URL from the ajax call gets it right, the problem comes from the java part that is null. if(id=='A'){ tipoFactur...
asked by 24.01.2018 / 10:33
1
answer

Send data from a form to an Action using struts2, AJAX, and jquery dialog

Good, I'm trying to collect the content of a form from an Action, but I always get null . What I have done is: JSP: <s:div id="popup-usuarios"> <s:form name="formEditar" id ="dForm" method="post"> <s:textarea id="data"...
asked by 18.07.2017 / 13:55
2
answers

Format the name of a file to save Java - Spring MVC / Struts2

I am looking for a way to save a file, although I have the logic to capture it, I am saving it with the name of the image, what I would like to do is capture the file and format the name for example Date_file_name to be avoided if you upload...
asked by 28.07.2017 / 18:21
1
answer

Label S: Select struts2 jdbc

Hi, I'm learning Struts2 , I'm doing a registration form but I have a question about how I can pull the records that are in a table to the s:select tag (I practically want to make a > combobox pulling data from a field in a sql table)....
asked by 30.05.2017 / 23:53
0
answers

s: submit does not work when migrating struts2 version 2.2.1.1 to 2.3.16.1

My problem is that an application made in struts2 2.2.1.1 in Jboss5 was migrated to a version of struts2 2.3.16.1 and with jboss6, when making the necessary configurations, I managed to make the application work almost in its entirety, my only o...
asked by 04.04.2017 / 01:55
1
answer

Struts2 error Dispatcher

I continue to make a migration of struts 2.3 to 2.5. When I start the tomcat server, I get the following error: sep 12, 2017 12:26:47 PM org.apache.tomcat.util.digester.SetPropertiesRule begin ADVERTENCIA: [SetPropertiesRule]{Server/Service...
asked by 12.09.2017 / 12:37
1
answer

Migrate struts 2.3.X to 2.5.X

I'm trying to migrate struts version 2.3.15 to 2.5.13. When trying to start the tomcat web server, it sends me the following error:    GRAVE: A child container failed during start   java.util.concurrent.ExecutionException: org.apache.catal...
asked by 11.09.2017 / 12:43
1
answer

Struts2 can not find index

Good morning, I'm doing a small project with the new version Struts 2.5.13 and following the guide official I can not get it started. (Error 404, can not find resource). ACTION An action as simple as possible: @SuppressWarnings("serial"...
asked by 19.09.2017 / 17:46
0
answers

Is there any way to work with struts2 or servlets without restarting server?

Is there any way to be working on a java server, either with struts2 or servlets, and not have to restart the server every time you make a change in the backend? that is, let's say that I modify something in the BookBO class or in the ModifyB...
asked by 13.06.2018 / 19:36
0
answers

Upload file with progress bar on the same page in struts2

I need to upload a very heavy file and that's why the progress bar on the same page. I have searched a lot and the interceptor execAndWait does not work for me because it puts the progress bar on an intermediate page. So I developed my ow...
asked by 04.04.2018 / 20:26