Hi
I had the same problem, but it was related to an outdated version of Xerces
(using WAS 4).
If your server error log says something about an XML exception or the like,
than this is most likely the source for your problem...
greets
Anusch
-Ursprüngliche Nachricht-
Von: Eddie Bush
Hi, thanks for the feedback.
Add the reset() method to the generated ActionForm : DONE
Would extend the Struts ValidatorForm ... : Now you can choose create/do not create
the validate method.
Add additional types other than 'string' : Struts 1.0 ActionForm take only String type
for
Hi
we can't get logic:notEqual to work in the following snippet
We are trying to perform an action on the change of a string currency
variable
the logic not equal always evaluates to true even though we set the current
value within the loop
I am i missing something obvious here?
I actually had this very problem last weekend; sorry I didn't read of yours
until just now. The action mappings can be very confusing and I wish the
documentation was clearer on the purpose of the various parameters and their
effects on processing and page transitions. For the time being, it's
New MVC problem to occupy your time today:
http://www.chilliman.com/beer_labels_frame.htm
http://www.chilliman.com/beer_labels_frame.htm
Mark
Beer. It's not just for breakfast anymore.
Hello all,
Using Struts, I've designed a nice web application to display mapping information.
Now I must explain how I built it to the other developers in the office. I was
wondering if anyone knew any good free UML diagram software out there that would run
on windows? Being this is still
Have a look at argouml. http://www.argouml.org
Regards,
Stephen.
-Original Message-
From: Graham Lounder [mailto:[EMAIL PROTECTED]]
Sent: 26 April 2002 12:25
To: [EMAIL PROTECTED]
Subject: OT: Free UML Tools
Hello all,
Using Struts, I've designed a nice web application to display
So for example, if I wanted to ensure a user was logged in, then check
their authorizatoin for a particular URI, could I do something like:
processor
process-group name=check-login-and-authorize
process-action name=com.mydomain.LoginCheck
process-action
I disagree - though not completely. I think that the approach Chuck
recommends is fine - and is likely the most popular choice.
But I think that using a JMS queue or MDB as the front to the facade isn't
always inapropriate. Especially in this case, because:
- The Action classes are
The Action class isn't the only place to store a remote reference to a
session bean. In fact, it's not a good place. Each user needs to have its
own remote reference due to the restrictions how many threads can access a
single EJBObject.
In what you describe (locking on a queue), you are in
LMAO =)
... sure do enjoy you being around, Mark - you're *always* good for a laugh!
- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: Struts (E-mail) [EMAIL PROTECTED]
Sent: Friday, April 26, 2002 5:49 AM
Subject: TGIF
New MVC problem to occupy your time today:
This isn't exactly a struts question, but I've seen some similar questions
posed in this user list related to java script. What I'm trying to do is
display values in a drop down list based on a value selected from another
drop down. Depending upon what is selected, I will get the value selected
Vehiclepark is a Bean with the property cars (cars is a collection of a
Car).
Car is a bean with the properties id and vehicleparkId
hier ist my jsp-code
logic:iterate name=Vehiclepark property=cars id=Car html:hidden
name=Car property=id indexed=true/ html:select name=Car
Hi,
We want to internationalize our web-application based on struts-framework
and web-logic 6.1.
For the internationalization, we read our text from the resources properties
files (for example the properties file for englisch is
resource_en.properties).
Our application run without any
Hi Shane,
All well, but it does not solve the problem I have ?
Because I feel my problem is Internet explore oriented.
The value is in the html code, but not shown in the file-field.
kind regards,
Christoph Rooms
Technical Account Manager
SilverStream Software
+32 475 531 529
Hi Jane,
You could load the strings in a javascript variable separating them by
using separators like . or something and you can query the javascript
variable using this separator.
Comments Invited!!
Thanks,
Sridhar
- Original Message -
From: [EMAIL PROTECTED]
Date: Thursday, April
Hi,
My problem
(http://www.mail-archive.com/struts-user@jakarta.apache.org/msg28118.html)
solution was an easy one. I made stupid mistake at used setter which
re-encoded already properly encoded strings.
Peter
_
MSN Photos is
Graham -
Check out ArgoUML - it is java, it's open source, runs pretty much
everywhere (I think), and it is pretty complete:
http://argouml.tigris.org/
And this page has many design tools listed, a number of which are open/free:
http://www.objectsbydesign.com/tools/umltools_byCompany.html
So why do not subclass Action and make another abstract
AcmeSecureAction of your self that does the login check and
the authorise.
There is real danger that your other action may accidentally
miss the security check, if say a newbie developer forgets
add the process-group tags.
If you want
Hi Jane,
I've done something similar, but use a form with hidden fields that gets
created at application initialisation and stored in the servletcontext.
I use the following to include the form in a jsp
strutsbean:write name=%= Constants.PRODUCT_LINE_FORM %
scope=application
Chuck,
I appreciate your insight here. Thanks.
In general, I agree with your recommendations of using the standard session
bean front to the facade. Storing the remote reference somewhere in the
session context (perhaps in a User bean) again is the right approach.
But I still feel that a
Apologies if anyone had problems with the last version I sent - it had a
zipped attachement of an html file that was blocked by a few servers.
Les
-Original Message-
From: Wilson, Les J SI-FSIA
Sent: 26 April 2002 14:25
To: Struts Users Mailing List
Subject: RE: java script question
is it possible this is comparing string objects as opposed to string values
:-)
Tom Lister
* 020 7612 3030
* [EMAIL PROTECTED]
-Original Message-
From: Lister, Tom (ANTS) [mailto:[EMAIL PROTECTED]]
Sent: 26 April 2002 11:14
To: 'Struts Users Mailing List'
Subject: logic equals problem
Using struts tags how should I prevent the comma from printing after
the last bean:write statement? Normally I start a counter through
the loop and just don't display the , on the first pass and then on
subsequent passed I would do , %= b.getStateName() % . How
should I incorporate this using
I didn't mean to be so matter of fact. A session bean is
surely not the only way to façade enterprise resources,
such as a security service. Heres where I thought the
design would not work.
When the client published a message to the JMS Queue,
the EJB container would automatically pull a
This may be a stupid question, but is there a / at the
end of the opening logic:notEqual tag? Should
that NOT be there. Doesn't that close the tag?
Chuck
logic:notEqual
name=data
property=sortColumns.currencyCode
value=%=currencyBlock%/
is it possible this is comparing string
also
/logic:notEqual/
shouldn't it be
/logic:notEqual
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 10:38 AM
To: Struts Users Mailing List
Subject: RE: logic equals problem
This may be a stupid question, but
You could cheat and use some scriptlet code to do this. Increment a counter
within the iterate tag and if the counter reaches the collection size then
do whatever.
I would be interested in a better solution if someone has another
suggestion.
Sincerely,
Shane Witbeck
I usually print the first item by itself,
then iterate starting at the second position
with the comma prefixed.
a
-Original Message-
From: Witbeck, Shane [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 10:30 AM
To: [EMAIL PROTECTED]
Subject: RE: How to not print HTML on last
Like this?
logic:iterate id=element name=statesSearched indexId=num
logic:notEqual name=num value=0,nbsp;/logic:notEqual
bean:write name=element/
/logic:iterate
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 8:51 AM
To: Struts
I got the XML completely wrong, haven't I
struts-configxmlns:struts=http://jakarta.apache.org/struts/struts-config.dtd;
xmlns xmls:acme=http://www.acme.com/acton-processor;
...
struts:extensions
!-- within the struts extension body tag we can handle additions --
Hi Folks,
Consider a class called employee, with getter/setter methods for first and
last
name. Originally, I had an ArrayList of them in session scope (empList),
and
used logic:iterate to display them in a JSP:
logic:iterate id=emp name=empList scope=session
bean:write name=emp
On Friday, April 26, 2002, 1:07:48 PM, Shane wrote:
SB Consider a class called employee, with getter/setter methods for first and
SB last
SB name. Originally, I had an ArrayList of them in session scope (empList),
SB and
SB used logic:iterate to display them in a JSP:
SB logic:iterate id=emp
Peter do you know anything about the workflow proposal and if it addresses
this issue. I don't want to carry on about this if something standard is in
the works. Also, let's move this discussion over the the developer group. I
was a bad boy and started a discussion on the dev and the user. Bad
I have looked at the Workflow stuff and will probably use it. It will work
great for the problem mentioned here.
However, I will be making some changes/extensions to it to make it easier to
use. It is a little too low level out-of-the-box. Extending it has been
easy since all of the basics
Bob,
Are you involved in the development of the workflow proposal?
-Original Message-
From: Robert Williams [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 11:50 AM
To: Struts Users Mailing List
Subject: Re: Struts Improvement Proposal: Logic Extensibility
I have looked at the
I sure seem to be having my share of problems with logic:iterate this
week
My form bean (EditCustomerForm) has a property that sets and gets a List of
Customer objects. These objects themselves contain the usual name, address,
etc. stuff. I need to iterate through the collection of
Hi, Mark:
I am displaying task information in an HTML table using the iterate tag.
In the table are a set of input fields that allow my user to modfiy the
values of each task (in your case you may simply want to display the value
as readonly text). By using the indexed = true attribute of the
On Friday, April 26, 2002, 2:00:19 PM, Mark wrote:
GM I sure seem to be having my share of problems with logic:iterate
GM this week
GM My form bean (EditCustomerForm) has a property that sets and gets a List of
GM Customer objects. These objects themselves contain the usual name, address,
No, just working with it as a user.
bob
- Original Message -
From: Phase Web and Multimedia [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, April 26, 2002 12:59 PM
Subject: RE: Struts Improvement Proposal: Logic Extensibility
Bob,
Are you involved in
logic:iterate name=EditCustomerForm
property=customers
id=customer
type=com.whatever.Customer
tr
tdbean:write name=customer property=name//td
tdbean:write name=customer property=address//td
/tr
/logic:iterate
-- Jim
Galbreath, Mark
Beginning JSP Web Development and JSP Site Design (both from Wrox) have a
few chapters on using struts.
- boon
-Original Message-
From: Pradeep Sakre [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 10:19 PM
To: 'Struts Users Mailing List'
Subject: Good Struts books ??
Hi
Subject: Calendar pop up tag
From: Vic C [EMAIL PROTECTED]
===
A while back I found some links to nice tags.
Anyone have a link to a nice calendar pop up tag for use with Struts?
So user can select a date.
tia, Vic
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands,
Check this out..
http://www.servletsuite.com/servlets/caltag.htm
Ravi
-Original Message-
From: Struts Newsgroup [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 2:25 PM
To: [EMAIL PROTECTED]
Subject: Calendar pop up tag
Subject: Calendar pop up tag
From: Vic C [EMAIL
Subject: Re: image button question
From: Robert Gottofrey [EMAIL PROTECTED]
===
Britt,
try using the 'page' attribute instead of 'src', something like:
html:image page=/images/%=terrbutton1% property...
Robert
Monker [EMAIL PROTECTED] wrote in message
news:aa4d2s$mus$[EMAIL PROTECTED]...
Thanks I'm going to look a bit harder into the workflow. Is it in the
nightly build? and is it stable enough to start some experimental
development on? Or do you think it will have some drastic changes? Any good
examples of it's usage?
Sorry for all of the questions. But, I find this very
The set-property name= value= / sub element of the form-bean .../
element does not seem to set the property of my form bean although the
Struts log statements seem to indicate it does.
I have a form with a boolean data member called subscribe. For a
particular action mapping I would like to
Subject: multiple datasources
From: Arash Ramin [EMAIL PROTECTED]
===
We have a couple datasources defined in our application (in
struts-config.xml). The default behaviour for Struts is to initialize
all the defined datasources and make them available to the
application. Depending on which
Hi,
I would like to forward to a certain path when all the other options (like
action/action or ohter forwards/) within the action.xml were past without
maching.
Has this someone realized so far?
thanks, Rainer
I believe it is in the nightly build. It is also included in the 1.1
material. There is an example/test with the software, but it is pretty
basic. I found it to be stable, but a bit rudimentary. It is something to
build on though.
bob
- Original Message -
From: Phase Web and
Try
http://webdeveloper.earthweb.com/repository/javascripts/2002/01/71081/index.html
-- Original Message --
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
Date: Fri, 26 Apr 2002 14:36:45 -0400
From: Witbeck, Shane [EMAIL PROTECTED]
Subject: RE: Calendar pop up tag
To: [EMAIL PROTECTED]
Thanks!
-Original Message-
From: Robert Williams [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 1:05 PM
To: Struts Users Mailing List
Subject: Re: Struts Improvement Proposal: Logic Extensibility
I believe it is in the nightly build. It is also included in the 1.1
material.
A global forward may work for you. We use them for failures mostly,
like so.
global-forwards
forward name=failure path=general.failure /
forward name=homepath=/index.jsp/
/global-forwards
That way, any action can return mapping.findForward(failure) and if
the associated action
Subject: Re: Calendar pop up tag
From: Matt Raible [EMAIL PROTECTED]
===
There has been a previous discussion on this topic, with other suggestions:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg18170.html
Vic C [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
A
I am having a rather strange problem with one of my JSPs. The head of the
JSP looks like this:
%@ page language=java %
%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
html:html
head
can you describe your strange problem?
Struts Developer [EMAIL PROTECTED] on 04/26/2002 01:02:08
PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: link rel='stylesheet' ... treated as GET???
I am having a rather strange problem
Forgive my partial posting a minute ago... hotmail sucks. =)
I am having trouble with my stylesheet link being treated as a GET when
struts processes my action.
Here is the head of the JSP in question:
!-- Some standard includes --
%@ page language=java %
%@ taglib
I use something like:
link rel=stylesheet type=text/css href=%=
request.getContextPath()%/styles/blah.css
Sincerely,
Shane Witbeck
__
Developer, Bank of America
email: [EMAIL PROTECTED]
phone: 904.987.1688
-Original Message-
From: Struts Developer
You could use local forward elements for each action mapping and
use the global-forwards to implement default forward elements.
I don't know if action.xml contained a global-forwards. The more current
file is the struts-config.xml.
Christian/
-Original Message-
From: Rainer Jünger
I get these messages from stderr every time I start Tomcat:
[ERROR] Digester - -Parse Error at line 198 column 60: Element type
form-property must be declared. org.xml.sax.SAXParseException:
Element type form-property must be declared.
[ERROR] Digester - -Parse Error at line 198 column 60:
Shane,
I put your code in my calling JSP and I still get the same log messages...
=(
Any other ideas?
/\/\ark
From: Witbeck, Shane [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: link rel='stylesheet' ... treated as GET???
Date:
Would it work if in your action that forwards to the display page
you get the empList from empForm and then put that empList into
the session or request and use it just like you did above?
Well, I was hoping to use the nested tags or some other method
than a brute force approach like that.
Hi!
I have a little question, if you could please answer it...
I am pretty new to the Java environment (just have read some tutorials on Java, JSP
etc) but dont have much of a real-time coding experience. I have got a job, and I
would soon be working on Struts. Before I start working on it,
A reality check?
-Original Message-
From: reshma deshpande [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 4:22 PM
I am pretty new to the Java environment (just have read some tutorials on
Java, JSP etc) but dont have much of a real-time coding experience. I have
got a job, and
Go thru' these links one by one
http://www-106.ibm.com/developerworks/library/j-struts/index.html
http://www.jspinsider.com/tutorials/jsp/struts/jspdesign.view
http://www.onjava.com/lpt/a//onjava/2001/09/11/jsp_servlets.html
http://www.onjava.com/lpt/a//onjava/2001/10/31/struts2.html
What you should start with depends upon your background. I will assume you
are rational and intelligent, unlike some might. Have you coded with
ASP? Where are you in terms of your knowledge of web coding
generally. Since you seem to have obtained a job, I assume you have some
Thanks Ranjan,
My first suggestion would be to ignore Mark ;). Sorry Mark, but you're a little harsh
on the newbies.
Randy
-Original Message-
From: Pruthee, Ranjan
Sent: Friday, April 26, 2002 3:31 PM
To: Struts Users Mailing List
Subject: RE: some help ...
Go thru' these
Geez...where's your sense of humor? I knew you guys would come to his
rescue, and I would have if not.
A few of you guys need to take a break and drink a beer or three.
-Original Message-
From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 4:33 PM
Are you doing some submits with your JavaScript that could be causing this
problem? Just a thought.
joe
-Original Message-
From: Struts Developer [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 1:07 PM
To: [EMAIL PROTECTED]
Subject: link rel='stylesheet' ... treated as
Rahsma, have you ever heard of the phrase I've bitten off way more than I
can chew???
**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]
-Original Message-
From:
Hi,
I'm new to struts and have a couple general questions.
1. With struts, once you make a request to the database and begin getting
results back, does struts wait until the entire result set has been
populated into the beans then transfer control to the JSP? The reason why I
ask this is that my
You need to focus on a few key subject matters: Java, JSP, Servlet API, HTTP
protocol, database...I hope you know HTML...
Maybe start with this (in order or better yet, read all of them
simultaneously):
Beginning JSP Web Development - to learn java and jsp
Thinking in Java (Publisher: Prentice
What strange behavior are you getting? You also might try omitting or moving
the html:base/ tag further down in the page.
Sincerely,
Shane Witbeck
__
Developer, Bank of America
email: [EMAIL PROTECTED]
phone: 904.987.1688
-Original Message-
From:
I agree with you Ajay. Mark Galbreath is like Jim Rome. At first you hate
him and then after a while you can't help but like him due to his different
type of humor.
**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL
plz make that her ;)
well, thankyou very much for the links, rajan ... !! as for my background .. i have
recently completed my MS in computer engineering .. prior to tht, i was working for a
year on mainframes and during my masters i was a C-consultant and grader for around 2
years .. i have
you people scare me !! but now that since i have already bitten .. i guess i'll have
to chew it too .. kindly help mw with that :-)
Juan Alvarado (Struts List) [EMAIL PROTECTED] wrote: Rahsma, have you
ever heard of the phrase I've bitten off way more than I
can chew???
Great! Welcome to the list.
Don't be scare. Today's Friday. BEER'S day. Let's have some.
I am sure Mark agrees with that.
Anyway don't forget to browse The Jakarta
http://jakarta.apache.org/struts/index.html
I particular like the Javadocs
On my way out of the office now. Woohoo!
(But I'll be back in here tomorrow :-( )
-Original Message-
From: Leonardo Maciel [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 5:02 PM
To: 'Struts Users Mailing List'
Subject: RE: some help ...
Great! Welcome to the list.
Don't be
thanks a lot everybody :-) could you also tell me , what kind of a working knowledge
do i need to have for Java, Servlets, JSP in order to get started with struts .. (i
mean, i guess i dont need to go into multithreading, applets etc to begin with Struts)
.. could somebody give me a little
If the Struts book you ordered from Amazon is 'Struts Fast Track', I'd suggest
cancelling your order. Not very good.
However, a new Struts book is being written and published by O'Riley that sounds good.
You can download chapters 1-4 from:
http://www.webtrickery.com/planner.htm
http://www.webtrickery.com/planner.htm
Mark
De recta non tolerandum sunt.
hi all,
a collection of beans needs be rendered on a form page. I'd like to
iterate through this collection and display all items (properties and
picture) in a table. Ideally, I'd like to have 3 items displayed per
line hence 3td per tr.
Obviously, I make no assumptions in the number of items in
Subject: Dynamic ActionForm
From: Anand Jayaraman [EMAIL PROTECTED]
===
Hi All,
Has anyone of you implemented a Dynamic Action Form. What I am looking
for is, I have a ValueObject Map as a member of the AcitonForm. I need a
method to acess the valueobject using a key, instead of writing
You are best off right now, I think, to read the struts documentation,
which is excellent, even if it lacks in examples, which I personally like.
02:11 PM 4/26/02 -0700, you wrote:
thanks a lot everybody :-) could you also tell me , what kind of a
working knowledge do i need to have for
Normally this would be unrelated to struts, the problem is that this method
only fails when called from the action class.
I have a form, which uploads a file the action class then saves the file on
the server and attempts to email the file as an attachment. The email
arrives with subject but no
to begin with servlets you could read the book from marty hall named
'coreservlets' and jsp ,it is available on-line ( the entire book) on
www.pdf.coreservlets.com, there is a sequel to this book by the same author
named 'more servlets and jsp' this is all you need to learn about
jsp and
86 matches
Mail list logo