Hi,
What do you mean? The action is synchronized with some attribute related
to one user, so the synchonization is for the same user, isn´t it?
> -Mensaje original-
> De: Takhar, Sandeep [mailto:[EMAIL PROTECTED]
> Enviado el: jueves, 01 de abril de 2004 14:29
> Para: Struts Users Mail
"Struts in Action" printable?
Yes, you can print it without a problem. (I've done it too)
You just need a good color-printer for the nice cover page ;-)
hth
Alexander
-Original Message-
From: Jan Normann Nielsen [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 1. April 2004 16:50
To: Struts U
Actually most of the Validator and the DynaActionForm functionality is
based on the assumption that you are using String for the type.
Using an int in your action form leaves the possibility open that
someone will submit a non-int character, and then you will get an
Exception message in tomcat
Hubert Rabago wrote:
So I'm pretty sure there is no / after example.com, but what I see in
the browser is:
http://www.example.com/?user=0123456
Does anyone know where the extra '/' is coming from, or if it matters at
all?
Now that I take a second look at it, I think it's possible that the br
Erez, it depends a lot on the use cases. If the admin integration to
the customer app is all at the back-end (database) then I think you
should try the separate web app approach. The separate web app will
most easily address the security issues. If however, the admin app will
be using substa
Yes, you can. Nowadays, printable is one of the
product's features.
--
Xuemin Guan <[EMAIL PROTECTED]>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
There is so much to know and so little that has to be known to get
started. The fact is that learning Struts and what you need to know is so
different from what you need to know to care about Struts in the first
place. If you need to use Struts, you should know enough to do it. Blah,
blah, b
On Thu, 1 Apr 2004, Nick Wesselman wrote:
> The biggest problems I've had teaching people struts seem to involve a
> lack of understanding of the servlet API. Attributes and their scopes,
> request forwarding, etc. Also grasping the MVC separation of code is
> important. Ugh I wish Model 1 develop
Hi,
I am developing an EJB/Struts J2EE application.
Up to now I have dealt with the design of the customer web application
side
and I came to the admin area - the back office web application part.
I should also point out that I am using the securityFilter filter for
authentication.
My quest
from the 1_1 dtd:
...
So that would lead me to believe that it is module-relative. But else
where in the DTD it says:
pathThe context-relative path to the resource used as
tiles to
insert. This tiles will be inserted and a tiles
context
Hello,
with struts 1.1, seem every module should have at most one resource file if
it want to work with validator. Is it true?
In other word, if I've 2 module each module must have its own .properties
file and each file must contain errors.* resources (or any common resource
definition)?
The DT
> And in struts-config.xml I got :
>
> parameter="ca.ulaval.fsa.drdb.struts12.resources.
ApplicationResources"/>
>
> But still I get the same error messge. The file exists in the above
> parameter definition. I am puzzled!
Well, one thing that always gets me where you actually put th
Ted wrote that FindForwardAction could be used in the following
manner.
SAVE
DELETE
My question is:
tag doesn't have any attribute named "name". Am I
missing here something?
thanks.
- Walk rustin
-
To unsubscrib
While debugging this problem it's easy to overlook the fact that
struts-config.xml is loaded when the web server boots for the first
time. I have come across many cases where the fix is put into
struts-config.xml file but the server is not restarted; hence the old
result shows up and the user b
Simply want to make sure that I am doing it correct.
I am going to pick up what a user selects from a drop
down list created this way:
ArrayList order = new ArrayList();
order.add(new LabelValueBean("Descending",
"DESC"));
order.add(new LabelValueBean("Ascending", "ASC"));
saveResul
Ted Husted wrote on page 253 that we can use FindForwardAction in the
following manner.
Search
New
When I run this code, I get an error because "name" attribute is not
supported in the "html:submit". I guess I am missing something here.
Thanks for any i
Hello,
Robertm are your portlet JSR-168 portlets or Oracle portlet API portlets?
Larry, do you need to build JSR-168 portlets or a vendor API specific portlets?
Regards,
Mete
-- Original Message --
From: Robert Augustyn <[EMAIL PROTECTED]>
Reply-To: "Stru
Hello again Larry,
Also the Liferay open source portal project just today announced that they passed the
JSR-168 TCK tests, so there are now at least two open source portal projects that are
completely JSR-168 compliant. Liferay has Struts integration in the portlet layer too.
So I suggest you
Hello Larry,
The open source eXo portal project has a Struts bridge to view Struts applications as
JSR-168 portlets. I've never used it so am not familiar with it. You can check it out
at http://www.exoplatform.org and join the mailing list to ask them questions.
Regards,
Mete
-- Origi
The eXo platform provides a JSR 168 certified portlet container with a
struts bridge
http://exo.sourceforge.net/multiproject/exo-struts-framework/
-Original Message-
From: Tambascio, Larry [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 2:58 PM
To: 'Struts Users Mailing List'
Su
I have seen people create a link to a pop-up window next to the a text
input box. The pop-up window has a scrolling, possibly paged list of
the descriptions you want the users to be able to select from. Each
description is a hyperlink and when the user clicks on one of the
descriptions, the p
I am trying to use BeanUtil.copyProperties() as described in 5.6.7 in
"Struts in Action" (Husted). I have an Interface UserBO which my
ActionForm implements. I also have a standard JavaBean UserBOImpl which
implements the Interface. I have a DAO that returns a UserBOImpl. I
would like to us
Hello All,
I have a field in a form which expects a predefined set of data existing
in the database. The dataset is of type code-description, where the user is
expected to select or enter a description and the form passes back a code
for it. This can be presented best in the form of a dropdown l
validate is true. I wrote my own "greaterThan" validation to make sure
the property is greater than 0, which seems to work. I haven't looked
at how the validator works at all, but it seems that it checks the form
bean, not the request parameters, to validate the values. Is that the
case? If
Well, it's not the *expected* behavior.
First thing -- I'd make id a String. The validator parses String properties.
Not having looked into the validator code myself, I suppose "required"
*could* work for a non string property, but I sure wouldn't try it with a
primative like int. Integer might
I have an ActionForm with an int property called id. If I use the
validator "required" validation, it always passes the validation, even
if there is no request parameter called id. Is this is correct
behavior, or am I doing something wrong?
> So I'm pretty sure there is no / after example.com, but what I see in
> the browser is:
>
> http://www.example.com/?user=0123456
>
> Does anyone know where the extra '/' is coming from, or if it matters at
> all?
Now that I take a second look at it, I think it's possible that the browser
is th
Dean A. Hoover wrote:
I have seen "JSTL in Action" on the
bookshelves. Is that a good book on the subject?
I found JSTL In Action to be a nice gentle introduction
and includes some very good applications of JSTL, but
the book is written for content providers and NOT for
Java developers. So if you
You should probably use lazy evaluation. I've done this before using
Struts-layout with success.
Danilo Gurovich
Manager, Web Development
LowerMyBills.com
[EMAIL PROTECTED]
2401 Colorado Ave., 2nd Floor
Santa Monica, CA 90404
(310) 998-6412
-Original Message-
From: Anand Stephen [mai
Adam,
I forwarded one of my replies by mistake to the developer list, but one of
the committers picked up on it so I thought I'd let you know if you'd like
to get into the dicussion over there
Niall
- Original Message -
From: "Adam Hardy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing L
The biggest problems I've had teaching people struts seem to involve a
lack of understanding of the servlet API. Attributes and their scopes,
request forwarding, etc. Also grasping the MVC separation of code is
important. Ugh I wish Model 1 development were somehow impossible. I
can't tell you
Robert,
That's interesting, and certainly worth noting. I'll keep my eyes out for
that. I agree it sounds kind of vendor specific, but... How did your team
get around that? Or are they still battling there?
I'm curious, how did your portlets invoke the Struts actions?? Did you
write a centr
Ashi Sharma wrote:
Which are the core technologies (Servlet, XML etc.)
involved in the Struts Framework that a developer
should have knowledge of? Could you also please
mention the level of expertise required in each
technology?
I would say: Know how to code JavaBeans, a little XML, JSP pages a
Larry,
We have concerted our app from Struts on Tomcat and
jboss to Struts on
Oracle Portal and jboss.
One problems which we run into was that some struts
jsp tags just would
not work.
I think this problem was Oracle Portal specific but I
do not know for
sure so this could be something to consider.
hai ashish,
there is nothing like knowing this or that, but struts mainly uses
servlet.
regards
Amit
-Original Message-
From: Ashi Sharma [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 12:55 AM
To: [EMAIL PROTECTED]
Subject: Learning Struts
Which are the core technologies (
Which are the core technologies (Servlet, XML etc.)
involved in the Struts Framework that a developer
should have knowledge of? Could you also please
mention the level of expertise required in each
technology?
Regards,
Ashi
=
That which does not kill you, only makes you stronger.
___
Ramil Mirhasanov wrote:
I have chosen the problem like this, after surfing net a little bit,
I added :
action
org.apache.struts.action.ActionServlet
application
mypackage.ApplicationResources
<.../>
to web.xml
And created mypackage.ApplicationResources.properties file.
Hi all,
I can't get iBatis caching to work for anything. Worse yet, it seems
that I am doing what the error messages tell me to fix, but still
nothing. The message I have been getting is:
org.jdom.JDOMException: Error on line 9: Attribute "implementation"
must be declared for element type "cach
Hi,
There's a rumbling in the not too distant future of my application, and it
involves a portal implementation. This rumbling is approaching more quickly
than I fear Struts 2.0 (which I'm very excited about) is. I am wondering if
anyone else has already dealt with this issue.
I'd like to be a
The problem with GenericValidator is that it has a single instance of
UrlValidator in a static variable, so you can't go changing its
configuration every time a url is validated in your webapp as it wouldn't be
thread safe. In fact if you want the option to configure it on a field by
field basis th
I think we're having trouble understanding what you're doing. In
particular, you say that "the tag is evaluated before
the <%=index%> tag". What do you mean by that? Then, you are now
saying that after fixing your scriptlet expression reference, you say
that the " tag isn't replaced with an ta
imo Struts In Action seemed to contain more useful real world information
than other struts books i have purchased
-Original Message-
From: William T Hansley [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 10:02 AM
To: Struts Users Mailing List
Subject: Re: Struts boooks: remommen
There is a section on this in the Bitter EJB book that pretty good.
looking at pagination in general(not specific to tags ).
Problem with scrollable resultsets is that some implementations (don't
know which) it actually loads each row as you scroll through it.
So if you go to row 50, it scrolls
I have chosen the problem like this, after surfing net a little bit,
I added :
action
org.apache.struts.action.ActionServlet
application
mypackage.ApplicationResources
<.../>
to web.xml
And created mypackage.ApplicationResources.properties file.
- Origin
I second this comment. The Cavaness It's not bad as a intermediate- to
advanced-level book, but I tried to learn from this one first and found it
next to impossible. The examples are few and far between, and not
explained from the basics up. They seem to assume some knowledge. And
there's no ex
ApplicationResources.properties, the defeult location is usually
WEB-INF/ApplicationResources.properties, but in your case it may be
configured to be elsewhere.
>>> [EMAIL PROTECTED] 04/01/04 7:30 AM >>>
I am using Jbuilder9 Enterprise and trying to buid my 1. example
application with struts.
Th
It has a DTD. Any validating xml editor (like netbeans or jedit) will
detect issues when you try to save it.
Larry
>>> [EMAIL PROTECTED] 03/31/04 11:59 PM >>>
As my application grows, so does my
tiles-defs.xml file. Well, I must have mistyped
something because now when I go to run
an exception is
Charles Jordan wrote:
Can you print the pdf?
I want to know this too. If I can't print the PDF of the "Struts in
action" by Ted Husted and take it home for me to read, there is no point
in buying the eBook even if it's cheaper.
Best regards,
Jan Nielsen
--
Rick Reumann wrote:
I think "Programming Jakarta Struts" by
Chuck Cavaness is a bit better for a beginner.
I personally don't like this book. I think the Struts tag libraries are
poorly documented (and differences for 1.0 which I'm using are not
described) in this book and has few if no
This is configured towards the bottom of the struts-config.xml file
For Example:
maps the default resources file:
resources/application.resources
-Original Message-
From: Ramil Mirhasanov [mailto:[EMAIL PROTECTED]
Sent: 01 April 2004 15:31
To: [EMAIL PROTECTED]
Subject: .properties
I am using Jbuilder9 Enterprise and trying to buid my 1. example application with
struts.
The problem is, I do not know which ".properties" file to create in
order to be able to write:
javax.servlet.ServletException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
Thanks for the suggestion, but that doesn't work either. The
tag isn't replaced with an tag when I use the syntax
you suggest. I've tried many variations on these syntaxes. If the JSP
expression get's parsed, the struts tags aren't understood. If the struts
tags are understood the JSP express
Thanks for that Niall, you certainly know your stuff.
I am thinking, if I change the UrlValidator in the source code, I could
submit a patch to allow FieldChecks to set the values from
validation.xml.
Currently, FieldChecks access UrlValidator via the GenericValidator:
if (!GenericValidator.i
(When I said response, I meant the GET / POST action)
-Mensaje original-
De: Freddy Villalba Arias
Enviado el: jueves, 01 de abril de 2004 16:05
Para: Struts Users Mailing List
Asunto: RE: changing two frames at one time
Hi Otto,
IMHO, for the sake of transparency / independence, Struts
Hi Otto,
IMHO, for the sake of transparency / independence, Struts should know
nothing about where (within a web document) is the response being
targeted.
Why don't you use JavaScript for "hearing" the click on the "child"
frame from the "root" document and then load on each frame the URL you
wan
The code premise looks OK; I've done similar.
My guess, given my experience with WAS, would be that either
a) you didn't get a clean export with the right version of myCommonForm
exported and included in the WAR, and the right version of the WAR included
in the EAR
or
b) you didn't get a clean
Forgot -- To answer your question about needing a class of the appropriate
type.
Since they all are subclasses of DynaActionForm, I'd guess not.
I mean, what youre doing is saying, "Construct me a DynaActionForm class with
the following DynaProperties."
You can call set() and get() on the pro
http://www.apache.org/~martinc/struts/v1.2.0/
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, April 01, 2004 1:37 PM
Subject: RE: Unhandled Exception in the Validator?
Can anyone please tell me where I can get the Struts 1.2 Ja
Its just logging.
Its always done the date validation using SimpleDateFormat.parse() and using
the ParseException to return "invalid" - for some reason in 1.2 these are
now being "logged" - all you need to do is set your logging to ignore
warnings for commons validator.
Its not because you're pus
I created a method in my Action subclass that implemented the goodies you'll
find here.
http://www.javablogs.com/ViewEntry.jspa?id=128211
Boy This subject is coming up alot! :-)
> -Original Message-
> From: Takhar, Sandeep [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 01, 2004 7:53
UrlValidator is not the class that is instantiated by ValidatorAction
because it doesn't know anything about Struts resources - the Struts
FieldChecks.validateUrl() method calls commons GenericValidator which
instantiates the UrlValidator.
Rather than using the struts FieldChecks.validateUrl(), c
I am curious, how do you create your dynabean and do you have a class for it that you
have to create?
sandeep
-Original Message-
From: Joe Hertz [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 7:32 AM
To: [EMAIL PROTECTED]
Subject: Unhandled Exception in the Validator?
I'm usi
Can anyone please tell me where I can get the Struts 1.2 Jar file?
It does not seem to be up at the Jakarta Site?
Thanks,
VJ
-Original Message-
From: Joe Hertz [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 6:02 PM
To: [EMAIL PROTECTED]
Subject: Unhandled Exception in the Vali
I'm using a recently 1.2 nightly build, but I suspect this isn't a 1.2 issue
necessarily. I think I'm pushing the infrastructure though.
Here's how:
I have a DynaValidatorActionForm which contains a List.
The List elements, in this case, happen to be instances of another DynaBean,
which inside
I read this, but isn't the action used by many different people and not just one?
Seems like the wrong approach, but I may be missing something.
sandeep
-Original Message-
From: Jose Ramon Diaz [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 4:28 AM
To: 'Struts Users Mailing Li
At 8:58 PM -0700 3/31/04, Richard Megginson wrote:
I'd like to use Avalon for the lifecycle management of Struts Action and
ActionForm objects. But it seems that in order to do so, the
RequestProcessor class would need to be replaced, or at least the
processActionForm() and processActionCreate() m
one thought (I didn't follow the email exactly)...
use the same form names...
sandeep
-Original Message-
From: Max Kovalenkov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 6:08 PM
To: [EMAIL PROTECTED]
Subject: feeding custom actionForm to a jsp page?
Hello,
I have a form
In UrlValidator() in the validator package, one can set various options
upon instantiation, such as ALLOW_2_SLASHES or NO_FRAGMENTS.
However it appears from the code in
ValidatorAction.getValidationClassInstance() that I can't actually set
these at any point in the Validator framework so that they
Return Receipt
Your document:[OT] File explorer (tree view component) ...
I've got the following datasource defined in my struts-config.xml to access
a mySQL db:
Which causes this error:
503 Unavailable
javax.servlet.UnavailableException: Initializing application data source
org.apache.struts.action.DATA_SOURCE
at
org.apache.struts.action.ActionServle
Hello,
I have an interesting problem. We need to avoid duplicate form submission
as the load in server may be heavy.
I´ve read
http://www.javaworld.com/javatips/jw-javatip136_p.html
and the API of TokenProcessor.
I think I know the way of achieving that the last HTTP POST of the us
If you check the various specs(JSP & Servlet spec versions in perticular) that
WebSphere 5.1 is conformant with, you will get the answer.
may be release notes will have those details.
-Original Message-
From: Manganotti Francesco (USI)
[mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01,
Well, forget about DHTML right off the bat.
We went back to a customised jTree to address this requirement but
I did give serious consideration to:
http://scbr.com/docs/products/treetable/treetable.shtml
and if you can handle it (v. impressive stats)
http://www.bennet-tec.com/btproducts/tlist/tl
This is not a struts related issue its Html and Javascript related, as seem to be a
lot of other posts in this list lately.
http://developer.irt.org/script/script.htm <- great JS reference
in particular
http://developer.irt.org/script/frame.htm
Chris McCormack
-Original Message-
From:
Not with struts itself but you can do it with javascript inside your
pages:
http://hotwired.lycos.com/webmonkey/97/02/index4a.html?tw=authoring
-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED]
Sent: 01 April 2004 08:35
To: Struts-User (E-Mail)
Subject: changing two frames
It is not strictly related to this list,
but if anyone knows if it possible to use
jstl 1.1 with WebSphere 5.1, that would be
greatly helpful.
cheers,
F.
Questo messaggio di posta elettronica contiene informazioni di carattere confidenziale
rivolte esclusivamente al destinatario sopra indicato.
76 matches
Mail list logo