We have bean:write tags that read bean properties and output to the jsp
page.
I am wondering why we are always forced to set bean properties through one
of the form tags.
In many cases where there are a lot of common properites to be set it is
easier to set the bulk of the bean properties through
Ganesh,
Assumptions:
1) you have a form with an attribute that is a Collection (ie. List)
2) you have a getter and a setter for this attribute
3) the Collection will have a constant number of elements (in this
example, the size is 5
4) the Collection contains Beans
I had trouble in a windows platform (Windows XP home) using directory names
that don't follow the old 8 letter (or less) prefix and 3 letter extention
in my ms-dos/command.com CLASSPATH variable. Using "dir /x" will show the
old dos-style directory or file name. I found that using those names wor
Yes it may me nasty but David im sorry
i dont know "dir / x " and what is 8.3 directory
names ??
I will correct the classpath surely.
Birendar Singh Waldiya
"David Friedman"
<[EMAIL PROTECTED]>
22-04-04 11:19 AM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
Birendar,
That is a nasty looking classpath with slashes going in both directions in
your JDK path portion (incredibly unwise), long path names, and so forth.
Did you try using "dir /x" to get the short (8.3) directory names and fixing
your classpath from this
CLASSPATH=.;C:\jsdk1.4.2/lib/tools.ja
I sent the possible reason , i
didnt get exact one .. probaly you might have skipped my mail or deleted
Birendar Singh Waldiya
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
"David Friedman"
<[EMAIL PROTECTED]>
21-04-04 02:39 AM
Please respond to
"Stru
Below was the messages i was getting
: I havent yet exactly found the reason why this happened im also
sending the output of set command on dos prompt.
C:\biren\java>javac jaba1.java
jaba1.java:2: cannot resolve symbol
symbol : class io
location: class java
import java.io.*;
For foll
I see. So there are three (3) alternatives that I know then.
Anybody can point the pro/cons of each one?
~Dion~
-Original Message-
From: Ravi Kulkarni [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 1:15 PM
To: Struts Users Mailing List
Subject: RE: Advantages/Disadvantages of On
DispatchAction is what exactly is meant for these kinds of situations.
Kulkarni.
> -Original Message-
> From: Dionisius Purba [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 22, 2004 10:43 AM
> To: 'Struts Users Mailing List'
> Subject: Advantages/Disadvantages of One Action for each Us
Hi,
I was wondering what's the advantage and disadvantage of
creating one Action for each use case, i.e. creating
NewAccountAction.java
EditAccountAction.java
or even with NewAccountFormAction.java
vs
AccountAction.java
and inside the AccountAction we can check parameter from the JSP
then execut
Mario,
I'm glad to hear it is working. I couldn't get my properties file to work
with spaces, I had to use equals signs:
hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect
hibernate.connection.username=X
hibernate.connection.password=Y
hibernate.connection.url=jdbc:mysql://localhost
Hi friends I'm always thankful to u 4ur non-stop help towards me. Here is a problem with buttons. Pls observer the sample code. Now what my intension is to pre-populate values from database to 'radio' buttons whatever value was selected among 4radio buttons which r in a single row as a gro
Niall,
Sorry if I was unclear, I understand that the form is placed in the
request as the form name, but what we were doing was putting it under a
constant key, so regardless of what you actually called the form in your
action element it would always be available in the request under a
constant ke
I have getMap and setMap. Also, I want to use bean:write rather than
html:text. What do you think?
Michael
At 04:22 PM 4/21/2004, Niall Pemberton wrote:
Haven't done this but either your class needs to be a Map implementation or
you need getter/setter for your Map
public void setMyMap(Map
David Friedman wrote:
Mario,
Where is your hibernate.properties file? in WEB-INF/classes or somewhere
else?
Regards,
David
-Original Message-
From: Jesse Alexander (KXT) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 5:09 AM
To: 'Struts Users Mailing List'
Subject: RE: Struts a
I'm sure this was discussed recently, all I could find was the following:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg94001.html
http://www.mail-archive.com/[EMAIL PROTECTED]/msg66672.html
Niall
- Original Message -
From: "Lowery, Mat" <[EMAIL PROTECTED]>
Sent: Tuesday, April 20, 2
Struts already does this, it stores the form under the name you specified in
your action mapping. So if you have:
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, April 22, 2004 2:26 AM
Subject: RE: Getting the form bean on a page for use in a core tag
> Bill,
>
> Thanks f
Bill,
Thanks for your help here. We actually ended up working down a different
path for this particular issue but I am now using this technique in
other code.
One thing we did to make the core tag code more generic was to store a
reference to the form bean in the request attributes under a short,
If you implement it yourself in DynaValidatorForm there is a LazyList class
in Commons collections which you might like to use.
http://cvs.apache.org/viewcvs.cgi/jakarta-commons/collections/src/java/org/apache/commons/collections/list/
Niall
- Original Message -
From: "Nathan Ewing" <[E
Well you need to get the original ResultSet out of the wrapper - I don't use
dbcp, but looking at the source code it looks like getInnermostDelegate()
does that.
http://cvs.apache.org/viewcvs.cgi/jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/
The thing is, do you need to cast it to an Ora
Thanks I will. I might also extend DynaValidatorForm to make it work like
LazyValidatorForm (so I don't have to rewrite code I've already made).
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Wed 4/21/2004 6:10 PM
To: Struts Users Mailing List
Cc:
So what would be the best way of converting that wrapper class into an
OracleResultSet?
Is the problem that an OracleResultSet extends java.sql.ResultSet and
the Wrapper implements it?
Nathan
On Apr 21, 2004, at 5:29 PM, Niall Pemberton wrote:
So if its not an OracleResultSet, then what kind
It should be
.. or even
- Original Message -
From: "bOOyah" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 22, 2004 1:31 AM
Subject: ActionErrors in my JSP: how can I rewrite this RT snippet as EL?
> Hi
>
> I'm displaying valida
Hi
I'm displaying validate() ActionErrors in my JSP using the RT
html:errors tag. But I can't seem to be able to successfully rewrite my
snippet of Struts RT in EL.
This works:
<%@ page import="org.apache.struts.Globals"%>
<%@ page import="org.apache.struts.action.ActionMessages"%>
...
Thats good you sorted it out, and that you posted the cause/solution back to
the list.
We could do with some Wiki pages where people could record errors and their
cause/solution - kind of "knowledge base", I'm sure it would help alot of
people - it can be difficult to find these kinds of things fr
Mario,
Where is your hibernate.properties file? in WEB-INF/classes or somewhere
else?
Regards,
David
-Original Message-
From: Jesse Alexander (KXT) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 5:09 AM
To: 'Struts Users Mailing List'
Subject: RE: Struts and Hibernate
could
Niall, thanks for your response.
It would appear that this is the result of the user having javascript
disabled on their browser. Also, once we established that the users were
not actually submitting their forms, but were getting the error as soon as
they clicked on the link, it made it much easi
So if its not an OracleResultSet, then what kind is it?
I believe if you use something like Commons dbcp it uses wrappers for
everything - DelegatingResultSet
Niall
- Original Message -
From: "Nathan Maves" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Th
Haven't done this but either your class needs to be a Map implementation or
you need getter/setter for your Map
public void setMyMap(Map myMap)
public Map getMyMap()
The problem with using the tags and not having your Map as a property
of the ActionForm is that when the form is submitt
I know this is not truly struts related but...
I had a servlet that loaded blobs from oracle (pdf files). This worked
perfect. I copied the code into my action and I know receive this
error:
java.lang.ClassCastException
at
reporting.viewer.presentation.actions.ViewReport.execute(V
I created a simple class with the map and setValue(Object key, Object
value) as well as getValue(Object key). Then tested the class by putting
an instance of the class into session scope on a page, retrieving the
object on the same page, and trying to access the properties via the mapped
prope
Sorry, don't have an answer/solution for you, but I am left me wondering
what was the result of the action that ran? The tiles stuff is done at the
end, after the Action - so if your users submitted a form then did the
Action do its stuff OK and then fail forwarding to your tiles definition? If
so
OK, then I repeat my earlier answer - use (or at least look at) the "Lazy"
versions I wrote.
http://www.niallp.pwp.blueyonder.co.uk/
is all it needs.
If you look at the get(String name, int index) method in LazyValidatorForm,
then it generates an ArrayList of LazyDynaBeans.
Niall
- O
Let me rephrase :)
"its MUCH easier to save these records to the database if everything is
represented as DynaBeans"
That would be what I meant to say :)
I'm writing the Actions separately, they are not Dyna-anything. I
defined all my beans as DynaBeans in the struts-config.xml file, and I
wro
And if you want to do a javascript validation on it as well, don't forget to
set the attribute to be regexp in the validation.xml. Not that
I struggled with that problem for a week or anything...
Matt
- Original Message -
From: "Niall Pemberton" <[EMAIL PROTECTED]>
To: "Struts Users Ma
If your form is "session" scoped then the collection of beans will exist
when your form is submitted back. For request scope, which I presume you are
using, then you will need to generate your collection of beans. Theres been
quite a bit of discussion on this list about how to do this - with a numb
Theres nothing in the "standard" mask validation that ships with struts that
allows you to do this, but it would be pretty straight forward to write and
configure your own validator to do this. Set up a static mehtod somewhere
that does pretty much what the FieldChecks.validateMask() method does,
DynaActionForm is an ActionForm that implements the DynaBean interface. I
would understand if you said its " MUCH easier to save these records to the
database if everything is
represented as DynaBeans", but not DynaForms - why would you need it to be
an ActioForm as well as a DynaBean and not just
Lemme give an example, Lets say I have a form for Cars. The main form
allows them to put in the details of the Car (make, model, year, etc).
Then there is a subform to put in car parts. When you fill out the car
part form, it automatically adds that car part to the list of car parts
on the main f
thanks Bill!
"Bill Siggelkow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> When you iterate through a map you are iterating through the Set of
> Map.Entry values. The Map.Entry encapsulate a key-value pair.
> Map.Entry has a "key" property and a "value" property. In your case, th
that probably won't compile either
import java.io.*;
class test
{
public static void main(String[] args)
{
System.out .println("My Apologies To all"); }
}
you were missing ; after the import ant String [] as a paramter to main was
declared wrong.
Pritpal
-Original Message-
Fro
I don't understand why you need ActionForms embedded in your main
ActionForm - don't these "sub forms" just need to be some sort of DynaBeans
rather than ActionForm?
If you want to use the "Lazy" versions, then just make it your main
ActionForm:
Then in your jsp
Should populate an Arr
I tried replacing the
with:
And I get the following when I hit the submit button on my form:
Root Cause
java.lang.ArrayIndexOutOfBoundsException
at java.lang.reflect.Array.get(Native Method)
at
org.apache.struts.action.DynaActionForm.get(DynaActionForm.java:296)
at
org
:-) No :-)
plz look at my first message (first msg in this thread).
When writing the second message I was a little bit frustrated that no one
had answered yet!
Thx in advance
Lachdanan
"Daniel Henrique Alves Lima" <[EMAIL PROTECTED]> schrieb im
Newsbeitrag news:[EMAIL PROTECTED]
> What *exactly*
I've got a struts app in production and a couple users get this problem when
submitting a certain form. The error appears to be about tiles, but that
just doesn't seem logical, since why wouldn't everybody be getting the
error?
Before I post the error message, etc, I should point out that the key
I hope someone responds to this...I need the solution to this problem as well.
-Original Message-
From: Berke, Wayne [IT]
Sent: Wednesday, April 21, 2004 9:03 AM
To: Struts Users Mailing List
Subject: Validation with 2 masks?
I'd like to a property validation against 2 different regular
Well the lazy beans themselves look easy to work with, but I have to
write code that converts the lazy beans to regular dynabeans (and back).
My normal dynabeans have extra fields in them to do things like specify
the correct table to save a bean to, and also formatting options for
beans going to a
I don't think using the lazy beans is a bad approach and if you look at the code,
there is very little of it.
I got half way to implementing the approach, but the piece I was building was shut
down so I don't know how effective it is.
sandeep
-Original Message-
From: Nathan Ewing [mail
I briefly toyed with the idea of trying to fix the flaw myself, but I
looked at the struts source code and the change would not be a trivial
one.
-Original Message-
From: Takhar, Sandeep [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 1:33 PM
To: Struts Users Mailing List
Subjec
I couldn't think of one.
sandeep
-Original Message-
From: Nathan Ewing [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 11:00 AM
To: Struts Users Mailing List
Subject: RE: Creating an indexed property of DynaActionForms
I take it then that there is no way to use normal DynaActi
if you can use tiles, usend the TileControllerClass you can
include-on-the-fly any file specified in a variable.
- Original Message -
From: "Pani R" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, April 21, 2004 5:05 PM
Subject: in <%include> not
When you iterate through a map you are iterating through the Set of
Map.Entry values. The Map.Entry encapsulate a key-value pair.
Map.Entry has a "key" property and a "value" property. In your case, the
value itself is an Integer[]. Try the following:
Bill Siggelkow
news.gmane
Have you tried something like this :
If your property "hashmap" is a hashMap that contains a key "myInts" with the value "Integer []" try this:
news.gmane.org wrote:
myBean contains a property myHashMap
myHashMap contains Integer[]'s as values
I would like to figure out
Michael McGrady wrote:
Is there a way to use non-form based mapped and indexed properties with
bean and/or html tags? Apparently not?
Yes -- you can used both mapped and indexed properties from normal
JavaBeans. You can be more specific on the problem you are having?
Bill Siggelkow
--
Thank You! It works.
- Pani
--
- Original Message -
DATE: Wed, 21 Apr 2004 12:53:15
From: Daniel Henrique Alves Lima <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Cc:
>Try something like this:
>
>
>
>
>Pani R wrote:
>
>>Hi All:
>>
>>When I use <%@ inclu
myBean contains a property myHashMap
myHashMap contains Integer[]'s as values
I would like to figure out how to iterate through myHashMap and write each
Integer from each Integer[]
I have the following but since the Integer[] is not a bean or a property of
a bean, I can't figure out how to refere
What *exactly* is your question ? Is only the subject of your e-mail ?
Lachdanan wrote:
Did I forget the ??? in the subject line so that no one answers?
Lachdanan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Try something like this:
Pani R wrote:
Hi All:
When I use <%@ include file='' %>,
the tag doesn't seem to pull the corresponding resource from the App.Resource file.
Instead, its looking for a file "
I tried using . Also, tried various combination of single and double quotes. But nada. It p
HI pani,
pls go through the this.. i think it will help
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
Bye,
Jbalaji
Pani R <[EMAIL PROTECTED]> wrote:
Hi All:
When I use ' %>,
the tag doesn't seem to pull the corresponding resource from the App.Resource file.
Instead,
Is there a way to use non-form based mapped and indexed properties with
bean and/or html tags? Apparently not?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Did I forget the ??? in the subject line so that no one answers?
Lachdanan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi All:
When I use <%@ include file='' %>,
the tag doesn't seem to pull the corresponding resource from the App.Resource
file. Instead, its looking for a file ". Also, tried various combination of single and
double quotes. But nada. It picks the file name as such in ''
I'm sure I'm including
I take it then that there is no way to use normal DynaActionForms. It
would certainly be a lot simpler. :(
Nathan
-Original Message-
From: Takhar, Sandeep [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 7:44 AM
To: Struts Users Mailing List
Subject: RE: Creating an indexed
Just create an action. The first time the action is called have it do:
return (mapping.findForward("display"));
In the jsp code, when you specify the form tag do:
It will then go back to the original form with a parameter added:
String action = request.getParameter("action");
If (action != n
Sure, just send it to an action and in the targets you can specify which
page to goto depending on whether you want it to go to the same page or
a new one.
-Original Message-
From: Julio Cesar De Salvo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 9:55 AM
To: 'Struts Users Ma
I was wondering if there's any chance to create an action that do some
processing and then return to the same page it was called.
Thanks, Julio
Long shot, but I once had something similar
Are you using mailto:[EMAIL PROTECTED]
Sent: 21 April 2004 15:21
To: [EMAIL PROTECTED]
Subject: execute() method running twice
Hi there .. :-)
Wonder if anyone could help me with a strange problem I can't seem to solve.
I have a form tied to an
Hi,
I had the same one last year. The solution was:
I had a table tag with background attribute and this contains a "#". If I had remove
this, the action will not executed twice.
Pherhaps it's help you.
Regards,
Frank
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL
Hi there .. :-)
Wonder if anyone could help me with a strange problem I can't seem to solve.
I have a form tied to an Action. The form is submitted through a Javascript call from
the
JSP page.
I was getting some strange behaviour, so I added a bit of debug code, and discovered
that the execut
What I had to do is to read the parameter out of the request. If the
parameter is there, the value is 'true' and I call the setter to set the
value to 'true'. If the parameter does not exist (the
request.getParameter(...) returns null) then I call the setter and set the
value to 'false'.
On wiza
Not *quite* what I was saying, but close.
I have a list for displaying things. A parameter for the dispatching,
and now I'm considering putting in a map for criteria to be entered from
the user (the more typical pattern).
The reason this has become so tempting is that I am using Hubert
Rabago's F
I think reset because you may change validation at some point as well.
reset -> populate -> validate -> action.
sandeep
-Original Message-
From: Guillermo Meyer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 8:15 AM
To: 'Struts Users Mailing List'
Subject: RE: Problem with
I use JBuilder 8 with Struts 1.1 and no real problems (okay, you need to
make it forget 1.0 exists or it will try to put back the wrong dtd's in
your WEB-INF directory when you startup).
Look at the JBuilder defintion for the Struts Library under "Configure
Libraries", you want to make a 1.1. vers
I'd like to a property validation against 2 different regular expressions with 2
different error messages.
This seems like a fairly common use. Is there a best practice for it?
Wayne
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hello All,
In the validator-rules.xml for a particular JavaScript function can we
change the number of messages to more than 1 i.e. Can we use
Msg="test1" more than once?
Thanks,
VJ
Hi
U can generate Dynaaction elements "struts-config.xml" file.
For eg:
urs
Ganesh
-
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
And what happens when you are using a DispatchAction and a session
scoped form? If you are in a wizard use case, where you go forwards and
backwards in a screen sequence using Dispatch action and session scoped
form, if in the first screen you set the checkbox on and then you want
to go back and un
Hmmm... That is interesting because I was always under the assumption that the setter
is never called when there is no value and the only read world use of reset() is to
set checkboxes to false?
Am I wrong?
sandeep
-Original Message-
From: Marc L. Veary [mailto:[EMAIL PROTECTED]
Sent:
Use the lazyValidatorActionForm, which allows you to keep things request scope when
using arrays.
http://www.niallp.pwp.blueyonder.co.uk/
Unfortunately I haven't tried this, but am pretty sure it works.
sandeep
-Original Message-
From: Natha
Thanks for a reply, but I still have not solved my problem.
After I moved all library files, just like you said.
I tried to change my struts-config.dtd
But encountered with the following parser error:
Parse Fatal Error at line 4 column -1: External entity not found:
"http://jakarta.apache.org/stru
Hi List,
Can any one suggest me a hint/path in Struts where I can generate dynamic
Form Elements and also I shall be able to handle the Validations of those
through the JavaScript.
It will be an needy Help!!!
Thankx in Advance!!
Best regds,
Amol
Hi friends
I'm always thankful to u 4ur non-stop help towards me.
Here is a problem with buttons.
Pls observer the sample code.
Now what my intension is to pre-populate values from database to 'radio' buttons
whatever value was selected among 4radio buttons which r in a
Yes it - is. I use Jbuilder 9 and struts 1.1
You need to manually configure it:
- Add 2 new libraries through Tools/Configure Libraries - call one Struts
1.1 and the other Struts 1.1 JSTL
- For Struts 1.1 JSTL
- add classes %strutsdir%/contrib/struts-el/lib/jstl.jar and
%strutsdir%/contrib
Hi,
I am using J Builder 9 for web development.
It has built-in Struts 1.0. Is it possible to change it to struts 1.1 version.
I tried changing the struts.jar file in thirdparty/jakarta-struts-1.0.2.
But it doesnt work properly.
My problem is the error given:
Parse Error at line 7 column -1: Eleme
Hi friends
I'm always thankful to u 4ur non-stop help towards me.
Here is a problem with buttons.
Pls observer the sample code.
Now what my intension is to pre-populate values from database to 'radio'
buttons whatever value was selected among 4radio buttons which r in a single
row a
Dear all,
This may be a long shot, but here we go:
I am using struts with hibernate. I have managed to get hibernate using
JBoss's TreeCache under JOTM with Tomcat 4.1. There appears to be
virtually no documentation on how to do that part, but somehow I've
fluffed by way through it.
Does any
Jesse
You're correct. I'm not sure how complex Paul's application is, but indeed,
separating it's logic into such a layers is a good idea. Paul asked about
examples - the best I know is RedHat's WAF. There is a powerful persistence
layer, handling objects creation and manipulation, and domain objec
This sounds familiar and may relate to a problem I used to have with showing
Bulgarian (Cyrillic). It's too long ago to remember precise details, but
here are some tips:
Look at the text file encoding of your properties file and of the JSP file,
this should be UTF-8, you can set this with IDEs su
could the problem lie beneath the different jdbc-drivers you two guys use?
Joe, you are using the newest generation mysql-driver. Mario uses the old one.
I also experienced strange stuff using the old one. worked after switching to
the new one...
hth
Alexander
-Original Message-
From: Joe
Hi all,
I am using Tiles in my Main page :
The page "Navi.jsp" contains the following code :
PB : When I click to the link the forwarded page is displayed lonly in the window
What I want is to display the page in the "content" of tiles, and the 'Foot', 'Navi'
must be d
Brilliant.
Thanks for the help.
Kind regards,
--
Marc
-Original Message-
From: Rajani [mailto:[EMAIL PROTECTED]
Sent: 21 April 2004 09:43
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Problem with
Hi,
The problem is, when the checkbox is unchecked, the value passed is
Hi,
The problem is, when the checkbox is unchecked, the value passed is null and
not false.
So in the action class you should check if the form bean checbox property is
null...then set it to false explicitly.
Regards
Rajani
-Original Message-
From: Marc L. Veary [mailto:[EMAIL PROTECTED]
Hi All,
I have a JSP with the following:
The problem is this:
The appropriate Form Bean setters are called when setting the checkboxes
(i.e. when ticking them), but not with unsetting them and I can't seem to
figure out why. The setters/getters in Form Bean take and return 'boolean'
One more reference: http://tinyurl.com/2rxbh
Best,
Xuemin
- Original Message -
From: "Ralf Schneider" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, April 21, 2004 4:52 PM
Subject: Re: Problem with Data Source Definition
> Am Dienstag, 20. Apr
I don't know the cause of this problem. I set up the datasource
inforamtion in both Tomcat's server.xml and the application
specific web.xml rather than in struts-config.xml, and I have no
problem.
The regarding part in the server.xml:
Am Dienstag, 20. April 2004 08:53 schrieb Xuemin Guan:
> Tomcat (5.0.19) comes together with commons-pool-1.1.jar, which
> is under CALINA_HOME/common/lib. This directory is both seen
> by container and you web applications. So, I guess the problem is not
> cause by the lack of commons-pool-1.1.jar
I would compare this problem with the EJB's... (even if I do not really like
the EJB's).
The DAO corresponds to the Entity-Bean. It should govern the atomar life-cycle
of the single Business-Object.
Then you have the Session-Bean which implements the use-case-logic. This class
contains the logic
Could some one tell the actual advantage/disadvantage using a bean:message or
i18n:message for implementing i18n.
Except for the fact of loading i18n bundle within the jsp for i18n:message and loading
it as part of struts config for bean:message.
thanks in advance.
Joe,
generally speaking you should seperate out the search functionality from
the object lists. You could have two different forms quite easily and
when you decide to enhance your search functionality it could quickly
get really messy.
On 04/21/2004 06:44 AM Rick Reumann wrote:
Joe Hertz wrote:
99 matches
Mail list logo