Whoops! in point 4) I meant:
Sorry for the mistake.
Ciao
Antonio Petrelli
[EMAIL PROTECTED] wrote:
>Mmm... I think there is some misunderstanding in your use of Tiles.
>If I understood, maybe you want to have an effect of "panel and
>subpanels". If you want to do such a thing, you ca
I see. Checked API doc, saw getServlet() call for
Action. Guess this is what I need to use.
thanks !
--- Paul McCulloch <[EMAIL PROTECTED]>
wrote:
> I think it was me who pointed you down that route to
> destroy & recreate a
> form bean to clear any data in it.
>
> reset() is not used for this
Leandro Melo wrote:
Hi,
for how long will an Action be in memory?
Here's the point.
I have a situation where the user register his/her
company in my application. He/she uses a wizard of 4
jsp pages, as he/she submits one, he/she is redirected
to the other one. In this situation i keep a reference
o
Hi,
Instead of using for names in that case use.
This should not give any problem := Documet.forms[0].elements[0]
When formname and somename has dots in between.
Accessing elements in this fashion will give problem :=
Documet.formname.getElementsById("somename")
I mean to say access the elemen
You don't event need that. As I said - servlet is a protected instance
variable of Action, so you can just use 'servlet' in code in your Action
desdendants.
Paul
> -Original Message-
> From: lixin chu [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 8:29 AM
> To: Struts Use
Hi Paul,
> You don't event need that. As I said - servlet is a protected instance
> variable of Action, so you can just use 'servlet' in code in your Action
> desdendants.
I wonder why it's not private? Not very encapsulated...
Best regards,
-- Shinobu Kawai
--
Shinobu Kawai <[EMAIL PROTECTED]
Hi,
I am trying to follow the advice given yesterday but am now baffled by the
basic jstl stuff.
I have cut it down to basics and still get no output actually written to the
page. I've tried all variations on the theme (have the arraylist in the
session, use c:outs in the "" tags etc).
The code
Probably to discourage subclasses from creating/maintaining their own
instance of ActionServlet... But then it doesn't make any sense to do
that anyway, although you'll never believe what some users end up
coming up with.
I'd be very interested to hear the answer to this one.
-Yves-
On Wed, 01 S
Hi All,
Is there a way we can make our Action Classes reusable across different
modules?
Generally we have one Action class for every module.Maybe,if we put our
business logic in different business classes (particular to a module) and
make these business classes implement a common interface?
I hav
I want to download the Artimus example source code in
the "Struts in Action". Where (what is the URL) do I
find the download?
__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
-
Hi,
Some action classes can be made reusable, such as actions that add
attachments. You have to try to make your code as generic as possible
in these actions and simply define a different path in the forward of
the corresponding ActionMapping.
But these are generally rare cases. Often times, its
Artimus is in "contrib" - you get the source code with the standard struts
"source" distribution:
http://jakarta.apache.org/site/sourceindex.cgi
Niall
- Original Message -
From: "Caroline Jen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 01, 2004 2:04 PM
Subjec
Hi,
Its in sourceforge.net. Try searching Google. It comes up right away.
-Yves-
On Wed, 1 Sep 2004 06:04:02 -0700 (PDT), Caroline Jen
<[EMAIL PROTECTED]> wrote:
> I want to download the Artimus example source code in
> the "Struts in Action". Where (what is the URL) do I
> find the download?
>
If you want to use MVC (and so struts) the "proper" and "modern" way,
each of your action classes should exactly match one "use case".
If you share same use cases across different "modules" (what ever you call modules)
those actions would be automatically reusable.
Using _one_ action for a com
Thanks Yves...that was valuable input
-Original Message-
From: Yves Sy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 6:42 PM
To: Struts Users Mailing List
Subject: Re: Action Class Reusable
Hi,
Some action classes can be made reusable, such as actions that add
attach
Thanks Leonthat was useful..
I have never used DispatchAction ...need to study it a little.
-Original Message-
From: Rosenberg, Leon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 6:51 PM
To: Struts Users Mailing List
Subject: AW: Action Class Reusable
If you want
Hi,
In trying to resolve another (more Struts related!) problem someone
suggested using a
<%@ taglib uri="jstl/c" prefix="c" %>
<%
Test con1 = new Test();
Test con2 = new Test();
con1.setName("Fred");
con2.setName("Dog");
ArrayList xxx = new ArrayList();
xxx.add(con1);
xxx.add(con2);
%>
xxx needs to be somewhere accessible to the c:forEach tag. Do a search
on scoped variables. This can be done in your scriptlet or in the action
that forwards to this jsp.
Brett
andy wix wrote:
Hi,
In trying to resolve another (more Struts related!) problem someone
suggested using a
<%@ taglib
I found this JavaScript, which is supposed to listen for the "Enter" key
on any browser (and submit the form on keypress). However, it doesn't
seem to be working in IE:
if (document.layers) document.captureEvents(Event.KEYDOWN);
document.onkeydown =
function (evt) {
var k
Sorry for the OT post to the list, but it's no worse than Mark's "I need
a beer" posts:) Anyway, I'm already in a few fantasy football leagues,
but my dad (who barely knows how to use a computer) wants to try out
fantasy football and another friend of mind who never played before
wants in also.
> I found this JavaScript, which is supposed to listen for the
> "Enter" key on any browser (and submit the form on keypress).
> However, it doesn't seem to be working in IE:
I don't think you need this. By default, pushing the "Enter" key is
equivalent to clicking the "Submit" button.
--
Tim S
I need it because I have multiple buttons. On some screens, the Enter
key triggers the "Cancel" button, which is not desirable. The "Cancel"
button appears before the "Submit" button.
Erik
Slattery, Tim - BLS wrote:
I found this JavaScript, which is supposed to listen for the
"Enter" key on any
And, now I will repost the code which was omitted in a reply:
Erik Weber wrote:
I found this JavaScript, which is supposed to listen for the "Enter"
key on any browser (and submit the form on keypress). However, it
doesn't seem to be working in IE:
if (document.layers) document.captureEvents(E
This should give most of you a good chuckle so I figued I'd share..
My dad has never used a computer until about a week ago, when I
convinced him to check out going online so he can pick up golf news and
scores. I decided to set up a yahoo account for him and I e-mailed him
the username and pass
Erik Weber wrote:
I need it because I have multiple buttons. On some screens, the Enter
key triggers the "Cancel" button, which is not desirable. The "Cancel"
button appears before the "Submit" button.
I would think making an extra submit button that was hidden (using css)
would be easier.
--
R
:)
have you never asked yourself the same ?!?
;-)
> -Original Message-
> From: Rick Reumann [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 4:09 PM
> To: Struts Users Mailing List
> Subject: [OT] Funny phone call from my Dad:)
>
>
> This should give most of you a good
That is VERY natural Rick...I think that will hapeen in 100% of the cases
for people absolutely new to computers.
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 7:39 PM
To: Struts Users Mailing List
Subject: [OT] Funny phone call fro
Slattery, Tim - BLS wrote:
I found this JavaScript, which is supposed to listen for the
"Enter" key on any browser (and submit the form on keypress).
However, it doesn't seem to be working in IE:
I don't think you need this. By default, pushing the "Enter" key is
equivalent to clicking the "Submi
Jitesh Sinha wrote:
That is VERY natural Rick...I think that will hapeen in 100% of the cases
for people absolutely new to computers.
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 7:39 PM
To: Struts Users Mailing List
Subject: [OT] F
Jitesh Sinha wrote:
That is VERY natural Rick...I think that will hapeen in 100% of the cases
for people absolutely new to computers.
True, although I think you get the same asterisks at the ATM machine
when you enter your password -- then again I think those machines scare
my dad also - I th
We all laugh now but we might just end up like that ourselves someday :)
I myself have been stuck with the grunge music of the early 90's
already. I try to keep up with the new stuff but... its just
different! :(
On Wed, 01 Sep 2004 10:25:32 -0400, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Jitesh
Yves Sy wrote:
We all laugh now but we might just end up like that ourselves someday :)
I myself have been stuck with the grunge music of the early 90's
already. I try to keep up with the new stuff but... its just
different! :(
On Wed, 01 Sep 2004 10:25:32 -0400, Rick Reumann <[EMAIL PROTECTED]> wr
Rick, this is a new concept to me. Is the strategy to make this button
the first one in line on each screen, and therefore it will be the
target of the "Enter" key? Would this button then need an onclick to
submit the form, or is that not necessary?
Thanks,
Erik
Rick Reumann wrote:
Erik Weber w
To quote Homer Simpson (when he was attempting to use a computer):
"Whew! This is hard work. Where's my Tab?"
:D
Erik
Rick Reumann wrote:
Jitesh Sinha wrote:
That is VERY natural Rick...I think that will hapeen in 100% of the
cases
for people absolutely new to computers.
True, although I thi
I have two resources files.
How can I specify which resource file to use in validation.xml?
Validation.xml:
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Erik Weber wrote:
Would this button then need an onclick to
submit the form, or is that not necessary?
I haven't had to use the approach but I don't think it would be
necessary to add an onclick. Just make it's a regular submit button and
make sure it's hidden after the tag
--
Rick
--
Rick Reumann <[EMAIL PROTECTED]> wrote on 09/01/2004 10:25:32 AM:
> Jitesh Sinha wrote:
>
> > That is VERY natural Rick...I think that will hapeen in 100% of the
cases
> > for people absolutely new to computers.
>
> True, although I think you get the same asterisks at the ATM machine
> whe
Erik Weber wrote:
I found this JavaScript, which is supposed to listen for the "Enter" key
on any browser (and submit the form on keypress). However, it doesn't
seem to be working in IE:
if (document.layers) document.captureEvents(Event.KEYDOWN);
document.onkeydown =
function (evt) {
var keyCode =
Okay, Andy -- JSTL operates on scoped variables not scripting variables.
You are trying to access scripting variables. I found this good primer
on JSTL that explains this at
http://www-106.ibm.com/developerworks/java/library/j-jstl0211.html
andy wix wrote:
Hi,
In trying to resolve another (more
David Durham wrote:
Erik Weber wrote:
I found this JavaScript, which is supposed to listen for the "Enter" key
on any browser (and submit the form on keypress). However, it doesn't
seem to be working in IE:
if (document.layers) document.captureEvents(Event.KEYDOWN);
document.onkeydown =
function
IIRC, the Validator can only pull from the default message resources --
that is the one configured without a "key".
Bill Siggelkow
PC Leung wrote:
I have two resources files.
How can I specify which resource file to use in validation.xml?
parameter="com.erp.quotation.ApplicationResourc
Erik Weber wrote:
Also, does document.forms[0].submit() trigger the submit with a submit
value of cancel? Does that make since?
Hmm, would it not fail also on Mozilla if that were true?
Perhaps. I just glanced at the thread, so I have a cursory
understanding of the problem.
- Dave
-
Out of curiosity, why is an enter key listener necessary in order to submit
a form?
-Original Message-
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 9:18 AM
To: Struts Users Mailing List
Subject: Re: [OT] "Enter" key listener for form submittal
David Du
About once a month or so I get a message from my Mom that goes something
like:
"Your Dad played with the computer again and I can't get my e-mail. I am
going to throw this [expletive deleted] thing in the pool!"
Susan Bradeen wrote:
Rick Reumann <[EMAIL PROTECTED]> wrote on 09/01/2004 10:25:32
It is necessary in my case because it is a requirement specified by the
client. On very simple forms, it often won't require any programming.
But if you have multiple submit buttons, it becomes a problem.
Erik
Barnett, Brian W. wrote:
Out of curiosity, why is an enter key listener necessary in o
> -Original Message-
> From: PC Leung [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 31, 2004 5:55 PM
> To: Struts Users Mailing List
> Subject: Re: Is Tiles the right way to go?
>
>
> How about other tools such as sitemesh or other?
> Do I get paid?
Yes. Most of the time clients d
I cannot tell you how true this is...
http://www.unixgirl.com/humor/cars.html
I can give numerous examples of each.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Bill Siggelkow" <[EMAIL PROTECTED]>
To
> -Original Message-
> From: Jitesh Sinha [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 5:43 AM
> To: Struts Users Mailing List
> Subject: Action Class Reusable
>
>
> Hi All,
>
> Is there a way we can make our Action Classes reusable across
> different
> modules?
> G
I had a problem where I wanted to use images as the buttons on forms, but
then I lost the "enter" key and "spacebar" functionality. I ended up doing
this to solve it.
I use the syntax above for the "default" button on the form and leave the
other buttons
Don't know if something like this would
Thanks, I will consider all these possible solutions.
Erik
Barnett, Brian W. wrote:
I had a problem where I wanted to use images as the buttons on forms, but
then I lost the "enter" key and "spacebar" functionality. I ended up doing
this to solve it.
I use the syntax above for the "default" button
Hello all,
I just downloaded the latest stable build of Struts 1.2. What is a
"best practice" approach of handling validation in the ActionForm's
validate method since ActionError was deprecated?
Also, how should one display the messages in the JSP? Currently I use:
${message}
Hey how did your dad get the username and password you
emailed, without logging into the account
--- Rick Reumann <[EMAIL PROTECTED]> wrote:
> This should give most of you a good chuckle so I
> figued I'd share..
>
> My dad has never used a computer until about a week
> ago, when I
> convi
I got this from struts page.
"Don't throw it, catch it! - Ever used a commercial
website only to have a stack trace or exception thrown
in your face after you've already typed in your credit
card number and clicked the purchase button? Let's
just say it doesn't inspire confidence. Now is your
chanc
> -Original Message-
> From: Leandro Melo [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 9:54 AM
> To: struts jakarta
> Subject: struts exception handler
>
>
> I got this from struts page.
> "Don't throw it, catch it! - Ever used a commercial
> website only to have a st
struts lover wrote:
Hey how did your dad get the username and password you
emailed, without logging into the account
Oh, I was able to talk my mom through setting up a pop account for him
using a reumann.net e-mail. She showed him to get his mail using
Thunderbird.
The yahoo account was mor
Is there a way for dispatch actions to have unique validation requirements
based on the parameter?
So for instance I could have the action.do?method=view dispatch skip
validation, but the action.do?method=edit do the validation?
Do dispatch actions and validation allow for this degree of gran
hi, I use this in ActionForms:
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request) {
ActionErrors errors = new ActionErrors();
if( (this.nachname==null) || (this.nachname.length()<1)
)
On Wed, 1 Sep 2004 18:13:08 +0530, Jitesh Sinha <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Is there a way we can make our Action Classes reusable across different
> modules?
> Generally we have one Action class for every module.Maybe,if we put our
> business logic in different business classes (part
[EMAIL PROTECTED] wrote:
Is there a way for dispatch actions to have unique validation requirements
based on the parameter?
It's easiest to just provide different action mapping names (which could
still refer to the same DispatchAction class) and then use one of the
ValidatorActionForms which wil
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 10:29 AM
> To: [EMAIL PROTECTED]
> Subject: dispatch action / validation
>
>
> Is there a way for dispatch actions to have unique validation
> requirements
> based on the para
How do I specify the action mapping in the
struts-config.xml to show a web home page that
consists of tiles?
The problem is with the action mapping part. My
index.jsp in the root directory has these two lines:
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
and in my struts-config.xml fi
Nevermind, looks like MappingDispatchAction in 1.2.2 allows for what I want.
http://struts.apache.org/api/org/apache/struts/actions/MappingDispatchAction
.html
Thanks,
-Andre
-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 1:38 PM
To:
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 10:47 AM
> To: [EMAIL PROTECTED]
> Subject: To Show Web Home Page That Consists of Tiles
>
>
>
> .frame.Validation is a piece of tile. The error
> message I got is: "No context-r
Is there going to be a quick 1.2.3 update for these issues?
Thanks,
-Andre
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 12:19 AM
To: Struts Users Mailing List
Subject: WARNING: Struts 1.2.2 Problems
The new Struts 1.2.2 version
Hi, I have the following tags in my
struts.config.xml:
I suppose that tiles plug-in is set up correctly. I
still have the error: "No context-relative URI
specified via the 'parameter' attribute".
I think that the action mapping wants to see a
"paramter" attribute righ
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 11:09 AM
> To: Struts Users Mailing List
> Subject: RE: To Show Web Home Page That Consists of Tiles
>
>
> Hi, I have the following tags in my
> struts.config.xml:
>
>classNam
Yes, very soon.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 01, 2004 2:04 PM
Subject: RE: WARNING: Struts 1.2.2 Problems
> Is th
When I start my Tomcat 5.0.27, I saw the following
message in the console:
"SEVERE: skipping validation rules file from
'/WEB-INF/validation.xml'. No stream could be
opened."
What is going on? Something is wrong with the
validation.xml? or something is wrong with the
validation plug-in that I s
Jen,
What is the entry in your struts-config.xml for validation? Is there a
WEB-INF/validation.xml or WEB-INF/validations.xml?
Regards,
David
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 2:16 PM
To: [EMAIL PROTECTED]
Subject: skippi
I followed your instruction and changed the action
mapping accordingly. Now, I got this error:
javax.servlet.jsp.JspException: Cannot create rewrite
URL: java.net.MalformedURLException: Cannot retrieve
ActionForward named baseStyle
I searched my entire struts-config.xml, I do not see
anything li
Thanks for replying to my question.
The validation entry in my struts-config.xml looks
like:
Currently, I do not have either validator-rules.xml or
validation.xml file in the WEB-INF directory. Is it
the cause of that message that appears in the Tomcat
console?
--- David Friedman <[E
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 11:27 AM
> To: Struts Users Mailing List
> Subject: RE: To Show Web Home Page That Consists of Tiles
>
>
> I followed your instruction and changed the action
> mapping accordingly.
Jen/Caroline,
Why are you listing a plugIn in your struts-config.xml when the files
described within the plugIn config don't exist? If course you'll get error
messages. The validation-rules.xml describes to the plugIn how to configure
Javascript and server-side validation while the validations.xm
For some reason I can't get form validation to work for a particular
project. If I take the same ValidatorForm, use the same validation entry in
formset, and update the struts-config to use the same form bean and action
it works fine in another project. The project that has problems just gives
me a
> -Original Message-
> From: Leung, Albert [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 11:56 AM
> To: Struts Users Mailing List
> Subject: form validation
>
>
> For some reason I can't get form validation to work for a particular
> project. If I take the same Validat
>
> For some reason I can't get form validation to work for a particular
> project. If I take the same ValidatorForm, use the same
> validation entry in
> formset, and update the struts-config to use the same form
> bean and action
> it works fine in another project. The project that has
> pro
Are you sure the URL of the submit (when there are errors) isn't redirectly
somewhere? Have you verified that the url is still /login.do when an error
is submitted in your browser's URL location bar?
Regards,
David
-Original Message-
From: Saurabh Bhatla [mailto:[EMAIL PROTECTED]
Sent: M
Albert,
The has an "input" parameter which the validate="true" will go
to if any validation fails. That should be a JSP (/index.jsp), tile
(.some.Tile.Name), or action (/index).
Regards,
David
-Original Message-
From: Leung, Albert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 0
Leung, Albert wrote:
For some reason I can't get form validation to work for a particular
project. If I take the same ValidatorForm, use the same validation entry in
formset, and update the struts-config to use the same form bean and action
it works fine in another project. The project that has pro
The action definition is exactly the same in both projects.
> Albert,
> The has an "input" parameter which the validate="true" will >
> go
> to if any validation fails. That should be a JSP (/index.jsp), tile
> (.some.Tile.Name), or action (/index).
> Regards,
> David
-Original Message---
It definitely exists. The action definition, the input forms, form beans
definition, validation entries are exactly the same in both projects.
-Original Message-
From: Bill Siggelkow [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 3:14 PM
To: [EMAIL PROTECTED]
Subject: Re: f
> -Original Message-
> From: Leung, Albert [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 12:13 PM
> To: Struts Users Mailing List
> Subject: RE: form validation
>
>
>
> >
> > For some reason I can't get form validation to work for a particular
> > project. If I take
Yes they are exactly the same. So 1, 2, and 3 are ok.
>
> >
> > For some reason I can't get form validation to work for a particular
> > project. If I take the same ValidatorForm, use the same
> > validation entry in
> > formset, and update the struts-config to use the same form
> > bean and ac
Albert,
When all that is correctly setup, I've only ever had problems with a
misspelled forward inside my action or missing JSP/html/other pages. I've
had a blank page show up when the forward was "intup" and I meant "input".
Have you checked the code in your action?
Have you turned on the loggin
> -Original Message-
> From: Leung, Albert [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 12:31 PM
> To: Struts Users Mailing List
> Subject: RE: form validation
>
>
> Yes they are exactly the same. So 1, 2, and 3 are ok.
Does the jsp/action/tile actually exist? If it
David,
I've checked everything thoroughly. I've eliminated spelling errors and
missing references. It would be a great help if you could show me how to
turn on debugging and commons logging.
Regards,
Albert
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesd
"Jim Barrows" <[EMAIL PROTECTED]> wrote on 09/01/2004 03:35:14 PM:
>
>
> > -Original Message-
> > From: Leung, Albert [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 01, 2004 12:31 PM
> > To: Struts Users Mailing List
> > Subject: RE: form validation
> >
> >
> > Yes they are e
I haven't done this (manually - I've been copying my blank setup) in a
while, but the basic steps are:
a) Make sure you have a commons-logging jar in WEB-INF/lib
I use commons-logging-1.0.3.jar (Struts v1.1) [Note: there is now a 1.0.4
version at http://jakarta.apache.org/commons
b) Create the fi
Hello
Just want some feedback from ppl who know
both. Which one is more powerful and easier
to use?
Personally I only know iBatis but seeing so
many web app built on hibernate and even
a book on hibernate to be published, just
wandering if it's worth my time to learn hibernate.
Thanks
--
Just started using Hibernate, and it is VERY cool! Tie that in with
Spring, and Struts, and you have quite a combination.
|-+>
| | "struts Dude"|
| | <[EMAIL PROTECTED]|
| | o.nz>|
|
I love Hibernate. Really do.
Only bad thing about it is that I find is that I get better Hibernate help
here than I do in the Hibernate forum. Which well...you see what that
doesn't bother me :-)
Apparently Spring fixes my gripe with Hibernate/Struts about constantly
opening sessions/transactions
This is very much a YMMV type question. If your
background/experience/expertise is in database then ibatis (where the
sql is all clearly deliniated) is a fine choice. If you're a java
person, then having a wrapper like Hibernate to shield you from the SQL
may be more to your liking.
Ask yours
> -Original Message-
> From: struts Dude [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 1:37 PM
> To: Struts Users Mailing List
> Subject: Hibernate VS ibatis, which is better?
>
>
> Hello
>
> Just want some feedback from ppl who know
> both. Which one is more powerfu
+1 on the "Why should I use Spring" and "beat me over the head until I use
it" statement.
:)
-Original Message-
From: Joe Hertz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 4:47 PM
To: 'Struts Users Mailing List'
Subject: RE: Hibernate VS ibatis, which is better?
I love
struts Dude wrote:
Just want some feedback from ppl who know
both. Which one is more powerful and easier
to use?
Join us on #FunkyCodeMonkey on irc.darkmyst.org. Several people there
have used both. I'm sure they'd love to share their experiences. Most
seem to prefer iBATIS.
--
Rick
---
"Hibernate, making the hard things harder, and the easy things more
difficult":)
David Friedman wrote:
+1 on the "Why should I use Spring" and "beat me over the head until I use
it" statement.
:)
-Original Message-
From: Joe Hertz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2
I've just looked at Hibernate a little so I am no expert, but it was pretty powerful.
But we really didn't need most of what it did, so we went with iBatis. Although I
doubt I am pronouncing it right even now.
We just wanted something to map beans to sql and didn't want to worry about a new QL
In my limited experience of it, it produces much cleaner code, and
seperates concerns very well.
For example, NONE (yep, none) of my code has any transaction information in
it! It is abstracted out using Spring's AOP, and instead is defined in
Spring's xml file (very easily) and seamlessly handl
> I didn't see that you could use straight sql in Hibernate
You can - that's why we went with it. We can let it do it's stuff, but if
we need to we can override it with sql
|-+>
| | "Nail, Evan |
| | Burke"
I'm sorry. I've check the documentation at the Jakarta site and I still
don't know what you mean by
org.apache.commons.logging.simplelog.log.SOMECLASS=LEVEL
What is the SOMECLASS?
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 4:23 P
1 - 100 of 123 matches
Mail list logo