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 ?
--
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
>
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
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?
Are
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
To: Struts Users Mailing List
Sent: Thu, 19 Feb 2009 12:58 pm
Subject: Re: @Result annotation (2.1.6) -- name does not defau
In your index.jsp if seems you are saying
so the framework is searching the default "/" namespace.
Try
**
A Good Credit Score is 700 or Above. See yours in just 2 easy
steps!
(http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport
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:
http://www.nabb
Please open a jira ticket with as much information as possible.
thanks
musachy
On Fri, Feb 20, 2009 at 12:33 PM, billgloff 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):
>
> @VisitorFieldV
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
java.math.BigDeci
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 work
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 arrive
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 eleme
Hardik Shah wrote:
while (rs.next()) {
Object [] record = {
new Integer(rs.getInt("NodeId")), // Node Id
rs.getString("NodeDisplayName"),
// Display Name
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 :
without more parameter. If you wa
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 ask
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 implic
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:
http://www.nabble.com/Struts2-rest-plugin-%3A
Thnaks
but when i print like
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 Java. So, with someth
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 :
Regards
Sébastien
Hardik Shah a écrit :
hi
i am using struts 2.0.11.2
i m filling vector somthing like
while (rs.next()) {
Ob
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 ses
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"),
mahanare wrote:
I would like to know where can i get all possible values for structs
constants?
It's a string, you can make it anything you want.
I'm almost positive the other possible value is "false".
You can make it anything you want.
These values, as well as the rest, are doc
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
--
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 :
>
> Give me
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,
Check whether you have same name for list name in 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 sugge
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 wrote:
> Hi,
>
> Please send a snippet
28 matches
Mail list logo