Re: Correct Prepopulate Method

2005-03-13 Thread Nic Werner
Is what I am doing calling JSP pages directly? From my struts-config below I show them being mapped to Actions. My question was that I have to set the html:form action to be the calling Action in order to populate it, but I want it to submit to a different page, and if I follow the Apache struts ex

Re: session and request scope

2005-03-13 Thread Craig McClanahan
On Thu, 10 Mar 2005 23:56:08 +0100, Günther Wieser <[EMAIL PROTECTED]> wrote: > as long as you don't have a clustered environment or session persistence > enabled in your servlet container, there shouldn't be much difference in > adding an object to a session or request. That is almost, but not q

RE: Anybody who can answer this ?

2005-03-13 Thread nitin dubey
Ruben, Thanx for you reply. I will try to explain you with an example. >From A.jsp we are forwarding the request to B.jsp. B.jsp has some data that should come pre-populated in the form. For populating the ActionForm for B we need to write some code. My question is where can we write that ? I

Re: BRANCH: Typical Struts development team and distribution of tasks?

2005-03-13 Thread NetSQL
Larry Meadors wrote: After all that, I have to ask: Why should I bother? I tried it, I really did. In fact, I tried it several times. Each time, I got a little further before deciding there was too much pain involved to make it "easier" for me. So I switched to iBATIS . +1 for iBatis as faste

Re: Correct Prepopulate Method

2005-03-13 Thread Craig McClanahan
On Fri, 11 Mar 2005 09:31:33 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote: > > If you do this, you won't think of the ActionForm as some sort of > mirror of the JSP/HTML form which stands between the Action and the > form. The fact that ActionForm was designed originally *precisely* to be a conta

Struts Menu

2005-03-13 Thread Vijaya S
Hi, Has anyone successfully implemented Struts Menu in your application? I am getting an error as 'The displayer mapping for the specified MenuDisplayer does not exist'. I have done the following 1. In my struts-config I have included the plugin 2. I have placed my menu-config.xml under WEB-INF.

Re: BRANCH: Typical Struts development team and distribution of tasks?

2005-03-13 Thread Larry Meadors
On Sun, 13 Mar 2005 09:26:24 -0500, David G. Friedman wrote: > Larry, > > > In my experience, Hibernate works best when two criteria are met: > > 1) You are creating a database for a specific purpose, from scratch > > 2) You are creating the ONLY application that will access that database > > I d

RE: Struts Layout:treeview problems

2005-03-13 Thread David G. Friedman
I've done a cursory glance at both Struts:Layout and JSF. Does anyone else feel like JSF is something like Struts:Layout on steroids? I'll know more after I read this "Core Java Server Faces" book as I prepare to Shale myself. ;) Regards, David -Original Message- From: David Kennedy [ma

RE: TILES Exception

2005-03-13 Thread David G. Friedman
Jim, Have you checked your webapp's log file (or the standard log if you don't have special logging enabled for your application) to make sure the log files show that tiles initialized properly and that there were no errors suggesting Struts or Tiles failed to start up/initialize properly? Regard

RE: Tiles def not recognized by ForwardAction

2005-03-13 Thread David G. Friedman
Les, I think the forward in v1.2 is supposed to be more like this: Regards, David -Original Message- From: Les Dunaway [mailto:[EMAIL PROTECTED] Sent: Sunday, March 13, 2005 7:28 PM To: user@struts.apache.org Subject: Tiles def not recognized by ForwardAction I'm moving a running ap

RE: Anybody who can answer this ?

2005-03-13 Thread Ruben Cepeda
Nitin, I am unsure of you quesiton. Yet if you need help with the DispachAction here is a very helpfull link: http://husted.com/struts/tips/002.html * Ruben Cepeda [EMAIL PROTECTED] * Original Message Follows From:

Re: Correct Prepopulate Method

2005-03-13 Thread Nic Werner
Okay, from the FAQ: * Both the |/editRegistration| and |/saveRegistration| actions use the same form bean. * When the |/editRegistration| action is entered, Struts will have pre-created an empty form bean instance, and passed it to the |execute()| method. The setup action is fr

Tiles def not recognized by ForwardAction

2005-03-13 Thread Les Dunaway
I'm moving a running app from Struts1.1 to Struts 1.24. My problem is with the deprecation of NoOpAction and it's replacement with ForwardAction. I've crawled through the forums enough to see that there's been some problems in this area - ForwardAction doesn't understand that a parameter contai

Re: [OT] CSS site/forum ?

2005-03-13 Thread Graham Reeds
Sorry about the delay between your last and this post - been away from the list for a few days. The first thing I have in my CSS files is * { margin: 0; padding: 0; } just to make sure we are on a (fairly) level playing field. Hopefully IE7's CSS support will be so similar to the standard tha

RE: RE: Struts - Page Centric Framework

2005-03-13 Thread [EMAIL PROTECTED]
I miss the "Front Controller" part, the taglibs and the simplicity. I miss the real MVC (Model 2) from it. I've seen "Front Controller" examples on MSDN, but these are awkward. We are using a base page now that act as a controller, but I still think that developing with ASP.NET is slower than i

RE: BeanUtils hates me...

2005-03-13 Thread Joe Hertz
No. I'm using it correctly. Maybe I said it wrong but I don't think so :-) I want the properties in UserEntity that correspond to the properties in User (a UserEntity subclass) copied onto the User. User *is* my intended destination. UserEntity is my source. What's happening is a Map that part o

RE: BeanUtils hates me...

2005-03-13 Thread Joe Hertz
No. I'm using it correctly. Maybe I said it wrong but I don't think so :-) I want the properties in UserEntity that correspond to the properties in User (a UserEntity subclass) copied onto the User. User *is* my intended destination. UserEntity is my source. What's happening is a Map that part o

Re: Struts - Page Centric Framework

2005-03-13 Thread Ted Husted
Getting into J2EE and .NET might start to veer off topic. (Though, you might have a look at GetType.) I was thinking in terms of the Struts framework and the ASP.NET framework, rather than the underlying platforms. -Ted. On Sun, 13 Mar 2005 14:12:32 + GMT, Ollie <[EMAIL PROTECTED]> wrote: >

TILES Exception

2005-03-13 Thread Jim Douglas
To all, I get the following error when I try to acces my website which utilizes Tiles. It was working perfectly on one server and all I did was deploy to a different server copying the root web server directory(Tomcat), which contained all the files necessary. Any help would be appreciated.

RE: BeanUtils hates me...

2005-03-13 Thread Joe Germuska
At 2:33 PM -0500 3/13/05, Joe Hertz wrote: That's the behavior I'd expect too. This did work at one point. No, it's not unintuitive. Least not for C programmers :-) But I've got smoking gun evidence though that's not what's happening. I'm now wondering what's happening in these setters... Tx for ma

RE: BeanUtils hates me...

2005-03-13 Thread Joe Hertz
Found the problem. Apparently the object I was passing into copyProperties() did some initializations in it's constructor (notably of the Map that was getting blown away). And the destination object that comes out of copyProperties() is not precisely the same one as the one that got passed in. Or

RE: BeanUtils hates me...

2005-03-13 Thread Joe Hertz
Found the problem. Apparently the object I was passing into copyProperties() did some initializations in it's constructor (notably of the Map that was getting blown away). And the destination object that comes out of copyProperties() is not precisely the same one as the one that got passed in. Or

Struts Layout:treeview problems

2005-03-13 Thread David Kennedy
Hi, I've seen Struts:Layout recommended in a couple of places, and it looks like a very useful library, but I'm having a Bad First Experience with using the Treeview tag to replace an aging nav-bar element. I'd love some help as I'm out of prototyping time, and about to have to throw Layout awa

RE: BeanUtils hates me...

2005-03-13 Thread Joe Hertz
That's the behavior I'd expect too. This did work at one point. No, it's not unintuitive. Least not for C programmers :-) But I've got smoking gun evidence though that's not what's happening. I'm now wondering what's happening in these setters... Tx for making sure I wasn't spacing. > -Origi

RE: BeanUtils hates me...

2005-03-13 Thread Joe Hertz
That's the behavior I'd expect too. This did work at one point. No, it's not unintuitive. Least not for C programmers :-) But I've got smoking gun evidence though that's not what's happening. I'm now wondering what's happening in these setters... Tx for making sure I wasn't spacing. > -Origi

Re: BeanUtils hates me...

2005-03-13 Thread Joe Germuska
At 2:15 PM -0500 3/13/05, Joe Hertz wrote: I'm sorry about how lame this question seems. I'm staring quite stunned at what I'm seeing in my debugger right now, and I'm hoping someone can explain the behavior. Using Struts 1.2.4 (BeanUtils 1.7). I have two objects: A UserEntity and a User. The User

BeanUtils hates me...

2005-03-13 Thread Joe Hertz
I'm sorry about how lame this question seems. I'm staring quite stunned at what I'm seeing in my debugger right now, and I'm hoping someone can explain the behavior. Using Struts 1.2.4 (BeanUtils 1.7). I have two objects: A UserEntity and a User. The User is a subclass of UserEntity. I call Prop

BeanUtils hates me...

2005-03-13 Thread Joe Hertz
I'm sorry about how lame this question seems. I'm staring quite stunned at what I'm seeing in my debugger right now, and I'm hoping someone can explain the behavior. Using Struts 1.2.4 (BeanUtils 1.7). I have two objects: A UserEntity and a User. The User is a subclass of UserEntity. I call Prop

Re: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Robert Taylor
This solution has been discussed, but for now the expectation is real-time data. BTW, thanks for your input on this, but I don't want to hijack this thread for my own particular production issues. I wanted to propose that both ORM (Hibernate, JDO, iBatis) and straight JDBC can/should be used t

Re: [OT] ORM vs JDBC [WAS- BRANCH: Typical Struts development team and distribution of tasks?]

2005-03-13 Thread Joe Germuska
Question: For those applications which are both OLAP and OLTP, then why not use both types of solutions? ... Is this not a reasonable solution? Am I missing something? It is indeed a reasonable solution; I don't do much heavy duty data munging, but I've had decent results using views to back bean

Re: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Leon Rosenberg
> Moving the implementation is out of my hands. > > JDO for RDBMS is an ORM solution which doesn't necessarily > answer the question, why not use both (JDBC and ORM)? I think > both solutions have merit and I think that many try to make > one solution work for both OLAP and OLTP. > Ok, in thi

Re: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Leon Rosenberg
> Moving the implementation is out of my hands. > > JDO for RDBMS is an ORM solution which doesn't necessarily > answer the question, why not use both (JDBC and ORM)? I think > both solutions have merit and I think that many try to make > one solution work for both OLAP and OLTP. > Ok, in thi

Re: AW: AW: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Robert Taylor
Moving the implementation is out of my hands. JDO for RDBMS is an ORM solution which doesn't necessarily answer the question, why not use both (JDBC and ORM)? I think both solutions have merit and I think that many try to make one solution work for both OLAP and OLTP. /robert Leon Rosenberg wr

RE: AW: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Jason Long
Use hibernate 3.0 it rocks. It is now part of JBoss and professionally supported by them. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Leon Rosenberg [mailto:[EMAIL PR

RE: AW: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Jason Long
Use hibernate 3.0 it rocks. It is now part of JBoss and professionally supported by them. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Leon Rosenberg [mailto:[EMAIL PR

AW: AW: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Leon Rosenberg
And you can't move it to oodbms? Btw, there are JDO implementation for RDBMS (for example KODO JDO by Versant). Makes moving easier... leon > -Ursprüngliche Nachricht- > Von: Robert Taylor [mailto:[EMAIL PROTECTED] > Gesendet: Sonntag, 13. März 2005 16:19 > An: Struts Users Mailing L

AW: AW: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Leon Rosenberg
And you can't move it to oodbms? Btw, there are JDO implementation for RDBMS (for example KODO JDO by Versant). Makes moving easier... leon > -Ursprüngliche Nachricht- > Von: Robert Taylor [mailto:[EMAIL PROTECTED] > Gesendet: Sonntag, 13. März 2005 16:19 > An: Struts Users Mailing L

Re: AW: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Robert Taylor
An existing production RDBMS implementation :) /robert Leon Rosenberg wrote: Leon, I have zero experience with OODBMS, so I can't comment on that. I guess my question was geared more towards RDBMS. It was an answer :-) Do you have any real requirements which forces you to use rdbms? leon --

AW: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Leon Rosenberg
> > Leon, > > I have zero experience with OODBMS, so I can't comment on that. > > I guess my question was geared more towards RDBMS. It was an answer :-) Do you have any real requirements which forces you to use rdbms? leon -

AW: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Leon Rosenberg
> > Leon, > > I have zero experience with OODBMS, so I can't comment on that. > > I guess my question was geared more towards RDBMS. It was an answer :-) Do you have any real requirements which forces you to use rdbms? leon -

Re: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Robert Taylor
Leon, I have zero experience with OODBMS, so I can't comment on that. I guess my question was geared more towards RDBMS. /robert Leon Rosenberg wrote: Question: For those applications which are both OLAP and OLTP, then why not use both types of solutions? For example, let's say I have a master-de

Re: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Leon Rosenberg
> > Question: > For those applications which are both OLAP and OLTP, then why > not use both types of solutions? For example, let's say I > have a master-detail type report which does a lot of number > crunching and is very complex which returns rows where each > row represents a record detail

Re: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Leon Rosenberg
> > Question: > For those applications which are both OLAP and OLTP, then why > not use both types of solutions? For example, let's say I > have a master-detail type report which does a lot of number > crunching and is very complex which returns rows where each > row represents a record detail

[OT] ORM vs JDBC [WAS- BRANCH: Typical Struts development team and distribution of tasks?]

2005-03-13 Thread Robert Taylor
I've been lurking on this thread for a while and had some observations and questions. Observations: It seems like for most OLAP applications; those applications where the majority of the requirements are real-time read operations (reporting, searching, number crunching, etc... where data cannot

RE: BRANCH: Typical Struts development team and distribution of tasks?

2005-03-13 Thread David G. Friedman
Larry, > In my experience, Hibernate works best when two criteria are met: > 1) You are creating a database for a specific purpose, from scratch > 2) You are creating the ONLY application that will access that database I disagree with this and recommend you post this statement on forums.hibernate

Re: pager-taglib.tld with Struts

2005-03-13 Thread Yen
I changed the pagerURL to load ad.search.show.screen (jsp) instead of the action. http:///ad.search.show.screen?pager.offset=10 (the ad.search.show.screen points to the respective JSP) Now I've got another error where it cant retrieve the mapping for /SearchUser in the jsp-- <% Str

Anybody who can answer this ?

2005-03-13 Thread nitin dubey
--- nitin dubey <[EMAIL PROTECTED]> wrote: > Hello, > > When using DispatchAction can we somehow configure > the > framework to use the unspecified() method for > loading > the page contents from database ? > > > Regards, > > Nitin Dubey > > > > ___

Re: BRANCH: Typical Struts development team and distribution of tasks?

2005-03-13 Thread Larry Meadors
We eliminated lazy loading (it was creating literally thousands of queries), and replaced it with a single stored procedure that we mapped to objects with a RowHandler. No outer joins + highly optimized data access = happy users. Larry On Sun, 13 Mar 2005 08:32:58 -0500, N G <[EMAIL PROTECTED]>

Re: Is There a Tool for JSF?

2005-03-13 Thread N G
I haven't had experience with it myself, but I've heard that Sun's Studio is very good. NG. On Thu, 10 Mar 2005 10:07:13 +0530, Rajaneesh <[EMAIL PROTECTED]> wrote: > Try WSAD if the cost is not too high for the project > > -Original Message- > From: Michael Oliver [mailto:[EMAIL PROTEC

Re: BRANCH: Typical Struts development team and distribution of tasks?

2005-03-13 Thread Leon Rosenberg
> For example, on the application I am working on, we changed a > screen that accessed a large amount of data. The time to draw > that screen changed from over 10 minutes (we killed it after > that, and are not sure how long it would have run unchecked) > to under one. In the case of smaller se

Re: BRANCH: Typical Struts development team and distribution of tasks?

2005-03-13 Thread Leon Rosenberg
> For example, on the application I am working on, we changed a > screen that accessed a large amount of data. The time to draw > that screen changed from over 10 minutes (we killed it after > that, and are not sure how long it would have run unchecked) > to under one. In the case of smaller se

Re: BRANCH: Typical Struts development team and distribution of tasks?

2005-03-13 Thread N G
On Sun, 13 Mar 2005 06:18:36 -0700, Larry Meadors <[EMAIL PROTECTED]> wrote: > For example, on the application I am working on, we changed a screen > that accessed a large amount of data. The time to draw that screen > changed from over 10 minutes (we killed it after that, and are not > sure how lo

Re: BRANCH: Typical Struts development team and distribution of tasks?

2005-03-13 Thread Larry Meadors
I am willing to throw out some numbers. :-) I am currently in the process of replacing Hibernate with iBATIS in a web application. The primary reason for this is performance. I do not disagree with you that Hibernate can be made to perform well. I do think however that it has been presented as

pager-taglib.tld with Struts

2005-03-13 Thread Yen
I wonder how could I use the pager-taglib with struts ? I did a search page, searching by alphabets, let say the user choose 'C' The links for the next page is as below, when I click on it, it give javascripts error: "Object doesnt support this property or method" http:////ad/SearchUser.acti

Re: Struts - Page Centric Framework

2005-03-13 Thread Ted Husted
I work in ASP.NET myself. What is it about Struts that you miss when working in ASP.NET, Attila? -Ted. On Sat, 12 Mar 2005 22:00:31 -0600, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Well, I guess if you guys think Struts is a page centric framework, you > should check out what > ASP.NET ha