Hi,
I am using Struts 1.1 with weblogic 8.1 as the application server, for
building a web based application.
Whenever I starts the server or redeploys the application it throws this
exception though the application works fine.
java.lang.ClassNotFoundException:
weblogic/apache/xerces/parsers/
--- Begin Message ---
Hi. This is the qmail-send program at apache.org.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<[EMAIL PROTECTED]>:
ezmlm-reject: fatal: Sorry, I don't accept messages of MIME
I see. I'll try that tomorrow and let you know. Thx.
-Original Message-
From: Paul Stanton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 09, 2004 12:05 AM
To: Struts Users Mailing List
Subject: Re: question
the most simplest solution is often the best
Au-Yeung, Stella H wrote:
> P
the most simplest solution is often the best
Au-Yeung, Stella H wrote:
Paul wrote:
labelProperty="name"/>
No I don't know how to try yours because I don't see how the above statement
tells it to compare "userId" with "person.id" and then store the value into
"person.id".
In other word
the html:options tag handles this.
Au-Yeung, Stella H wrote:
Paul wrote:
labelProperty="name"/>
No I don't know how to try yours because I don't see how the above statement
tells it to compare "userId" with "person.id" and then store the value into
"person.id".
In other words, I don't
Paul wrote:
>>
>>
No I don't know how to try yours because I don't see how the above statement
tells it to compare "userId" with "person.id" and then store the value into
"person.id".
In other words, I don't know how to convert my statement below to yours:
>
> collection="uList" name="
I tried the following and got the same result. Is this what you mean? If I
remove the value="" then I don't get the compilation error.
cannot resolve symbol
probably occurred due to an error in
/app/fdd/shopWorkOrder/CreateShopWorkOrder.jsp line 93:
sy
I've done this before. Struts can reload the message
resources without
redeploy whole web application. Try this in you action
class:
MessageResourcesFactory factory =
MessageResourcesFactory.createFactory();
MessageResources resources =
factoryObject.createResources(nameOfMessage);
ServletContex
Hi,
I got the following validator error, but not sure why.
here is my validator.xml and the exception:
test
((actionType != 'x') or (*this* !=
null))
test
((editAction != 'false') or (*th
Hm... I've been trying to avoid using the logic tags (as per struts documentation).
Could I do something like this:
Melissa said:
I do it this way as well, but I use ActionMessages to store the specific
message, and have the tags to display it in a base jsp that is used by all
my forms via tile
Did you accidentally set the scope of the FormBean for your Action to
"application" instead of "session" or "request"?
Regards,
David
-Original Message-
From: Ciaran Hanley [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 7:48 PM
To: Struts User Mailing List
Subject: Cookies And Ses
Basically there is only one session being maintained for all users. So If
user "joe" logs in and is viewing client "a", and along comes a second user
"jack" who views client "b", on refreshing the page "joe" will have "jacks"
profile and will now see user "b" details as his details were the last
ch
Vic,
Yes, I do get a "deadly embrace" or deadlock, as the
row locks on the table multiply when they occur,
holding up connections in the connection pool,
eventually consuming all connections, and then all
hell breaks loose.
Were you referring to synchronizing with semaphores?
I read somewhere th
> The last user to log into the system has their details available to all
other users logged in.
Be really specific about you mean here, and give a few details about the
deployment environment.
- What session information appears to be "shared" by the users?
- Can you demonstrate the session probl
>>engineerId is an attribute in the dataBean "shopWorkOrder". Can't I
>>reference shopWorkOrder.engineerId inside the <%= %>?
>>
I guess "shopWorkOrder" is the attribute name of the bean.
The <%= %> should contain a java expression.
Use the to define a JSP variable and use it in <%= %>
the
Do you have a deadly embrace?
Maybe just syncronise w/ semaphorse or the like.
.V
Shyam A wrote:
Vic,
Thanks again. I'm not in a position to switch to
IBatis as my application is currently in use. Right
now, I'm manually killing the user sessions which lock
up the table in the database. My databas
I am using struts in my application.We are planning to use
DynaActionForm. Can any body guide me if any there are any problems like
for performance with it.
Rgds
Shoaib
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
did you try mine?
Au-Yeung, Stella H wrote:
I got a compilation errror after I changed to using <%= %>:
Here's my error:
cannot resolve symbol
probably occurred due to an error in
/app/fdd/shopWorkOrder/CreateShopWorkOrder.jsp line 92:
My actual segment of JSP:
engi
release; however, it is intended to support
> experimentation and
> trigger bug reports so that we can complete a release in the next couple
> of
> months. Pick up the files dated 20040308 (or later) from:
>
> http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/
>
...
http://jakarta.apache.org/struts/userGuide/struts-html.html#html
Amin
> hi,
>
> Can Struts actually generate compliant valid XHTML 1.0
> strict markup using the tag?
>
> If so, which version of Struts to use?
>
> (http://www.junlu.com/msg/22026.html, but hey,
> technologies may change s
I got a compilation errror after I changed to using <%= %>:
Here's my error:
cannot resolve symbol
probably occurred due to an error in
/app/fdd/shopWorkOrder/CreateShopWorkOrder.jsp line 92:
My actual segment of JSP:
engineerId is an attribute in the dataBean "sho
Hey,
I am writing an app but am having session problems.
The last user to log into the system has their details available to all
other users logged in.
I haven't much of an idea about session control can anybody give some
pointers in the right direction?
>From reading I am thinking url r
the rss spec is owned by netscape. the dtds are therefore netscapes property
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Try something like this,
The "value" attribute is RT-Exp, and not name of a bean.
hth
-jayash
-Original Message-
From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 3:38 PM
To: '[EMAIL PROTECTED]'
Subject: question
Hi:
I need to set a "pre-defined"
i think you are trying to do the following...
this is assuming uList is a list of beans with id/name fields and your
form has a userId field.
Au-Yeung, Stella H wrote:
Hi:
I need to set a "pre-defined" option in using the "value="
attribute, I thought the following will work:
I h
Hi,
I found two documents copyrighted by Netscape in struts package.
org\apache\commons\digester\rss\rss-0.91.dtd
and
org\apache\commons\digester\rss\rss-0.9.dtd
I believe I am using struts 1.1... did anyone notice this before?? isn't
struts supposed to be "open source"?
kevin
Kevin Wang
Hi:
I need to set a "pre-defined" option in using the "value="
attribute, I thought the following will work:
I have a "person" bean. I want to set the "selected" option if
"person.id" matches "userId" . I thought the "value" attribute is to be
compared with for marking an option select
Vic,
Thanks again. I'm not in a position to switch to
IBatis as my application is currently in use. Right
now, I'm manually killing the user sessions which lock
up the table in the database. My database is Oracle
9i, and this problem seems to occur only with large
numbers of concurrent users. In m
Is there a way you can reproduce this w/ iSQL command line?
I assume Sybase, since you said row-level.
My guess is that it's not the sql, but your DAO logic somehow. It would
take you only a day or so to switch that one update to
http://www.reumann.net/do/struts/ibatisLesson1
.V
Shyam A wrote:
V
Vic,
Thanks for the pointer,but is there any way of
salvaging the current situation?.It seems the "Update"
operation is causing the DBMS to have row-level locks
on the table,eventually leading to deadlock.
Thanks,
Shyam
--- Vic Cekvenich <[EMAIL PROTECTED]> wrote:
> Of course you could switch to
Of course you could switch to a popular DAO such as iBatis or Hiberante
and avoid the issue all together.
There are JDBC forums on Sun.
.V
Shyam A wrote:
Robert,
Thanks for your response. No, the update queries use a
single connection for which auto-commit is turned off.
Commit is done only if a
Robert,
Thanks for your response. No, the update queries use a
single connection for which auto-commit is turned off.
Commit is done only if all the update queries are
successful.
Thanks,
Shyam
--- Robert Taylor <[EMAIL PROTECTED]> wrote:
> Is it possible that dbConnection.doUpdate() gets a
> ne
On 03/08/2004 02:12 PM Ruud Steeghs wrote:
hi,
Can Struts actually generate compliant valid XHTML 1.0
strict markup using the tag?
If so, which version of Struts to use?
(http://www.junlu.com/msg/22026.html, but hey,
technologies may change so fast)
Yes, I'm doing it. Can't remember when I start
On 03/08/2004 12:02 PM Chris Searle wrote:
I'm getting an odd exception:
2004-03-08 11:19:41,405 ERROR [org.apache.commons.validator.Validator] reflection:
org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Object,
org.apache.commons.validator.ValidatorAction, org.apache.commons.
On 03/08/2004 08:35 AM Billy Ng wrote:
Hi folks,
I need to get a value from the properties file. I can easily do it in action subclass with the getResource().getMessage() and in jsp with the bean:message tag. However, how I can it in a taglib?
MessageResources resources = (MessageResources)
Is it possible that dbConnection.doUpdate() gets a new connection
each time which could possibly use up (exceed max allowed) the connections in the pool.
Just a guess.
robert
> -Original Message-
> From: Shyam A [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 08, 2004 4:32 PM
> To: [EMAI
Hi,
I know the subject of my mail is off-topic but I hope
somebody will be able to help me out with my problem.
I experienced a wierd problem today when a deadlock
occured in my database - Oracle 9i, and it locked up
all connections in the connection pool on my server -
OC4J (Oracle 9iAS). I have
I'm wondering if anyone has encountered this. I am using a login tile that handles
whether or not a login form is displayed when viewing a page. If the user is not
logged in and the controller detects a "remember-me" cookie, the controller then calls
the code I have to log in a user and passes
John,
A final question on this, please.
How do I obtain *the* PersonalDetailsForm bean from the Action class so that
I can populate it?
Thanks,
Frank.
- Original Message -
From: "John McGrath" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, March 08
Struts In Action does cover the basics in more detail than some of the other
books available, but I have to agree there really are a lot of irritating
typos in there, and the provided examples sometimes don't match up with the
code presented in the book. The Spielman book is a quick overview of the
Of course, back in the old days, we just used to read the source code for the example
application. By the time you figured out it's convoluted approach to everything, you
were an elite Struts developer! :-)
In terms of books, I like Sue Spielman's book:
http://www.amazon.com/exec/obidos/ISBN%3D
I don't use it, but the struts-menu add on may do what you want.
http://struts-menu.sourceforge.net/
Otherwise, the ModuleConfig class has a method findActionConfigs() which
returns an array of ActionConfig elements. In an Action you can get the
ModuleConfig from the ActionMapping. From Act
Quoting Frank Seaton Taylor <[EMAIL PROTECTED]>:
> Good day all,
>
> I'm a three month old web developer and have been trying to figure out
> how to do something described below. I've read a bunch of documentation
> and searched mailing lists and the web for answers, but fear that my
> inexper
I would say I'm smack bang in the middle of my Struts learning curve and, in
my opinion, the single most useful resource I have found is this six-part
series of articles:
http://www.ftponline.com/javapro/2002_09/online/servletsjsp_bkurniawan_09_13_02/
In terms of books, I've got both "Struts In A
You can specify a "indexedListProperty" in the validation.xml
Niall
- Original Message -
From: "Rous, Simon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 08, 2004 1:54 PM
Subject: Struts Form Validation
> I'm letting the user of my f
They are in two places, the struts specific validator files are in the
struts.jar - but validator is a commons component and its class files are in
commons-validator.jar.
Everything is shipped with the struts binary - look in the lib folder.
- Original Message -
From: "Ramachandran" <[EM
John,
You have answered my question perfectly! Thank you very much.
Thanks, also, to everyone else who has given their advice on this subject.
Frank.
- Original Message -
From: "John McGrath" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, March
The tag already has this facility - you can specify a "key"
attribute.
If however you want yo use the tag, there was an
identical discussion on this list recently. You can find the start of that
thread here..
http://www.mail-archive.com/[EMAIL PROTECTED]/msg93939.html
Niall
- Original Mes
On Mon, 8 Mar 2004, as as wrote:
I do it this way as well, but I use ActionMessages to store the specific
message, and have the tags to display it in a base jsp that is used by all
my forms via tiles.
So, in my BaseLayout.jsp, I have this that shows messages that aren't
errors at the top of the
Currently, you need to use the tag, not the html:options
or html:optionsCollection tags. The latter two do not support I18n.
Therefore, you need to iterate over a collection, placing the resource
key in the html:ooption's key attribute. Here's an example of what I
do:
--
Quoting Daniel Henrique Alves Lima <[EMAIL PROTECTED]>:
> It sounds good to me !
>
> Andrew Petro wrote:
>
> >Incidentally, have there been any thoughts on this list of differentiating
> >out a struts-user-newbie list from the main struts-user list?
> >
> >I think it's wonderful to have a welc
one strategy could be to reuse the same jsp- initial.jsp (your jsp name) and add a
snippet there that says:
and then add the code for the display message here-example:Success! Your task
succeeded".
or something of that sort
Thanks!
[EMAIL PROTECTED] wrote:
Hey guys,
Let's say I have an html
Hey guys,
Let's say I have an html form that maps to an ActionForm. After the user submits the
form, I would like to forward back to the html form and display some kind of success
message.
What's the best way to do this?
Roy.
--
pport experimentation and
trigger bug reports so that we can complete a release in the next couple of
months. Pick up the files dated 20040308 (or later) from:
http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/
Key new features (see the README.txt file for full details):
* Support
Good day all,
I'm a three month old web developer and have been trying to figure out
how to do something described below. I've read a bunch of documentation
and searched mailing lists and the web for answers, but fear that my
inexperience is hampering me in that my tenuous grasp of this new
vo
Hi,
Sorry if this is a repeat post, but I don't think the original went through.
I'm just starting into looking at struts.
Is it possible to generate a select/ options list using the html:select
and html:option(s) tags, where the labelProperties (i.e. the text
displayed on the end users web br
http://javaboutique.internet.com/tutorials/Struts11Val/
shows how to make a custom validator for multiple selects that worked for me
mas
Siamack wrote:
Hello Everyone:
I have a multiple select option as follows:
France
Germany
America
in my struts-config.xml, I use a DynaValidat
Hi Andrew,
Good point.
Freedom of choice is very appreciated and is one the axioms of open-source community
;-)
By the way, I'd like to invite all newbies and even Struts gurus to join us at
#struts_users IRC
channel at irc.darkmyst.org. There you can get help and meet some of the coolest
Hi, use this in your validator-rules.xml.
Julio
-Mensaje original-
De: Siamack [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 08 de Marzo de 2004 11:44 a.m.
Para: [EMAIL PROTECTED]
Asunto: validation.xml & multiple select
Hello Everyone:
I have a m
You're absolutely correct.
Thank you! And thanks to as as for answering!
Max
Hubert Rabago wrote:
If you're using 1.1, try passing ActionError objects instead of ActionMessage
objects. The syntax should be the same, you'll just use a different object.
Hubert
--- Max Kovalenkov <[EMAIL PROTECTED]
Hello Everyone:
I have a multiple select option as follows:
France
Germany
America
in my struts-config.xml, I use a DynaValidatorForm as follows
.
.
.
in my validation.xml I also have the following entry:
.
.
The valid
Hi all,
I have a application developed through Struts.
Application is behaving very strangely on performance side.
Performance measures are different depending on the user who is logged in to the
machine.
Is there any relation between Windows User Profile and application performance?
Reg
IMHO, "Struts in Action" is the best, given the caveat that it's rather
dated. Combine it with "Professional Jakarta Struts" and you should be in
good shape.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 07, 2004 2:38 PM
To: [EMAIL PROTECTED]
Subj
on the first hit to you personForm.do, or whatever (i presume you're not
hitting the jsp directly at any point), the backing Action class should
get the values from the validUser bean and populate the
PersonDetailsForm bean, which then gets used by the jsp. it sounds like
maybe you're using the val
I'm letting the user of my form build up entry fields as they need them - ie :
giving form fields ...
etc ...
How can I use validation.xml to validate these fields when I don't know if a
field exists on a page ?
--- repeated for each field -
Or for an intro book, I'd strongly suggest The Struts Framework by Sue
Spielman.
Good book...to the point...only 120 or so pages.
-Original Message-
From: Ruud Steeghs [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 7:50 AM
To: Struts Users Mailing List
Subject: Re: Suggestion need
>Programming Jakarta Struts - OReilly
is about Struts 1.1
It covers Tiles, Validator and all new 1.1 features.
-Ruud.
--- "Dean A. Hoover" <[EMAIL PROTECTED]> wrote:
> I've got:
>
> Struts in Action
> Programming Jakarta Struts
> Professional Strut Applications
>
> I like Struts in Action the b
I have found cases in an application I am developing
where I can use tiles to define subforms that I can use
in several places. For example, I have a registration form
that collects contact information. Once registered, a user
can change their contact information. I defined a tiles
"subform" to col
My hope was that differentiating the lists Struts might make the email load
more tractable for everyone.
Struts gurus might very well look at a new list for newbies and choose not
to subscribe. I don't see this as a problem. Struts gurus helping newbies
is a wonderful thing, but we're all volun
At 11:36 PM -0500 3/7/04, Martin Gainty wrote:
I'll ask the dumb question
What is Strike-thru formatting?
As noted, strike-thru formatting is just a text decoration that draws
the text with a line through it. Regarding the wiki, the idea was to
preserve the removed text for a while so that peopl
I've got:
Struts in Action
Programming Jakarta Struts
Professional Strut Applications
I like Struts in Action the best, but the pain is that I am a new
Struts developer and want to develop to Struts 1.1 (or maybe
even 1.2) but the books are written to Struts 1.0. Struts in
Action spends 90% of the
hi,
Can Struts actually generate compliant valid XHTML 1.0
strict markup using the tag?
If so, which version of Struts to use?
(http://www.junlu.com/msg/22026.html, but hey,
technologies may change so fast)
kind regards,
ruud.
__
Do you Yahoo!?
Yahoo! Search -
Hello,
As I'm using html:multibox in my JSP and need to reset the selected items,
I've extended the DynaValidatorForm and written a reset() method to do this.
Although the reset() method is called, the list of selected items is never
reseted. What did I missed? Thanks for help.
It seems the list
+1
Good book
-Original Message-
From: Janarthan Sathiamurthy [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 1:54 PM
To: Struts Users Mailing List
Subject: Re: Suggestion needed on good Struts book
Programming Jakarta Struts - OReilly
[EMAIL PROTECTED] wrote:Hi,
I am a newbi
Your form should have all needed fields for all pages in the workflow.
And the scope for the form should be session scoped, if you want to
avoid persisting all previous fields as hiddens. When cant use session
scope (for whatever reason) I use a tag that generates all hidden fields
given a form aut
Hi,
My point is: will Struts gurus that participate this list subscribe to one more
list? I think
they are too busy for increasing their email load a bit more.
Newbies could get a better help if, before posting to this list, they did homework:
i mean, read
Struts docs, Google, etc. I'm not s
I'm getting an odd exception:
2004-03-08 11:19:41,405 ERROR [org.apache.commons.validator.Validator] reflection:
org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Object,
org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.Field,
org.apache.struts.action
+1
-Original Message-
From: Paul-J Woodward [mailto:[EMAIL PROTECTED]
Sent: Monday, 8 March 2004 16:31
To: Struts Users Mailing List
Subject: Re: Suggestion needed on good Struts book
Struts in Action - Manning
Excellent book.
Paul
--
Hi All,
I am a new Bie at Struts Application.
I want to develop a dynmic form by using Struts Framework.How shall I
proceed in that ?
It will be always appericiable to put your valuable Suggestion to it.
Thankx in advance
best regds,
Amol
-
Hi Shirish
Thanks for getting back to me :)
My usecase is as follows :
Page 1 (RegisterSellerActionPage1.java) will let them choose a username
and password (it checks the database to see that the username is not
taken already, and then checks that the two passwords enter match)
Page 2 (Register
Can any one please send me the URL of where struts validator files are. I
want to use the validator in my project. So i am in the need pf such class
files...
Thanx,
Ram
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Extend the base Struts Action Class. Add a getter/setter method for the
property named as an XML subelelement of the action mapping in the
struts-config.xml.
E.g.
struts-config.xml
iIn your: MyActionMapping which extends ActionMapping
private String myproperty = null;
public
Hi,
Those setters will be called on the ActionMapping you specify.So the same will me
available in all actions as attributes on your custom ActionMapping class(Subclass of
ActionMapping.)
And you have to configure the struts to use your action mapping as follows.
HTH.
Regards,
Shirish
Hey everbody!
I derived my own Action-subclass for doing multiple stuff in my webapp on
every request. Part of the "multiple-stuff" is a method that checks if the
session got lost, but only if needed at that certain point in the
application (like when a formbean is used over multiple request for
this is strike-through formatting
On 8 Mar 2004, at 05:36, Martin Gainty wrote:
I'll ask the dumb question
What is Strike-thru formatting?
~Martin~
- Original Message -
From: "Joe Germuska" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, March 07, 2
Programming Jakarta Struts - OReilly
[EMAIL PROTECTED] wrote:Hi,
I am a newbie to Struts.
I have been looking for books on Struts and found these on Amazon
Programming Jakarta Struts - OReilly
Struts in Action - Manning
Struts Framework - Morgan Kaufmann
Struts Survival Guide - ObjectSource
Pro
Struts in Action - Manning
Excellent book.
Paul
Global Equity Derivatives Technology
Deutsche Bank [/]
Janarthan Sathiamurthy <[EMAIL PROTECTED]>
08/03/2004 08:23
Please r
87 matches
Mail list logo