Frank,
If the File class does not normalize the string used to create the
File, then there is a bug. There seems to be a bug in one version of
Linux and that has been reported to Sun. The constructor for File is
as follows:
public File(String pathname) {
if (pathname == null) {
On 6/9/05, Carlos Fernandez <[EMAIL PROTECTED]> wrote:
> AbstractJsfTestCase, implements a public Test suite() method. Eclipse
> checks for this method when you tell it to run a class as a unit test. If
> this method it exists it will use the returned Test class to determine what
> tests to run.
I should be able to make it as well.
Craig
On 6/9/05, Don Brown <[EMAIL PROTECTED]> wrote:
> As the attached message describes, there is a meeting of Java web
> developers the night before JavaOne starts. I'm planning on attending
> and hope to see many of you there.
>
> Don
>
> Origi
AjaxTags currently supports the 1.2 branch (1.2.0 through 1.2.7). I
don't currently have plans to support 1.1, although that could change if
enough people express an interest.
Frank
Lixin Chu wrote:
Hi,
I am using Struts 1.1, do I have to switch to 1.2 ?
thanks
lixin
On 5/17/05, Dakota Jac
Hi,
I am using Struts 1.1, do I have to switch to 1.2 ?
thanks
lixin
On 5/17/05, Dakota Jack <[EMAIL PROTECTED]> wrote:
> Congratulations! Good work!
>
> On 5/12/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> > Finally got it all set up on http://struts.sf.net. The first "official"
> > rel
On 6/9/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
> So what you are saying is that really all you need to do to implement
> this feature is to keep the struts mapping the same and put no-cache
> instructions in the page header.
>
> I can do that anyway without using DialogAction, right?
I found th
Try:
">
...
where 'name' is the name of the attribute your resource bundle is stored
under.
L.
Chris Loschen wrote:
Hi Wendy,
Thank you very much for your reply.
Yes, I also thought that I could test the key, then check to see if the
value was empty. But just how to do it is elu
I remember I have faced the similar problem before with only just servlets.
Previous problem was, had a servlet containing a class level variable which
holded the data. When multiple users hit the servlet, then the response data
was switched to the users.
Here, in the action class, there is an
I have code that works correctly under 1.2.6. I changed to
1.2.7 and now my validation depends="required" are not working.
Has anyone else ran into this. Replacing the jars was the only
change that I made.
Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Appriss, Inc.
ICQ# 2
Did someone say taglib for alternating row colors? I suggest Displaytag.
See:
http://www.displaytag.org/example-columns.jsp
Regards,
David
-Original Message-
From: Ray Madigan [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005 11:25 AM
To: Struts Users Mailing List
Subject: RE: Toggl
Ray Madigan wrote:
It is hard for me to believe you got past a single user with out resetting
the properties, unless you only write to them. If you use the form
properties to assist in populating your form, the properties need to be
reset.
Well, if I'm hitting a form with existing values (li
Not sure if you are looking for canned buttons or your own custom jobs,
but if you are OK with a Windows program, I highly recommend Xara
WebStyle. Even though it uses templates, and thus you are somewhat
limited in what you can do, there are a TON of templates, and you can
modify them a fair amou
Sorry guys, meant for this to go to the list only...
On Thu, June 9, 2005 4:35 pm, Martin Cooper said:
> Nope. If the upload came from a Windows system and the server is running
on *nix, then the system separator is *not* what you want. You'd be
looking for '/' in a path that uses '\' as the se
About 3/4 of the way down in the article 'j2ee design patterns' authored by
William Crawford and Jonathan Kaplan
http://www.devx.com/assets/download/7254.pdf
Read the 'criteria' 'convert your session beans into business delegates' --
very instructional to the scenario you have described
HTH
Ma
hi,
My application use Tomcat's security mechanism to authorize users. My
question is: Is it possible to add user a new role without forcing him
to logout. I need this because in some circumstances user has different
roles (for instance when in session there is object A user has roles:
roleA,
hi,
I know this group focus on other issues but could anybody suggest me any
good program for drawing buttons and writing text on transparent
background. At this moment I use GIMP but fonts looks woefully !!!
Which is the best font for these things
-
You wrote:
As using DynaValidatorForm, not sure how to reset the properties.
If you look at the javadoc on this class you will see a reset method where
you need to reset the properties to their initial state.
-Original Message-
From: croffman [mailto:[EMAIL PROTECTED]
Sent: Thursday, Ju
The class org.apache.struts.action.ActionForm has a reset method. For a
long time I would add form property variables without handling them in the
reset method. I would get old values in the form and was getting spurious
data in the forms.
It is hard for me to believe you got past a single user
Thanks for the quick responses.
Here is some more info:
1. >Is it worse with more users?
This was done by manual users, before load testing. Couldn't try that now.
2. >Do you keep any non-synchronized user-specific info in an instance of a
class that is only instantiated once (like a s
both concepts are applicable in that
scoping of session based information should ultimately pull from
user-neutral entity (such as Class Object) whose end of life is not
dependent on either client session passivation or client session termination
Any underlying synchronisation mechanisms for ent
Not mine, Michael. I am just saying that it is really incredible that
you came up with the exact same code to solve a problem and then that
solved the problem for you and you did not even know the problem
existed. I do find that very hard to swallow. Why shouldn't I?
Random solutions to a probl
On 6/9/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
> your further discussion lost me since I only have a vague concept of
> what the terms web control and portlet actually mean.
I guess we actually need to establish some difinitions. I searched
Struts list but did not find relevant info. If it is th
I'm on several high-traffic lists. Here's my recommendation:
- though people often try this as a way to reduce the clutter, don't use
digests (delivery option where you get a bunch of posts crammed together
into one email message), since they are hard to read and even harder to
reply to -- digests
Well, that's certainly something I can consider for the future. For
right now, our product is already pretty huge, and I think I would get
shot if I tried to add another set of jars to the classpath, even if in
the long run we'd be better off.
The best solution I've been able to come up with is to
Ray Madigan wrote:
Also - are you resetting all of the properties in your forms classes. If
not, some of the data set by one user can bleed over to another user.
?! Really? I was not aware of that; we deployed and load-tested a Really
Big Sruts app internally at a large company. Under what
Also - are you resetting all of the properties in your forms classes. If
not, some of the data set by one user can bleed over to another user.
Hope that helps
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005 10:15 AM
To: Struts Users Mailing Li
Martin Gainty wrote:
-synchronisation of all method calls
Why all? (Really, why _any_, since you can synchornized any shared data
structures.)
-scoping of data entities(assuming you are implementing with beans)
Unless he's storing user data in application scope, this shouldn't be an
iss
OK fine on the robustness front - I off-handedly said robustness because
I normally equate less code with robuster code. But don't let's bother
discussing that.
So what you are saying is that really all you need to do to implement
this feature is to keep the struts mapping the same and put no-
I tryied it and worked properly.
In my action I did:
MyFormBean f = (MyFormBean)form;
request.setAttribute("myList",f.getMyList());
and in the JSP I did exactly like noted in the last mails.
But, what if my collection is a field of my form bean? can't I do like the
following?
the 2 things I would look at immediately
-synchronisation of all method calls
-scoping of data entities(assuming you are implementing with beans)
Anyone else?
Martin-
- Original Message -
From: "Dave Newton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, June 09, 20
AbstractJsfTestCase, implements a public Test suite() method. Eclipse
checks for this method when you tell it to run a class as a unit test. If
this method it exists it will use the returned Test class to determine what
tests to run. Since the Test returned only includes AbstractJsfTestCase -
Ec
croffman wrote:
Using Struts & EJB's - For load testing, facing a problem, that if 10 multiple
users are accessing at the same time, only one user is getting other user data
(WRONG data) out of 10 users. But all other 9 users are getting correct data.
The wrong data for that one user, is from
Chris,
Struts contains an EL package for its tag libraries. Yes, you can use EL!
But it doesn't matter if you're using Struts or not. If you're using a
Servlet 2.3 container, you can use JSTL which you want to use. If possible
avoid the and tags, and use JSTL instead. These are built
with EL.
Thanks for your help, Paul.
I'm trying that, but I'm getting the same results as I did when I used
originally. That is, I'm getting the key, not
the value, so I still need to get the value to determine whether it's
empty. But when I try to define a bean as the value of , it fails when that value
Does anyone know hoe to get around using the tiles tags to utilize ${} EL
expressions.
I have asked this question before, but not as explicitly.
I need to be able to either
...
or
The reason is all of my pages are context driven from the perspective of the
user and the business they pe
On 6/9/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
> Yes but what about Netscape 4? only kidding :)
>
> The effect is neat however you do have to implement the no-cache and you
> have to turn off auto-validation and then rely on the browser, so I
> wonder whether it is really neat enough to be
Chris,
Use to bring in the key.
You can then use EL to test if it is empty or whatever.
Thanks,
Paul
-Original Message-
From: Chris Loschen [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005 11:37 AM
To: Struts Users Mailing List
Subject: RE: Test whether an application resource i
Using Struts & EJB's - For load testing, facing a problem, that if 10 multiple
users are accessing at the same time, only one user is getting other user data
(WRONG data) out of 10 users. But all other 9 users are getting correct data.
The wrong data for that one user, is from one out of 9 other
As the attached message describes, there is a meeting of Java web
developers the night before JavaOne starts. I'm planning on attending
and hope to see many of you there.
Don
Original Message
Subject: [sv-web-jug] JavaOne Social Gathering in San Francisco on 6/26 at 8pm
Date: M
This is all you need
You can store your Collections in either the application/session/request/page
scope. Be careful which one you store it in and what names you use as the key
as the bean will check them all!!
property is the name you give to the select.
collection is any type
Hi Wendy,
Thank you very much for your reply.
Yes, I also thought that I could test the key, then check to see if the
value was empty. But just how to do it is eluding me. I think part of
the problem might be this:
USAGE NOTE - If you use another tag to create the body content (e.g.
bean:write),
On 6/9/05, Dakota Jack <[EMAIL PROTECTED]> wrote:
> I still am absolutely amazed that you "came up with these tricks"
> without even knowing that the difficulty was that you could not
> directly reference a name in name value pair because includes
> an .x and a .y with the name. The code you dupl
Hi All!
I've never used this tag before and I'm not so good with taglibs then
please correct my mistakes if I commit any.
I got the following example in a recent thread here in this mailing list:
Ok, few things I could already understand, in the html:select tag there
are
Your right, I asked before i realized that javadoc could be launched against a
class with no comments at all. It was my erroneous understanding that you
needed
/**
* whatever whatever
* whatever whatever
*/
in your code before javadoc could be generated..
-Original Message-
Fr
From: "Chris Loschen" <[EMAIL PROTECTED]>
> Quick synopsis: I have localized i18n messages defined in my tiles
> definitions which are sometimes empty. I need to test that the value
> associated with a given key is not empty before I proceed with further
> processing. I can test that the key is non
From: "Brian McGovern" <[EMAIL PROTECTED]>
I want to add javadoc comments to all my classes.. but am looking for a
way to do this automatically.
What's the point? Until there is an automatic tool that adds a useful
description based on an understanding of a class's responsibilities,
I'm sorry to keep sending this over and over again, but I'm really
stuck. If this isn't possible, could someone let me know? Then I could
try to find an alternate path.
Chris
-Original Message-
From: Chris Loschen
Sent: Wednesday, June 08, 2005 5:09 PM
To: Struts Users Mailing List
Subj
From: "Brian McGovern" <[EMAIL PROTECTED]>
> I want to add javadoc comments to all my classes.. but am looking for a
way to do this automatically.
I use a JEdit plugin called "JavaStyle" that generates JavaDoc stubs in
addition to fixing indenting, etc. Looks like it's part of this project:
http
try www.husted.com/struts/resources/rowtag.zip
This taglib is really easy to use.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005 5:01 AM
To: user@struts.apache.org
Subject: Toggle Colors between Rows
What is the best way to toggle col
Try Mutt
http://www.mutt.org
Its massively configurable, organises mail via thread
(you can set your own editor and parameters e.g.)
set editor = "/usr/bin/emacs %s --eval '(setq make-backup-files nil)'"
Viel Gluck,
Martin-
- Original Message -
From: "Manju" <[EMAIL PROTECTED]>
To: "Stru
Have you looked at ant.apache.org.
ant has a javadoc and a javadoc2 task.
-Original Message-
From: Brian McGovern [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005 7:17 AM
To: Struts Users Mailing List
Subject: [OT] Automatic Javadoc - ing
I have just pretty much wrapped up the de
You can read posts here:
http://marc.theaimsgroup.com/
also
http://www.mail-archive.com/
Erik
-Original Message-
From: Manju <[EMAIL PROTECTED]>
Sent: Jun 9, 2005 10:51 AM
To: Struts Users Mailing List
Subject: Is there anyway to access this forum online?
Hi guys,
I recently sub
http://marc.theaimsgroup.com/?l=struts-user&r=1&w=2
http://dir.gmane.org/gmane.comp.jakarta.struts.user
-Original Message-
From: Manju [mailto:[EMAIL PROTECTED]
Sent: 09 June 2005 15:52
To: Struts Users Mailing List
Subject: Is there anyway to access this forum online?
Hi guys,
I
Hi Manju why don't you do one thing created login to any
Free mail service.
Google is good one.
-Ni3
-Original Message-
From: Manju [mailto:[EMAIL PROTECTED]
Sent: 09 June 2005 15:52
To: Struts Users Mailing List
Subject: Is there anyway to access this forum online?
Hi guys,
I re
Instead of
> ActionMapping nextMapAction =
> this.getServlet().findMapping("/createadvertisement");
try
ActionConfig nextMapAction = ModuleUtils.getInstance().
getModuleConfig(request).findActionConfig("/createadvertisement");
Hubert
On 6/9/05, Thibaut Lassalle <[EMAIL PROTECTED]> wrote
Hi guys,
I recently subscribed to this mailing list...and within couple of
days my mail box has flooded with mails from this user list. I like to
read, ask and respond to these mails at my leisure.
Is there any way that I could access this forum online or read these
mails online but not in
hi,
i have to migrate a struts1.0 application to struts1.2 (for module support)
i can't find any equivalent to set a bean. Here is the code i try to
migrate :
ActionMapping nextMapAction =
this.getServlet().findMapping("/createadvertisement");
request.setAttribute(nextMapAction.getAttribute(
Hi this solution is also good. It is same like I told you to in action
class. Some where you have made a decision like this.
-ni3
-Original Message-
From: David Whipple [mailto:[EMAIL PROTECTED]
Sent: 09 June 2005 15:03
To: Struts Users Mailing List
Subject: RE: Toggle Colors between Ro
Brian-
Modify the build.xml that is generated from your IDE de jour..JDeveloper,
JBuilder and or Eclipse and add in the task
see
http://ant.apache.org/manual/CoreTasks/javadoc.html for details-
Please Post your query to user@ant.apache.org
Thanks,
Martin-
- Original Message -
From: "B
I have just pretty much wrapped up the development phase of a prject and am
cleaning up the code etc. I want to add javadoc comments to all my classes..
but am looking for a way to do this automatically. Does anyone know of a tool
that can do this. I use netbeans as an editor and they have so
Use the styleId attribute! Frm the online API Guide
styleId
Identifier to be assigned to this HTML element (renders an "id" attribute).
N.B. If present, the errorStyleId overrides this attribute in the event of
an error for the element.
[RT Expr]
-Original Message-
From: Kade Jeevan Ku
We do the following in our jsp. We have two styles defined in our style
sheet, tbl1 and tbl2 for the two different row types:
" valign="top">
blah...
In action class which generate the table row out put
Declare one temp variable which will you can use in decision making.
Suppose you want to switch between colors red and green.
Code will be like this
Byte switchcolor=0.
If (switchcolor=0) {
Row with red color
Any guess whats happening wrong here?,
the output is as follows
4thCol 4thCol 4thCol 4thCol
4thCol 4thCol 4thCol 4thCol
But the correct output should be as follows
1stCol 2ndCol 3rdCol 4thCol
1stCol 2ndCol 3rdCol 4thCol
Deepak
-Original Message-
From: Deepak Srivatava [mailto:[EM
Sorry
server with value selected in combo 1 and and
populate the bean for combo2.
-Original Message-
From: Nitin Mandolkar
Sent: 09 June 2005 14:38
To: Struts Users Mailing List
Subject: RE: Prob with -- Plz help me OUT
Changing the content of combo1 will change the content in combo2.
I have a tag that I got from somewhere that allows you to set the even
element class and the odd element class. It works great for me, if you want
it, let me know and I will email it to you.
Thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June
Changing the content of combo1 will change the content in combo2. are
you doing this using java script now as you said. With with struts you
can do like go back to server with value selected in combo 2 and and
populate the bean for combo2.
-Ni3
-Original Message-
From: Kade Jeevan Kumar
Some ideas ..
1. Implement a switching accessor method in a base action form, the idea
is that each time you access the property it will return the value which
was not returned on the prior invocation e.g.
// In your base action form
private String listRowClass;
public String ge
use "styleId" instead. It gets converted to "id"
Amitava Basak
ASE
Tata Consultancy Services Limited
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
Notice: The information contained in this e-mail message and/or attachments to
it may contain confidential or privileged information. If y
Nitesh!
I am developing a component in which the values in combo box are dependent.
it is like this if i select combo1 then related values will b coming in combo2.
for this, i got html code. and i want to change this code into struts.
or u can help me by giving the code for the above.
plz, he
Jeevan,
Any specific reason as to why you have to have the id attribute?
Nitesh
- Original Message -
From: "Kade Jeevan Kumar" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, June 09, 2005 6:13 PM
Subject: RE: Prob with -- Plz help me OUT
Kjerstie et al-
I found some browsers require the javascript qualifier e.g.
javascript:lfnSomething( instead of just the JavaScript func lfnSomething(
God Lykke,
Martin-
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, June 09, 2005 8:20 A
Hi Nitin!
I am using Struts 1.1
Nitin Mandolkar <[EMAIL PROTECTED]> wrote:
Hello can I know which struts you are using.
Then and then only I can ans you.
-ni3.
-Original Message-
From: Kade Jeevan Kumar [mailto:[EMAIL PROTECTED]
Sent: 09 June 2005 13:28
To: user@struts.apache
[EMAIL PROTECTED] a écrit :
Really? IDon't you have to enclose the entire value in one scriptlet
expression? Like this:
You can pass the parameters to the javascript as shown underneath by
enclosing the <%=%> in single quotes...
You can even use the ${} notation if you are using JSP
The best using only the view?
use this kind of css
http://www.w3.org/Style/Examples/007/evenodd.html
However, you will need a more than decent browser to do it.
Le Jeudi 9 Juin 2005 14:00, [EMAIL PROTECTED] a écrit :
> What is the best way to toggle colors between rows using logic:iterate
> keep
Hello can I know which struts you are using.
Then and then only I can ans you.
-ni3.
-Original Message-
From: Kade Jeevan Kumar [mailto:[EMAIL PROTECTED]
Sent: 09 June 2005 13:28
To: user@struts.apache.org
Subject: Prob with -- Plz help me OUT
Hi!
i have an html code
Hi!
i have an html code
Hi!
i have an html code
Really? IDon't you have to enclose the entire value in one scriptlet
expression? Like this:
Kjersti
|+-->
|| "Avjit Singh Jhajj" |
|| <[EMAIL PROTECTED]|
|| fmail.com> |
||
You can pass the parameters to the javascript as shown underneath by enclosing
the <%=%> in single quotes...
Avjit
On Thu, 09 Jun 2005 [EMAIL PROTECTED] wrote :
>
>How can I pass parameter in to a javascript function from a
>tag??
>
>
>eg:
>
> />
>...
>...
>
>
>
>Amitava Basak
>ASE
What is the best way to toggle colors between rows using logic:iterate
keeping in mind the View (MVCno scriptlets!!) best practice.?
Amitava Basak
ASE
Tata Consultancy Services Limited
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
Notice: The information contained in this e-mail mes
How can I pass parameter in to a javascript function from a
tag??
eg:
...
...
Amitava Basak
ASE
Tata Consultancy Services Limited
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
Notice: The information contained in this e-mail message and/or attachments to
it may contain c
I still am absolutely amazed that you "came up with these tricks"
without even knowing that the difficulty was that you could not
directly reference a name in name value pair because includes
an .x and a .y with the name. The code you duplicate exactly has been
based on solving that problem for a
Yes but what about Netscape 4? only kidding :)
The effect is neat however you do have to implement the no-cache and you
have to turn off auto-validation and then rely on the browser, so I
wonder whether it is really neat enough to be worth it. I do prefer
things to be as simple as possi
84 matches
Mail list logo