http://netbeans.org
On Nov 8, 2009, at 4:32 PM, Farshad Rabbani wrote:
Hi Dave,
Why?! At the very least why wouldn't you use something that can
edit and
understand JSP, custom tags, etc.?
So, what would your recommend as something to edit and understand
JSP, custom tags etc.?
T
In the commons classes at http://kenai.com/projects/commons, there is
a class ServletUtils with the following code to extract parameters and
place them into a Collection from a servlet request (which can be
obtained via ServletActionContext.getRequest()):
public static Collection getP
Broadly speaking, the Controller is the filter, the Model is the
action, and the result leads to the View.
On Oct 12, 2009, at 5:58 AM, Arindam Rajbanshi wrote:
i am doing struts 1.2 . Please tell me action is a part of
controller or
model.
and formbean is a part of controller or model. eve
SLAMD (http://slamd2.dev.java.net) is being converted to use MVC via
Struts. I've posted a blog entry describing the functionality with
emphasis on Struts and interceptors at http://blogs.sun.com/terrygardner/entry/slamd_internals_functional
.
--
terry.gard...@sun.com
Blog: http://blogs.sun.c
If you have the code in a workable configuration, you can test it
easily with a SQL query job using SLAMD (http://slamd2.dev.java.net).
This generate load that may point to indexing problems and other
performance-related problems.
On Jun 19, 2009, at 11:16 AM, Edward Song wrote:
Here's a
I vaguely remember something about WebSphere and Apache commons
logging ... will try to dig it up.
On May 26, 2009, at 9:22 AM, Mitchell, Steven wrote:
I have a Struts 2 application that runs fine under Tomcat 5.5 that
will
not run on a fully patched version of WebSphere 6.1. The applicati
One way is via the ServletActionContext, for example,
ServletActionContext.getRequest().getParameter(String);
On May 13, 2009, at 3:16 PM, Jim Collings wrote:
It isn't in the value stack but I need to snag it. Can't find any
examples
of how to do this.
Clue anyone?
Jim C.
smime.p7s
D
java.text.SimpleDateFormat formats a java.util.Date according to a
locale and a patter specified by the client.
On May 6, 2009, at 1:10 PM, Jon Pearson wrote:
If I wanted to output a date/time value in the user's locale, is
there a
simple way to do that? I see there is a tag which would be
Set multiple resource per line in your struts.xml file, separated by
commas, for example:
value="globalMessages,Resources1,Resources2" />
On May 6, 2009, at 4:53 AM, Sonu S wrote:
Hi,
I am trying to use two or more resource files in struts2, like this
struts.custom.i18n.resources=Resou
iling list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
======
Terry Gardner
terry.gard...@sun.com
Skype: Terry_J_Gardner
&qu
les.
That's about it; if you can provide some feedback as to what was
confusing we'll update the docs.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-
esn't found.
i've to use some library?
thanks.
On Fri, Apr 17, 2009 at 20:37, Terry Gardner
wrote:
use addFieldError("fieldName","message");
like:
addFieldError("email",surname + ": invalid email address");
The infrastructure marrie
use addFieldError("fieldName","message");
like:
addFieldError("email",surname + ": invalid email address");
The infrastructure marries this with the field named "email".
On Apr 17, 2009, at 2:31 PM, Stefano Tranquillini wrote:
On Fri, Apr 17, 2009 at 20:29, Security Management <
list-subscr
try
On Apr 17, 2009, at 1:58 PM, Russell Neufeld wrote:
Hi all,
I'm still coming up the learning curve on Struts2, and I've come
across something I can't explain. Hopefully you guys out there can
help me understand this. I have a request parameter "status" set to
"invalid" which I'd
the
two letter code for the language. I only speak English - and that
badly - so mine are all
"_en" for the moment.
Thanks!!
On Fri, Apr 17, 2009 at 10:44 AM, Terry Gardner
wrote:
The resource bundles can also be in files named after the Action, for
example, SlamdStartServerRes
The resource bundles can also be in files named after the Action, for
example, SlamdStartServerResultAction_en.properties, which contains
keys and values (English) for the Action
SlamdStartServerResultAction.java
On Apr 17, 2009, at 10:36 AM, Bhaarat Sharma wrote:
I know we can a propert
fmrTenant.getTerminationReason should return a String, not an array?
On a different subject, consider using generics:
public List getRejectionReasons() { return
this.rejectionReasons; }
private List rejectionReasons;
On Apr 16, 2009, at 9:45 AM, Bhaarat Sharma wrote:
I am using a select ta
yes.
On Apr 13, 2009, at 1:15 AM, 白鹏 wrote:
Has anyone use the validation framework of struts 2.1.6??
??
==
terry.gard...@sun.com
Blog: http://blogs.sun.com/terrygardner
Blog: http://dtfar.blogspot.com
Twitter: http://twitter.com/tgardner
SLAMD: http://slamd2.dev.java.net
Skype: Terry
no tool to do that, It has to be manually split into
different properties file based on either package or action class as
specified by Terry..
~Muthu
Terry Gardner-2 wrote:
.properties file can be looked up based on the current Action, or a
hierarchy is used to search for a key. If the Action
.properties file can be looked up based on the current Action, or a
hierarchy is used to search for a key. If the Action is named
EnterEmployeeAction, then the .properties files are all preceded by
EnterEmployeeAction, viz, EnterEmployeeAction_en.properties, and so
forth. There is also a pa
classes names should begin with upper-case letters, like
"public class ConvMese".
- Java "ifs" should have braces, even if they are only one-liners
On Apr 8, 2009, at 5:52 AM, PEGASUS84 wrote:
ok but i must use personal interceptor for my project
Terry Gardner-2 wrote:
I think you can use date formatters in java.text to accomplish this
with no coding.
On Apr 7, 2009, at 6:36 PM, PEGASUS84 wrote:
I want create an interceptors wich converts the list of select tag
mese in
another string:1,2...
i make this:
package bean;
import com.opensymphony.xwork2.Act
OGNL should catch the underlying log levels, try setting that to debug
or DEBUG or whatever.
On Apr 7, 2009, at 9:03 AM, Security Management wrote:
Is there a way to turn on debugging for OGNL for struts 2? I have a
form
field that is not getting set on my action's object, and one that
wo
);
System.out.println("Intercept() ok!");
* return Action.LOGIN; // Login.action , I want to pass the
redirectUrl to the Login.action. How to do ???*
}
}
==
Terry Gardner
terry.gard...@sun.com
"Vulcans never bluff." -- Spock
---
From org.apache.struts2.dispatcher.Dispatcher.
On Apr 3, 2009, at 12:39 AM, vishalj wrote:
How to i get access to ConfigurationManager in action class
--
View this message in context: http://www.nabble.com/Configuration-reloading-problem-tp22861783p22861783.html
Sent from the Struts - User
25 matches
Mail list logo