hi,
We are developing a web application using java,Struts2.0,Apache web server and a Postgres Database.
I need a requirement to run a scheduler dynamically(Morning and Evening) so that i can insert updated data in to the database and generate the report on daily and monthly basis.
please reply me soon as this is immediate requirement....
I am working on a basic Struts based application that is experience major spikes in memory. We have a monitoring tool that will notice one request per user adding 3MB to the JVM heap memory. Are there any tips to encourage earlier garbage collection, free up memory or improve performance?
The application is a basic Struts applicat...
I have a form field of type org.apache.struts.upload.FormFile. I would like to validate the field's size with a custom struts validator. To get the field's value, i have used for a text field the next code:
String value = ValidatorUtils.getValueAsString(bean,field.getProperty());
However, how do i get the value for a FormFile field? ...
I have two or three i18n files in my struts application. I am able to switch between these by setting the Global.LOCALE_KEY variable in the session.
Is there a way to set a default locale for the application (probably in the struts-config.xml file, I guess) ? Is the session the only place to set the locale ?
Sure, I could intercept the...
I want to learn how to use Struts 2 and I created a simple application following a tutorial I found.
I've created a <MyActionClass>-validation.xml file and I wonder how can I translate the validation messages to multiple languages?
<field name="password">
<field-validator type="requiredstring">
<param name="trim">true</param>
<...
I need some information to understand design decision:
Is Struts a better choice than Spring MVC? I hear about Strus-Spring-Hibernae combo - Is struts used at MVC layer because its a matured framework than when compared to Spring MVC?
Any one used this combination for projects or aware of issues?
...
I need to create value objects from struts form beans. Is it a good idea to use Bean Utils or create the VO manually?
Anyone faced any isues with bean utils?
...
I am pretty new to both Struts and Spring. I need to know how to access a Spring Service in a Struts ActionForm. Even a pointer in the right direction would be appreciated.
...
I have found Struts Console Tool but its development stopped in 2004, so it works with Netbeans 3.2.
Is there a way to install it under Netbeans 6.5?
Are there any options to edit struts-config.xml above the XML level?
...
What I would like to do is add dynamically HTML input fields in one page, and each one of them correspond to an element of a struts array property. Let's say I have a number of identical fields in an HTML page:
< input type="file" name="myfile" />
and when the form is submitted, I want each field to correspond to an element in a Fo...
HI,
I m doing the folling stuff in the jsp code I need to do it using Struts or using JSTL tag can any body have relevant idea please share..
The following is my JSP code
<%
Object category = request.getAttribute("categoryDetails");
Hashtable<String, Hashtable<String, Integer>> cat = (Hashtable<String, Hashtable<Str...
Has someone tried to integrate extended JSF-Implementations (like Icefaces or CaptainCasa Enterprise Client) with Struts (Classic), maybe with the help of the bridge Struts-Faces?
Because my experience is that only the standard components are rendered without problems. Please tell me yours!
...
The customer wants us to "log" the "actions" that a user performs on our system: creation, deletion and update, mostly.
I already have an aspect that logs the trace, but that works at a pretty low level logging every method call.
So if a user clicked on the button "open medical file" the log would read:
closePreviousFiles("patient zer...
What is the difference between Atg and Struts?
...
I want learn it for abc.
And I'd like to know what's the difference between struts 1 and struts 2.
...
For the past few years I've focused on back-end development so my javascript & css skills are lacking. I'm volunteering as a webmaster for a site and would like to spruce up the form validation (currently there is none).
My problem:
Basically I have one form with a few name fields, an email address and a phone number. When the form is ...
I am interested in building a vehicle tracking system using GPRS. However, I have some questions for anyone who has done this before:
Is GPRS the best technology to use? Any problems people are aware of?
I am planning on using Java/J2EE - is there any better technologies?
If someone has built this before - do you have some examples of ...
In my struts 2.0.12 application I'm trying to use s:datetimepicker
but it does not render.
Firebug error: dojo is not defined
on dojo.require("dojo.widget.DatePicker");
My jsp page
<%@taglib prefix="s" uri="/struts-tags" %>
.
.
.
.
.
.
.
.
What's wrong? Did I miss something?
...
Hi,
When I submit a form in HTML, I can pass a parameter multiple times, e.g.
<input type="hidden" name="id" value="2">
<input type="hidden" name="id" value="4">
Then in struts I can have a bean with property String[] id, and it'll populate the array correctly.
My question is, how can I do that in Javascript? When I have an array, a...
Hi
i'm using maven 2.1-SNAPSHOT as eclipse plugin.
My project structure is like this:
src/main/java
-model
-service
-action
src/test/java
empty atm
src/main/resources
empty atm
src/test/resources
empty atm
src/main/webapp
-js
-dojo
-META-INF
-WEB-INF
web.xml
appcontext.xml
...