Hi all,
In my application I have an ActionForm which contains some simple properties of
types: String, int, boolean, but also contains another bean, and indexed
property (as follows)
ChartForm:
- String name;
- SeriesBean[] series;
- MarkerBean marker;
All the properties in all beans have
Any idea how I can set a local JSP variable with the value of a bean property
in a JSP?
In the example below, I want to set tempRole to the value of the
securityRoleName prperty. But This is not working.
% String tempRole = null; %
logic:present name=securityRoleTO
Hi,
Can some one please elaborate the resolution on bug 29151 in Validator 1.2.0:
http://issues.apache.org/bugzilla/show_bug.cgi?id=29151
I'm pretty much confused with what Don has mentioned in para 1 and para 2. I
think instead of mentioning
While I'm not convinced that is a good
idea for most
Filter the List before sent to jsp, can you do it? or you must do it in
jsp?
you can implement your own custom tag extending iterate.
Other solution is to define a variable in jsp with c:set when you found
and item, and only print when variable isn't set or false.
Take a look to jstl common
You can't mix jsp and scriptlet those manner. Scriptlet generates the
output, and the output can't modify the scriptlet code.
Instead of using scriptlets try to use c:set tag from jstl library.
El lun, 15 de 05 de 2006 a las 09:04, J Gotsch escribió:
Any idea how I can set a local JSP
A cleaner back button solution is almost a must-have for logout:
after logout, the back button should not bring back the previous page.
looking at that Gmail does. any idea how it is implemented ?
Hii Frnds
I ahve developed a application using Struts and EJB,
Now i need to create class daigrams of my projrect.
Can somebody clear some doubts
In class diagrams do we incl;ude action classes, form beans classes
,helper classes, (EJB classes) ?
Disclaimer :
This message and any
Lixin.
I think mostly it is no problem to go back in a struts implemented
application. If it ist a problem (e.g. after a logout or if you saved
data) you can take the struts token mechanism to prevend such backs.
Manfred
Lixin Chu wrote:
A cleaner back button solution is almost a must-have
Hi everyone!
I am having problem to use indexed properties.
I need to display a table with the list of transactions and a check box
next to each transaction which can add the transaction amount to a text
field. In my action form I have a list of displayObjects and the
displayObject is like
I wonder why there are no responses today..
Guys, I really need help on this.. Any expert views?
-Original Message-
From: Vidya (Suvarna) Mahavadi [mailto:[EMAIL PROTECTED]
Sent: Monday 15 May 2006 11:42
To: Struts Users Mailing List
Subject: Indexed Properties
Hi everyone!
I am
Hello!
I have an application, which uses session-id's handled by URL-rewriting in a
loginfilter, which checks for an existing session user object.
The user has the choice to open a new window of the application, which must get
a new session-id. If the user opens this new window, there should
Hi,
Need some info.. How do we specify the values for the attributes format
and format key in bean:write?
Thanks,
Vidya
This message and any attachments are confidential and intended solely for the
addressee. If you have received this message in error, please notify Discovery
Ad you have a list of checkboxes,its better to use multi box and try to reduce
javascript code
Harikrishna
Vidya (Suvarna) Mahavadi [EMAIL PROTECTED] wrote:
I wonder why there are no responses today..
Guys, I really need help on this.. Any expert views?
-Original Message-
From:
I am working with a page that has essentially two forms. Top form is search
criteria, a table with three text input boxes and a submit button. Upon
getting results from searching, the bottom table appears. The bottom table is
where I like it to be a second form because that's where users
Can U suggets me an article which clearly explains using struts tokens
mechanisim?
Manfred Wolff [EMAIL PROTECTED] wrote:
Lixin.
I think mostly it is no problem to go back in a struts implemented
application. If it ist a problem (e.g. after a logout or if you saved
data) you can take the
J Gotsch wrote:
I guess my problem is larger than using an if/else statement.
This much is certainly true ;)
I figured how to do that, but I'm iterating over a List in the JSP, and want
to be able to exit the loop whenever certain item exist. I don't suppose
there's a way to do that, is
The method request.getServletPath returns current request uri.Can I get the
previous request uri .ie
I have a filter which is mapped to all .do's .So any .do is called this
filter is invoked.In this filter I can retrieve the requested url.
Is there any way I can determine url from which
You can check the referer field in the request, notice that the
actual field name is misspelled. Also, the field is optional and
browser-dependent if it's sent (but most/all modern browsers will send
it), and a user could spoof this field as well.
You may be better off putting the current URL in
Try the following:
p jsfid=void allowBody=falseRemove Me/p
Hey Gary,
Soon after I created this email I noticed I had an unmatched /span
tag. After I corrected this the void component worked properly. Is
there any support to report on non well-formed templates?
Thanks,
Ryan
Hi everybody:
How can I set the selected value to html:select???
My problem is that I have a html:select field in my site (using struts-tiles)
that remains functional in every page of it. When I submit the form that
contains it (in it's tile), the selected value is loaded from the ActionForm
Is it possible that I can use JSTL to solve this problem?
-Original Message-
From: Williams, Kevin C
Sent: Friday, May 12, 2006 6:27 PM
To: user@struts.apache.org
Subject: Automatic bean introspection in jsp form
Forgive me if this is simple but so far I haven't figured out
On 5/15/06, temp temp [EMAIL PROTECTED] wrote:
The method request.getServletPath returns current request uri.Can I get the
previous request uri .ie
I have a filter which is mapped to all .do's .So any .do is called this
filter is invoked.In this filter I can retrieve the requested url.
http://www.baychi.org/bof/java/20060515
This is today. I'll be there, you can say hi.
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Found at http://husted.com/struts/catalog.html
Use the Action Token methods to prevent duplicate submits
There are methods built into the Struts action to generate one-use
tokens. A token is placed in the session when a form is populated and
also into the HTML form as a hidden
Williams, Kevin C wrote:
Is it possible that I can use JSTL to solve this problem?
JSTL? Don't really see how.
You basically need to be able to generate HTML from an introspected
bean, correct?
Personally I'd skip doing this w/ Struts. Barring that, I'd write custom
tags to do this (if I
OK, I did this tutorial thing that was like webwork for struts devs.
Then last week, a friend of mine did a little load test with it.
We discovered that when I use this code on a form:
===
w:form action=employee.action?action=save theme=xhtml
w:hidden name=employee.employeeId/
From: Ryan Wynn [EMAIL PROTECTED]
Try the following:
p jsfid=void allowBody=falseRemove Me/p
Hey Gary,
Soon after I created this email I noticed I had an unmatched /span
tag. After I corrected this the void component worked properly. Is
there any support to report on non
I saw very similar results:
This is on a Dual Core Intel iMac, running Resin. The command is ab -c
50 -n 1000 (Do 1000 requests 50 at a time) and the DAO is in memory
(hashmap essentially).
Two separate pages, but doing the exact same operations:
But this time, not with JSTL, but with Quercus
Hi,
I am using struts 1.2.9 with tomcat 4.1.27..and Jbuilder X
i have just one jsp in my root context
and my web.xml has configured like below
servlet
servlet-nameaction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
29 matches
Mail list logo