Hi Eric,
Sure, I am also developing an application for my
university. Let us share our experiences and knowledge
here.
1, you may verify the charset encoding of a page using
the getCharacterEncoding() which belongs to
javax.servlet.http.HttpServletRequest.
2, you may try to use the getBytes()
Yes I also tried this filter, and it doesn't work...
The origin of the problem comes from the fact that I input a € in a field and then
whereas I store it in a database or it is displayed back to my input page in case of
an error (so automatically done by struts) it is not rendered properly (I
The Struts team is proud to announce the release of Struts 1.1 Beta 3.
This release includes significant new functionality, while retaining full
backwards compatibility with earlier versions of Struts. It also
incorporates fixes for a number of bugs which were reported against
earlier versions.
for my menu options I would like to load a dynamic list of menu options which will be
read by the jsp file. The java code will load a vector with the menu options like
this:
VectorvecMenuOpts= new Vector();
Hashtable htblMenuOpt = new Hashtable();
htblMenuOpt.put( forward,
Hi all..
I have a requirement to populate radio buttons at runtime. I know how to create it
using html:iterate html:radio tag. But the problem is: i want to create the
radio buttons in
nested tags. Also i want to give the value of that radio button as the value of form
bean, which is
We don't have an IntelliJ HowTo (yet), but if you've been considering
this very fine IDE, licenses to individuals are being offered at
half-price through January 15.
http://intellij.com/idea/
Since I'm expecting 2003 to be a Very Good Year (knock on wood-grain
laminate), it's the first thing
[EMAIL PROTECTED] wrote:
martinc 2002/12/30 23:29:16
Modified:.build-webapps.xml
Log:
Since we have links to the news and FAQs in the documentation app,
and on the web site, it would be a really good idea to actually
build these and include them in the
There are two main solutions:
The first one is more effective, including JAAS.
You have to make a form that call j_security_check action with j_password
and j_username inputs, the web server has its own security engine that
throws you to your first login page if you are not authorized.
The
I've added some files as an example. How i manage the user sessions.
- Original Message -
From: Arik Levin ( Tikal ) [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, December 31, 2002 11:59 AM
Subject: RE: How to forward from a struts form to a login
John Brunner, Stand on Zanzibar
One of my favorite books.
James
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 31, 2002 5:25 AM
To: [EMAIL PROTECTED]
Subject: [FRIDAY] Jane! Stop this crazy thing!
[EMAIL PROTECTED] wrote:
martinc
Ladies and gentlemen, we have a winner!
-T.
Original Message
Subject: Re: [FRIDAY] Jane! Stop this crazy thing!
Date: Tue, 31 Dec 2002 12:22:13 +0100
From: Eric Jain [EMAIL PROTECTED]
Organization: Swiss Institute of Bioinformatics
To: Ted Husted [EMAIL PROTECTED]
References:
Many Many happy and successfullly new year to all Stuts users
Regards
brijesh
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 31, 2002 5:57 PM
To: [EMAIL PROTECTED]
Subject: [Fwd: Re: [FRIDAY] Jane! Stop this crazy thing!]
Ladies and gentlemen,
Did u close all the resources before u return null?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Srinivas Sampige [mailto:[EMAIL PROTECTED]]
Sent: December 30, 2002 9:13 PM
To: Sven Bischoff
Cc: [EMAIL
Can someone please tell me some pros and cons of using static classes with
struts
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Can you provide a list of changes/bug fixes since 1.1b2? All I have seen is
additions/changes/bug fixes since 1.0
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]]
Sent:
If you've haven't yet checked out IDEA, you should.
I've been using it exclusively now for over a year and
it is simply the best editor for me. You won't find
the wizards that many of the other IDEs have, just
powerful editing and refactoring capabilities that
don't get in your way. Struts
Same here. I'd say John's reaction is common for 99% of the users that
try it. The other 1% are just speechless!
R
On Tuesday, December 31, 2002, at 09:28 AM, John Bigboote wrote:
If you've haven't yet checked out IDEA, you should.
I've been using it exclusively now for over a year and
it is
Craig, Martin, Robert, Ted,
Is v1.1b3 a feature complete beta release? I didn't
see mention of whether that was so in the release
notes.
Thanks.
J
--- Martin Cooper [EMAIL PROTECTED] wrote:
The Struts team is proud to announce the release of
Struts 1.1 Beta 3.
This release includes
Hi,
Did any one have any experience with Oracle 9i BC4J and struts? I found it
complicated Am I right? Does it make things more complicated or it worth a
complete RD :)
Alireza
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
I've read the Struts User Guide, Programming Jakarta Struts, searched
Google, and asked a couple of acquaintances, but have yet to find a
definitive answer to whether Struts can help me in the following situation.
The closest thing I've found is a reference to IndexTags under Struts
Resource.
I
Like there isn't enough for you guys to do, there's a
broken link on the Struts website. On the page:
http://jakarta.apache.org/struts/status.html
under the Relevant Proposals section, the
struts-faces taglib link is busted. It points to:
http://jakarta.apache.org/proposals/struts-faces.html
Can you be more specific on how your static class will be uses?
-Original Message-
From: Smith, Johnathan M. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 31, 2002 6:25 AM
To: '[EMAIL PROTECTED]'
Subject: Pros and Cons of using Static classes with struts
Can someone please tell me
Ilya,
I was fighting the same problem yesterday, and finally got it
working. Here's a pretty good example from the new Struts in Action book
(I found this snipet on-line). Take a look at
http://husted.com/struts/tips/007.htmlhusted.com/struts/tips/007.html.
--- good luck ---
Larry
You can do this with the Struts-EL library, which is part of the Struts distribution.
Using this, your tag could look like this:
html-el:link forward='${menuOpt[forward]}' target='${menuOpt[target]}'/
The Struts-EL library uses the JSTL expression language engine for evaluating
attribute
perhaps i had a similar problem with optionsCollections element...
something like dat:
html:select styleId=definitionList property=lexie.definitions
multiple=WhatuWantMeansTrue size=5 styleClass=definitionList
html:optionsCollection property=lexie.definitions value=label/
/html:select
It
This is a classic question. You have to override reset in your form to
correctly populate all the elements.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Greg Bearth [mailto:[EMAIL PROTECTED]]
Sent: December 31,
Everybody is talking about struts-el. Is it part of struts.jar? where can I
find the doc for it?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]]
Sent: December 31, 2002 11:02
you can find it here: www.jokeoftheyear.com ;o)
Regards,
Frk.
-Message d'origine-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Date: mardi 31 décembre 2002 17:22
À: [EMAIL PROTECTED]
Objet: RE: using logic:iterate to load html:link
Everybody is talking about struts-el. Is it part
Does anyone have an opinion on the Eclipse IDE product?
I've been using IDEA for awhile now and am having problems using Eclipse,
it just doesn't seem intuitive to me, and their popup menus are
buggy. However, I'd like some feedback from anyone else who has used both.
--- thanks ---
Larry
Hello,
Thanks for the classes, I am doing the same
thing.
Question:
- What's the advantage of using the entry in
web.xml (maybe you can also send web.xml?),
and doing the naming lookups, etc. versus
just storing an object in a HttpSession and
checking if it is null or not (as you are
doing as
It's not part of struts.jar, but it is part of the Struts
distribution. If you download the newly released 1.1b3 release, you'll
find it in the contrib/struts-el directory.
There is a README.txt file in that directory that provides some very
basic information. There is also a small amount of
Hi, I'm a very satisfied user of Eclipse! I understand you don't feel it
intuitive to you, but I think it's worth the try.
It has great refactoring capabilities (especially with the last release),
and great coding helpers like autocompletion of variables, classes and
methods (displaying the
Oh, one more thing.
Note how in this servlet filter some
application-specific URIs are hard-coded.
It would be more elegant, IMHO, to declare
those elsewhere.
Also, instead of sending a redirect to a
hard-coded URI, one could use sendError with
401 code (unauthorized) and then handle 401
As a newcomer to Struts, I'm trying to redesign a jsp/servlet/ejb
application to use Struts. One issue I wonder about is that the current
servlets make heavy use of the init() method to setup resources,
logging, resolve ejb home objects, etc.
I haven't come across an equivalent method in
I'm not sure I understand how I can override reset to solve this issue. Can
you elaborate? Do I have to create an empty collection or something?
To be clear, this is not the situation where checkboxes must be initialized
to false in the reset method. I've already fallen for that one. My issue
Let the mindless sniping and anti-microsoft tirades
begin!
http://books.slashdot.org/books/02/12/27/1559200.shtml?tid=108
J
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
To unsubscribe,
public class OrderEntryForm extends ActionForm {
/**
* list of line items.
*/
private Collection lineItems ;
/**
* next withdraw from line item.
*/
private String nextWithdrawalDate ;
/**
* instantiates an empty collection of line items.
*/
On the page:
nested:iterate property=lineItems id=orderEntryLineItemForm
TR
TD nowrapnested:hidden property=assetID/nested:write
property=assetName//TD
TD align=centernested:text property=stringOrderAmount//TD
TD align=center
nested:select
It is used in the struts-example.war that ships with the binary distribution
or you can build your own from the source.
If you want to go straight to an example of using tokens, when you deploy
the struts-example.war file open your browser and:
1. Log in to the example
(the username and
Can someone provide me a simple example of utilizing the LabelValueBean
class with html:multibox, the example provided on husted.com and in Struts
in Action book, doesn't utilize it, though states that you can. I just need
a small guidance on how to utilize it with html:multibox
Thanks.
Ilya
I know it's not Friday and frivolous messages are generally reserved for that
one day...
I have no religious faith - but in the best traditions of pagan festivals
everywhere, I intend to celebrate the Year End in the usual English fashion...
Family, friends neighbours a few pints and a curry.
Hello All,
Before I head out and chill out for the new years..I have a
question/problem for those who are not on their 5th bottle of
guiness..hic..hic!!:)
Well I just downloaded 1.1 beta 3 today and updated my application with
the new libraries. There seems to be a difference in the way
More specifically...
pre 1.1b3
[DEBUG] org.apache.struts.util.RequestUtils - --
DynaActionForm[dynaClass=surveyMaintForm,category=NULL,currentNodeId=NULL,cmd=NULL,ranking=NULL,nodeName=NULL]
1.1b3
[DEBUG] org.apache.struts.util.RequestUtils - --
I have a Struts application running on IBM WAS 5.0. Without Java 2
Security
disabled, all works well. However, with Java 2 Security enabled, the
application will not come up in the browser.
I've included the contents of my was.policy file as well as the errors
recorded
in my SystemOut.log
On Mon, 30 Dec 2002, xunhong li wrote:
Date: Mon, 30 Dec 2002 21:54:07 -0800 (PST)
From: xunhong li [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Can we set the request encoding before populate the params?
Hi, Can we add a config
On Tue, 31 Dec 2002, Carl Schwarcz wrote:
Date: Tue, 31 Dec 2002 09:34:12 -0800
From: Carl Schwarcz [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Action method equivalent to Servlet's init?
As a newcomer
PQ, please bear with me because I think you are doing what I would like to
do. I sincerely appreciate the hand-holding as this is my first Struts
project.
In your example, the page displays line items and it appears the user could
potentially update stringOrderAmount and mark items for removal.
Is the value of the ${jars} property a path to a single jar (i.e. struts.jar) or to
the lib directory containing your jars? I believe it is supposed to be the former--a
codeBase is either a package root directory or a single jar file.
--joe
-Original Message-
From: Mervin Williams
My solution is pretty dumb because it keeps two copies of ActionForm.
1. In orderEntryLoad action (before I load order entry page)
I retrieve line items from database and save two copies of them. One in the
session (see point 2), the other in the request so I have all the initial
values of this
+1
raising-glass/
--
James Mitchell
Software Engineer/Open Source Evangelist
http://www.open-tools.org
C makes it easy to shoot yourself in the foot; C++ makes it harder, but
when you do, it blows away your whole leg.
- Bjarne Stroustrup
- Original Message -
From: David Bolsover
If your solution is working for you, it cannot be too dumb, and you are
ahead of me. I agree with your guesses for struts behavior. I added a line
in reset() to pull the collection bean out of the session and into the form.
This alleviates the NullPointerExeptions, but I am still missing the
PQ, can I ask one more question...what version of Struts are you using? I
am using 1.0.2.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 31, 2002 3:57 PM
To: [EMAIL PROTECTED]
Subject: RE: Updating collections of information
My solution is
On Tue, 31 Dec 2002 09:39:09 -0700
Larry Young [EMAIL PROTECTED] wrote:
Does anyone have an opinion on the Eclipse IDE product?
I've been using IDEA for awhile now and am having problems using
Eclipse, it just doesn't seem intuitive to me, and their popup menus
are buggy. However, I'd like
On Tue, 31 Dec 2002 05:20:22 -0500
Ted Husted [EMAIL PROTECTED] wrote:
http://intellij.com/idea/
Best IDE hands down in my opinion. I have a question though... I've only
used it on Windows and now I'm using Linux at home (SuSE 8.1) and can't
get it to work. Maybe someone smart can decipher
Bleh - I just got back from a two-day business excursion out-of-state.
LOL - about an hour too late to kick back and ring in the new year. Oh
well :-) I see it managed to turn 2003 without my getting blasted. ;-)
... not that I do that anymore :-) (too old and I simply don't find it
to be fun
55 matches
Mail list logo