Hi Seshagiri,
Thanks for your replay.
I found the solution for that. As prepare() method of Preparable interface
will be called before validation interceptor, I have placed my code inside
that.
Thanks,
Sheeva
On Thu, Feb 19, 2009 at 11:44 AM, Seshagiri V seshagi...@kensium.comwrote:
Hi,
Hi,
Check whether you have same name for list name in s:select tag and in
action class.
It seems like you have 'i_countries' in action class and 'countries' in your
jsp.
Thanks,
Sheeva
On Thu, Feb 19, 2009 at 10:53 PM, Sidharth Bhatia
sidharth.bhat...@gmail.com wrote:
Hi,
Thanks for the
Hi,
I profiled using JProbe and for a simple 'hello world' jsp I found
that JSTL is taking a little more time than OGNl.
OGNL :
org.apache.jsp.example.HelloWorld_jsp._jspService(HttpServletRequest;
HttpServletResponse)
Cumulative time spent = 1103
Hi,
I profiled using JProbe and for a simple 'hello world' jsp I found
that JSTL is taking a little more time than OGNl.
OGNL :
org.apache.jsp.example.HelloWorld_jsp._jspService(HttpServletRequest;
HttpServletResponse)
Cumulative time spent = 1103
Hi,
i wasn't able to understand Your problem,
so i was thinking that the code You cited below was about the problem
discussed on my blog.
If it's not this problem than try to describe the problem in other words,
i simply don't get it.
Best greetings,
Paweł Wielgus.
2009/2/20 mthalis
Mohan Radhakrishnan wrote:
I profiled using JProbe and for a simple 'hello world' jsp I found
that JSTL is taking a little more time than OGNl.
OGNL :
org.apache.jsp.example.HelloWorld_jsp._jspService(HttpServletRequest;
HttpServletResponse)
Cumulative time spent = 1103
mahanare wrote:
I would like to know where can i get all possible values for structs
constants?
constant name=struts.convention.action.suffix value=Controller/
It's a string, you can make it anything you want.
constant name=struts.convention.action.mapAllMatches value=true/
I'm almost
hi
i am using struts 2.0.11.2
i m filling vector somthing like
while (rs.next()) {
Object [] record = {
new Integer(rs.getInt(NodeId)), // Node
Id
rs.getString(NodeDisplayName),
mthalis wrote:
i have already implemented login, logout parts using struts(jsp). But the
case is after logged out, when i press back button it is redirected to the
particular page that i was in before logged out. these are my codings, and
plz kind enough to give me reasonable answer.
//set
Hi,
in an iterator, the object can be accessed by [0]. After that, it is as
in Java. So, with something like that it should work :
s:iterator value=getDTl
s:prpoerty value=[0].{1}/
/s:iterator
Regards
Sébastien
Hardik Shah a écrit :
hi
i am using struts 2.0.11.2
i m filling vector
Thnaks
but when i print like
s:property value=[0].{1}/
it shows value in all same like [1,1]
i could not understand properly
what it do
please help more and be more descriptive
Sébastien Domergue wrote:
Hi,
in an iterator, the object can be accessed by [0]. After that, it is as
in
Thanks
These values, as well as the rest, are documented on the convention
plugin page:
http://struts.apache.org/2.x/docs/convention-plugin.html#ConventionPlugin-Configurationreference
Dave
--
View this message in context:
Hi,
I took a simple JSP using Struts tags and one using equivalent JSTL
tags and deployed the WARS one by one in tomcat and used JProbe to attach to
the session. I filtered the call graph to show OGNL only and then JSTL only.
Actually our intention was to reduce the performance
Mohan Radhakrishnan wrote:
I took a simple JSP using Struts tags and one using equivalent JSTL
tags and deployed the WARS one by one in tomcat and used JProbe to attach to
the session. I filtered the call graph to show OGNL only and then JSTL only.
That doesn't really help me much.
I
When you are inside an iterator, the context becomes the objet as it is
in a for except that there is no explicit name for the property
handled. In struts, it's a generic name : [0]. If you just want to
display the toString() result, you just have to write : s:property/
without more parameter.
Hardik Shah wrote:
while (rs.next()) {
Object [] record = {
new Integer(rs.getInt(NodeId)), // Node Id
rs.getString(NodeDisplayName),
// Display Name
Hi,
I'm trying to use the sx:datetimepicker with Struts 2.1.6.
The datetimepicker is embedded in a form with theme=css_xhtml.
I did not find a way to set for the datetimepicker the theme explicitly
and right now it generates a table row (tr) for the datetimepicker while
other
form
Here is the code:
action .java:
public class EditColActionInit extends Action {
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse
response)
throws Exception {
// form
I have the same exact problem now after upgrading to 2.1.
I have the following model-driven validation defined (which works fine in
2.0):
@VisitorFieldValidator(message=)
Now I get the same exception as above when validation fails.
If I add in any kind of text into the message param, it works
Hi
Im using Struts 2.0.14 and Ive created a converter for Decimal types and
configure them in xwork-conversion.properties:
java.lang.Float = ve.com.tcs.commons.view.converter.DecimalTypeConverter
java.lang.Double = ve.com.tcs.commons.view.converter.DecimalTypeConverter
Please open a jira ticket with as much information as possible.
thanks
musachy
On Fri, Feb 20, 2009 at 12:33 PM, billgloff bgl...@citytechinc.com wrote:
I have the same exact problem now after upgrading to 2.1.
I have the following model-driven validation defined (which works fine in
2.0):
Hi there,
after doing some search here and googling I still need some directions on
the simplest way to make my forms s:textfield have a default
labelposition=left attribute. I am using css_html theme... ¿do I need to
extend it?
thanks,
Ignacio
--
View this message in context:
In your index.jsp if seems you are saying
s:form action=loadAmrita
so the framework is searching the default / namespace.
Try
s:form action=/Amrita/loadAmrita.action
**
A Good Credit Score is 700 or Above. See yours in just 2 easy
steps!
Wasn't aware of it (the separator) and that any single character does the
separation trick. Thanks for the pointer.
Chris
-Original Message-
From: Dave Newton newton.d...@yahoo.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Thu, 19 Feb 2009 12:58 pm
Subject: Re:
What do you have inside the iterator tag?? Hard to diagnose without knowing
what you have. Some possible causes:
A a possible OGNL expression error inside your iterator tag.
If the Sample objects are not built-in java objects (String, Date..) you might
be having type conversion problems?
Hijust to share some of my experience and see what you decide to do
I have worked on a project which the end result is packed into a jar
(actions and stuff)and will be throw into and coexist with other project.
To run the project, I simply put the jar and related jsp and struts setting
xml's into
yap you right
newton.dave wrote:
Maybe try [0][n]?
But yuck... That's a horribly brittle way to write code. At *least* use
a map so you don't have to rely on positioning :/ Consider using an
actual object, as well, thus eliminating the bulk of this question.
Dave
I will use larger datasets and property access also.
We plan to profe right from the beginning but I am not sure how JSTL can
replace Struts tags to increase performance. I understand that in order to
display data we can use JSTL. Struts tags are required to use the framework
fully. Isn't it ?
28 matches
Mail list logo