Re: jasper exception

2004-09-21 Thread Sebastian Ho
I got it working although I don't know why it behaves that way.. In my JSP, I have a /html:frame somewhere in between the lines. Once I remove it, the exception went away. That tag should not be there anyway. No idea how it got there in the first place.. Thanks Kumar. Sebastian Ho On Tue,

RE: Sample Application on Struts+Tiles+JSF

2004-09-21 Thread Matthias Wessendorf
The struts-faces-lib contains two samples of Struts and JSF one without Tiles; the other with Tiles get it from here (nightly builds): http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/ Note, it includes *no* JSF-related JAR. You must add all Jars, that are required by MyFaces or

Re: [ANNOUNCE] Struts 1.2.4 (General Availability) Released

2004-09-21 Thread Nathan Coast
Hi, will the 1.2.4 jars tlds be uploaded to the maven repos some time soon? where do they go? http://www.apache.org/dist/java-repository/struts/jars/ or http://www.ibiblio.org/maven/struts/jars/ or is one a mirror of the other? thanks Nathan Martin Cooper wrote: The Struts team is pleased to

Assigning a DataSource to a Business Delegate on startup

2004-09-21 Thread brenmcguire
Hello there, is there a way I can assign a DataSource to a singleton object (i.e. a Business Delegate) on startup? I know there is the getDataSource protected method in Action, but I have to pass the DataSource itself on each call of the delegate, or I have to check whether it has been already

R: Assigning a DataSource to a Business Delegate on startup

2004-09-21 Thread Amleto Di Salle
Hi, you can use JNDI to get a DataSource (if you use tomcat see tomcat documentation in order to set the datasource). Here an example code to use inside the singleton object: //Get DB from JNDI try { Context initCtx = new InitialContext(); Context envCtx = (Context)

Re: Assigning a DataSource to a Business Delegate on startup

2004-09-21 Thread Nicolas De Loof
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 11:31 AM Subject: Re: Assigning a DataSource to a Business Delegate on startup you can use JNDI to get a DataSource (if you use tomcat see tomcat documentation in order to set the

Re: Validation problem - form still submits after client-side validation fails.

2004-09-21 Thread James Mitchell
You do not need to submit the form if you are using an input type=image. That's what it does if it is pressed (unless the image is outside of the form.../form tags. Make sure your html:form has the proper onsubmit=return validateXYZForm() (notice that 'return' will stop the page from submitting

Re: Assigning a DataSource to a Business Delegate on startup

2004-09-21 Thread Nicolas De Loof
Datasource support in struts is deprecated JNDI is the J2EE compliant way to get Datasource, it is not tomcat dependant It only requires to declare a resource-entry in your web.xml and to use your container configuration to link this to a container-managed datasource Nico. This is a nice

Re: [ANNOUNCE] Struts 1.2.4 (General Availability) Released

2004-09-21 Thread James Mitchell
Yes. 1.2.4 is what you would call a Final Release. It is the (voted) quality that determines whether it is announced as General Availability or Beta or Alpha or whatever. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original

Where to put the business logics?

2004-09-21 Thread PC Leung
In the mailing list, I have read some people suggesting not to put business logics in Action class. Certainly, business logics should not be in JSP or Form class. Then where should the business logics be put? Thanks - To

Re: Where to put the business logics?

2004-09-21 Thread Jitender K Chukkavenkata
hi, Action classes must be delegates to the actual business logic. Make business logic available in a different layer (say helper classes) and let the action class to invoke the actual business logic. Jitender Kumar C.V.

Re: Where to put the business logics?

2004-09-21 Thread Nicolas De Loof
In model ! Struts is a MVC framework without any 'M' support : you can use anything you want to build your model. In the mailing list, I have read some people suggesting not to put business logics in Action class. Certainly, business logics should not be in JSP or Form class. Then where

Re: Where to put the business logics?

2004-09-21 Thread Onur Tokan
I think accessing(reading data) one or more table using join is very difficult using EJB's. I prefer JDBC (sometimes using PL/SQL for oracle databases) for reading from datasources and CMP Entity Object's for writing to the database. Sincerly Onur On Tue, 21 Sep 2004 17:49:09 +0800, PC Leung

Re: Assigning a DataSource to a Business Delegate on startup

2004-09-21 Thread brenmcguire
org.apache.struts.config.DataSourceConfig holds a getKey() method that returns you the DataSource key underwhich the Datasource object is stored in the servlet Context...just find it out and try making use of it... Thanks, Jitender Kumar C.V.

Re: Assigning a DataSource to a Business Delegate on startup

2004-09-21 Thread Jitender K Chukkavenkata
Sorry, My assumption about your problem is different I guess... Jitender Kumar C.V.

Smart DataSource management (WAS: Assigning a DataSource to a Business Delegate on startup)

2004-09-21 Thread brenmcguire
In fact I need to do something more. Suppose that I want to distribute my application, and the destination has a different DBMS (well at least he/she has a different username and password...). I think that configuring the context.xml file for a non-technical person is a bit difficult, and I wish

html:radio non intialisation causing a problem

2004-09-21 Thread Ricardo Gladwell
Hi All, The inability to set initial values for struts html:radio/ element is causing me some real issues. I have a view action that I use to redirect to a form with radio buttons, that itself will call a subsequent action to actually handle the business logic of the operation. The page relies

R: Smart DataSource management (WAS: Assigning a DataSource to a Business Delegate on startup)

2004-09-21 Thread Amleto Di Salle
Hi, if you are using Tomcat, you can use the Tomcat Web Server Administration Tool as HTML front-end. With this tool you can set the dataSource (without configuring context.xml). In this case the application is automatically reloaded from Tomcat. The only things to do is to put inside the

RE: [FRIDAY] GMail invites

2004-09-21 Thread Amjad Shahrour
Can I have one please! Regards, Amjad -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: 26 , 1425 06:54 To: 'Struts Users Mailing List' Subject: RE: [FRIDAY] GMail invites I've got 6 invites available to whoever wants them. Wiebe de Jong

Re: [FRIDAY] GMail invites

2004-09-21 Thread Amit Gupta
can i have one too amit gupta india - Original Message - From: Amjad Shahrour [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 4:05 AM Subject: RE: [FRIDAY] GMail invites Can I have one please! Regards, Amjad -Original

Re: Struts Bloat: Framework

2004-09-21 Thread James Mitchell
Please do not cross post to both lists. Most of us on dev are also on user. If I choose to reply or ignore you on dev, I'll do the same on user. Thanks. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From:

Re: [FRIDAY] GMail invites

2004-09-21 Thread DGraham
Return Receipt Your Re: [FRIDAY] GMail invites document :

Re: Struts Bloat: Framework

2004-09-21 Thread Tuncay Baskan
On Mon, 20 Sep 2004 20:30:46 -0400, Rick Reumann [EMAIL PROTECTED] wrote: Michael McGrady wrote the following on 9/20/2004 7:52 PM: I have a real concern that Struts is going to continue to be bloated with what are not Struts, not part of the framework, but what are instead really very

RE: Struts development methodology

2004-09-21 Thread Victor Grazi
Thanks. Yes, IE. It is for an intranet and that is the required and only supported browser by the bank. Regards/Victor -Original Message- From: Brett Connor [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 12:55 AM To: Struts Users Mailing List Subject: Re: Struts

Checking a cookie or redirecting - best way?

2004-09-21 Thread Dave Johnson
hi all Well now I've got this cookie that I need to check for, and if it exists, lovely. Nothing else needs to be done. if NOT, I need to send the user to a specific page (/error.jsp). I was thinking of using logic:present to check for the bean, but I dont want to wrap all my jsp code with that

R: Smart DataSource management (WAS: Assigning a DataSource to a Business Delegate on startup)

2004-09-21 Thread Amleto Di Salle
Hi, I don't think that there is a web container with no admin tools. Anyway this is not the point and so, good work! :-) Ciao /Amleto -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Inviato: martedì 21 settembre 2004 13.23 A: [EMAIL PROTECTED] Oggetto: Re:

Fwd: Checking a cookie or redirecting - best way?

2004-09-21 Thread ChaChaNY
Addendum: Currently I have the followign in my JSP bean:cookie id=validUser name=userCookie logic:notpresent name=person bean:write name=userCookie/ jsp:forward page=/pages/error.jsp / /logic:present and this in my Action class String cookieValue = new java.util.Date().toString();

Fwd: Checking a cookie or redirecting - best way? (Getting ERROR, Help!)

2004-09-21 Thread CCNY
So when I run the jsp below (ironically named success.jsp) I get the following error org.apache.jasper.JasperException: /pages/success.jsp(4,0) According to TLD, tag bean:cookie must be empty, but is not Huh? I also tried bean:cookie name=validUser in the JSP, sme error. Can anyone help? am i

Re: Struts Bloat: Framework

2004-09-21 Thread James Mitchell
I think it brings more problems than it solves. That's a pretty ignorant statement. Why would you say such a thing? How many people or projects are using Tiles (whether successfully or not)? How could you possibly know? So how could you know how many problems it brings? With any product or

Re: [FRIDAY] GMail invites

2004-09-21 Thread Shailesh Patel
I've got several more if anyone needs em. - Shailesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [FRIDAY] GMail invites

2004-09-21 Thread James Neville
Shailesh Patel wrote: I've got several more if anyone needs em. - Shailesh Love one if you're still handing out ;) Cheers James. This e-mail is confidential. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this

Re: Where to put the business logics?

2004-09-21 Thread Frank W. Zammetti (MLists)
One thing to be careful of, a mistake I've seen made often, is a clean separation of the business delegates and the Actions... When calling on your delegates, be sure NOT to pass anything that is web-specific like session or request objects. This will make changing business classes a lot easier

Re: [FRIDAY] GMail invites

2004-09-21 Thread Christoph Kutzinski
I would like one, too. Shailesh Patel wrote: I've got several more if anyone needs em. - Shailesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts Bloat: Framework

2004-09-21 Thread Michael McGrady
James Mitchell wrote: Please do not cross post to both lists. Most of us on dev are also on user. If I choose to reply or ignore you on dev, I'll do the same on user. Thanks. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx I explained why in

RE: Checking a cookie or redirecting - best way?

2004-09-21 Thread Robert Taylor
Why not use a Filter? The logic goes in one place and you can map the Filter to all requests. robert -Original Message- From: Dave Johnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 8:42 AM To: Struts Users Mailing List Subject: Checking a cookie or redirecting -

RE: Checking a cookie or redirecting - best way? (Getting ERROR, Help!)

2004-09-21 Thread Daniel Perry
It is saying that bean:cookie should be an empty tag. As you havnt closed the tag, it isnt empty! So, should be: bean:cookie id=validUser name=userCookie / Notice the slash on the end! Daniel. -Original Message- From: CCNY [mailto:[EMAIL PROTECTED] Sent: 21 September 2004 14:04 To:

Re: [FRIDAY] GMail invites

2004-09-21 Thread Jitender K Chukkavenkata
Hi Sailesh, Can I have one? Jitender Kumar C.V.

Re: Problems with JBoss 3.2.5, Struts and Tomcat 5.0.26

2004-09-21 Thread James Mitchell
Looks like a half baked upgrade. Did you completely upgrade your application? Or did you simply replace the jars? -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: Jerome Ernsberger [EMAIL PROTECTED] To:

Re: Struts Bloat: Framework

2004-09-21 Thread Michael McGrady
Tuncay Baskan wrote: On Mon, 20 Sep 2004 20:30:46 -0400, Rick Reumann [EMAIL PROTECTED] wrote: Michael McGrady wrote the following on 9/20/2004 7:52 PM: I have a real concern that Struts is going to continue to be bloated with what are not Struts, not part of the framework, but what are

Re: Struts Bloat: Framework

2004-09-21 Thread James Mitchell
I have no interest in the threads about DispatchAction or whatever (I only had a cursory look). I am just commenting about double posting. Thanks. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: Michael

Re: [FRIDAY] GMail invites

2004-09-21 Thread Peng Tuck Kwok
I've three to give, pls send me mail directly. On Tue, 21 Sep 2004 09:21:03 -0400, Shailesh Patel [EMAIL PROTECTED] wrote: I've got several more if anyone needs em. - Shailesh - To unsubscribe, e-mail: [EMAIL PROTECTED]

[OT] GMail invites

2004-09-21 Thread anuj . upadhyay
Since GMail invites are still in demand, I plan not to wait till Friday to send this mail. I have 6 invites; send me a mail OFF LIST and the first 6 will get them. Anuj __ NOTICE: This

RE: [OT] GMail invites

2004-09-21 Thread Jarnot Voytek Contr AU/SC
I'd like one if you've still got some. Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 8:43 AM To: [EMAIL PROTECTED] Subject: [OT] GMail invites Since GMail invites are still in demand, I plan not to wait till

Re: array of indexed html:text values not submitting

2004-09-21 Thread Matt Bathje
[EMAIL PROTECTED] wrote: I'm working from the examples here: http://www.developer.com/java/ejb/article.php/3321521 I have an array of values that are sent to a page for editing. The page is coming up ok with the correct text box values as seen below (item[0].xxx, etc). But when the form is

Re: ActionErrors and ActionMessages struts 1.2.4 confusion

2004-09-21 Thread Matt Bathje
Muhammad Momin Rashid wrote: Hello All, I have recently migrated our application from struts 1.1 to 1.2.4. There is some confusion in my mind over use of ActionErrors and ActionMessages. 1. Since ActionError is depricated, I have changed ActionError to ActionMessage in my code as recommended.

Re: purpose of integrating JSF+STRUTS

2004-09-21 Thread Craig McClanahan
On Mon, 20 Sep 2004 15:55:05 +0200, Mark Lowe [EMAIL PROTECTED] wrote: I think the main reasons are a. You can start using JSF with existing apps and not have to rewrite apps that may have been written with struts. b. That you can use tiles as your templating mechanism, while using your JSF

Re: Struts Bloat: Framework

2004-09-21 Thread Michael McGrady
James Mitchell wrote: I have no interest in the threads about DispatchAction or whatever (I only had a cursory look). I am just commenting about double posting. Thanks. Yes, Jim, you are just commenting about double posting. I know. The other implications in your notes are purely accidental

Re: COMPARING PROPERTY VALUES OF TWO JAVABEANS ...please help

2004-09-21 Thread O. Oke
Erik and Frank, Thanks. I would consider your suggestions. Ola. --- Frank W. Zammetti (MLists) [EMAIL PROTECTED] wrote: Erik's answer is what I would call the correct one... That being said, if for some reason you don't want to use that approach, I don't think there's anything

Re: how to access JSF Managed Bean in Struts Action class

2004-09-21 Thread Craig McClanahan
On Mon, 20 Sep 2004 08:41:55 -0600, BaTien Duong [EMAIL PROTECTED] wrote: Just 2 quick questions from expert advise. Assuming FooBean is initialized by Faces in the session: 1) Under what cirscunstances we shoud use Faces or directly accessing the component under user session, assuming

Re: Redirect error: Browser or my code?

2004-09-21 Thread Doug
Bill Siggelkow wrote: Cool -- I got this error the other day when I created a filter -- mapped to /* -- that did a redirect to another page in my app -- can you guess the result? An HTTP Infinite Loop! Håkon T Sønderland wrote: I'm getting a curious error when I try to navigate in the browser

Re: Struts Bloat: Framework

2004-09-21 Thread Michael McGrady
I think the reference to Tiles was rather offhand and incidental and made solely in relation to another isssue which you are on record as not interested in, Jim. Missing the point is, of course, forgiveable. We all do that. When you do so /and/ call someone's thought ignorant, that is

Re: Where to put the business logics?

2004-09-21 Thread Frank W. Zammetti (MLists)
Thanks for defining POJO Dennis! I've seen that floating around lately and wasn't sure what it meant. Glad it's not something new I'll have to learn :) (Leave it to the tech industry to invent an acronym for something that doesn't need an acronym at all! :) ) -- Frank W. Zammetti Founder and

Re: [FRIDAY] GMail invites

2004-09-21 Thread Dietmar Krause
Return Receipt Your document: Re: [FRIDAY] GMail invites

Re: Where to put the business logics?

2004-09-21 Thread Michael McGrady
PC Leung wrote: In the mailing list, I have read some people suggesting not to put business logics in Action class. Certainly, business logics should not be in JSP or Form class. Then where should the business logics be put? Thanks A good answer to this question is impossible to give, PC, without

Re: Where to put the business logics?

2004-09-21 Thread Onur Tokan
What is POJO anyway? Why differs from other J2EE technologies? Is it requires AS? -- Regards, M. Onur Tokan On Tue, 21 Sep 2004 10:18:38 -0400 (EDT), Frank W. Zammetti (MLists) [EMAIL PROTECTED] wrote: Thanks for defining POJO Dennis! I've seen that floating around lately and wasn't sure what

Definite Cookie Weirdness (logic:notPresent help)

2004-09-21 Thread CCNY
Alright, I'm definitely in need of help now. I'm SURE I'm setting the cookie in the response, but I cant get logic:notPresent to work as I expect. Help! What am I doing wrong? -JSP- logic:notPresent name=validUser COOKIE Not FOUNDbr !--jsp:forward

Re: Where to put the business logics?

2004-09-21 Thread Frank W. Zammetti (MLists)
That's a good point... If you KNOW your application is NEVER going to be anything other than a web-based application, and if you KNOW you won't need to re-use your business logic (or expose it in any way outside the application), and if your development team is not really separated (especially if

RE: pre-filled form values no longer work with struts 1.2.4

2004-09-21 Thread Ralf Hauser
Niall, Ok, I changed the form scope to session in all action mappings in my struts-config.xml and that seems to work. Thx a lot! Ralf P.S.: This was easier than going through all my java action classes since it was only in one file. I hope this won't cause other side-effects! -Original

RE: pre-filled form values no longer work with struts 1.2.4

2004-09-21 Thread Ralf Hauser
Niall, Ok, I changed the form scope to session in all action mappings in my struts-config.xml and that seems to work. Thx a lot! Ralf P.S.: This was easier than going through all my java action classes since it was only in one file. I hope this won't cause other side-effects! -Original

Re: Where to put the business logics?

2004-09-21 Thread PC Leung
I strongly agree with you of decoupling business logic and action class. If ejb is the right way, any easy tutorial online? On Tue, 21 Sep 2004 07:23:32 -0700, Michael McGrady [EMAIL PROTECTED] wrote: PC Leung wrote: In the mailing list, I have read some people suggesting not to put

R: Where to put the business logics?

2004-09-21 Thread Amleto Di Salle
For POJO see http://c2.com/cgi/wiki?PlainOldJavaObject Anyway POJO stands for Plain Old Java Object. :-) BR /Amleto -Messaggio originale- Da: Onur Tokan [mailto:[EMAIL PROTECTED] Inviato: martedì 21 settembre 2004 16.24 A: Struts Users Mailing List; [EMAIL PROTECTED] Oggetto: Re:

Re: [FRIDAY] GMail invites

2004-09-21 Thread Prashanth.S
I have 6Send me ur official idsFCFS Amit Gupta [EMAIL PROTECTED] wrote:can i have one too amit gupta india - Original Message - From: Amjad Shahrour To: 'Struts Users Mailing List' Sent: Tuesday, September 21, 2004 4:05 AM Subject: RE: [FRIDAY] GMail invites Can I have

Re: Where to put the business logics?

2004-09-21 Thread PC Leung
Any suggested POJO web sites so that I can have a glance? - Original Message - From: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Tue, 21 Sep 2004 10:12:16 -0400 Subject: Re: Where to put the business logics? To: Struts Users Mailing List [EMAIL PROTECTED] Depending on your needs, a POJO

Re: Struts Bloat: Framework

2004-09-21 Thread Michael McGrady
Rick Reumann wrote: Michael McGrady wrote the following on 9/21/2004 9:37 AM: What do you do with classes like DispatchAction and ImageButtonBean (which solve the same problem in different ways) when someone comes up with something better? You need to include some flavors of DispatchAction

Re: Struts Bloat: Framework

2004-09-21 Thread James Mitchell
In a small way I agree with you, but in a another way I do not. What do you think will happen in 2 months, or 2 weeks, when someone is searching the mail archives and sees statements like it brings more problems than it solves? And as they read on, there is no rebuttal. One might assume the

Re: Definite Cookie Weirdness (logic:notPresent help)

2004-09-21 Thread Bill Siggelkow
Use 'cookie' not 'name' logic:notPresent cookie=validUser COOKIE Not FOUNDbr !--jsp:forward page=/pages/error.jsp /-- /logic:notPresent Also, remember that you will be looking at the cookies in the request -- not any that have been set in the response. One other thing, if you

Re: Where to put the business logics?

2004-09-21 Thread Nicolas De Loof
I don't agree : - My app will NEVER be anything else than a webapp - We are 3 developpers working both on business and web BUT we defined a business API using interfaces for business logic Using this, we can change business tier for a mock one for application demo or testing cases that may be

Re: [ANNOUNCE] Struts 1.2.4 (General Availability) Released

2004-09-21 Thread Joe Germuska
At 4:41 PM +0800 9/21/04, Nathan Coast wrote: Hi, will the 1.2.4 jars tlds be uploaded to the maven repos some time soon? where do they go? http://www.apache.org/dist/java-repository/struts/jars/ or http://www.ibiblio.org/maven/struts/jars/ iBiblio mirrors

Re: Struts Bloat: Framework

2004-09-21 Thread Michael McGrady
James Mitchell wrote: In a small way I agree with you, but in a another way I do not. What do you think will happen in 2 months, or 2 weeks, when someone is searching the mail archives and sees statements like it brings more problems than it solves? And as they read on, there is no rebuttal. One

Re: doubleRange validation check?

2004-09-21 Thread Muhammad Momin Rashid
Thanks for your detailed reply, for the time being, I have decided to use the floatRange. doubleRange for our specific case was an overkill anyways. The only reason I had to coup with double was that one perticular member of our development team insisted on using double instead of float for

Problem With Using the c: .... Tags To Display Drop-Down Menu

2004-09-21 Thread Caroline Jen
I am able to disply the drop-down menu in the conventinal way: bean:define id=nameList name=PageBeans scope=request type=java.util.ArrayList / html:select size=1 property=anything multiple=false html:options collection=nameList property=name labelProperty=name/ /html:select /html:form I

Re: [OT] GMail invites

2004-09-21 Thread anuj . upadhyay
FYI, here is my list: Bergdahl, Carin [EMAIL PROTECTED] McCormack, Chris [EMAIL PROTECTED] Christoph Kutzinski [EMAIL PROTECTED] Jitender K Chukkavenkata [EMAIL PROTECTED] Nicolas De Loof [EMAIL PROTECTED] Kailash Vasani [EMAIL PROTECTED] If the above have already got an invite then

Re: array of indexed html:text values not submitting

2004-09-21 Thread Matt Bathje
I see 2 things wrong right now - first is that you are using a DynaValidatorActionForm in your form-bean definition, but a DynaValidatorForm to cast the form in your loader and action code. This is not the cause of your problem I think, just something to watch out for. The second is that I'm

Re: Where to put the business logics?

2004-09-21 Thread dhay
Take a look at the Spring framework - it helps use POJO's rather than EJB's |-+ | | [EMAIL PROTECTED]| | | stments.com | | || | | 09/21/2004 10:47 AM |

RE: a re-deploy does not refresh ApplicationResources in Apache

2004-09-21 Thread Hollaway, Shedrick CIV (TRFKB C600)
Thomas, You will need to make the Tomcat context reloadable. Open the project properties and select Tomcat (if not present install Sysdeo Eclipse Tomcat Launcher plugin). In the 'General' tab, check the both 'Can update server.xml file' and 'Mark this context as reloadable (reloadable=true).'

validator going to blank page/scaffold

2004-09-21 Thread Kirby Vandivort
I'm using struts 1.2.4, tomcat 5.0.28, and scaffold. I've got the validator set up, but it isn't working correctly. It is returning me to a blank page instead of returning me back to the input form. It only does this on the ProcessAction side of things, though. With my own action it works as

Re: Struts Bloat: Framework

2004-09-21 Thread Rick Reumann
Niall Pemberton wrote the following on 9/21/2004 12:23 PM: Were there other recent additions that you had in mind other than ImageButtonBean? That's exactly what I was wondering:) and goes back to my first point that Struts really hasn't changed 'that' much over the years so I'm confused about

Re: array of indexed html:text values not submitting

2004-09-21 Thread bradyh
I caught the DynaValidatorActionForm/DynaValidatorForm problem too after I sent out the email and corrected it but it didn't help. Here are a few lines of my JSP (which should explain the item/items question): html:form method=post action=saveEdit c:forEach var=item items=${Items.map.items}

Re: array of indexed html:text values not submitting

2004-09-21 Thread Matt Bathje
I really think the inconsistent usage of item/items is your problem here. Try changing the c:forEach var=item to be var=items and then change your html:text name=item to have name=items. The name for the html:text needs to generate the form-property from your form bean definition for this to

JSTL, maps and type safe enum

2004-09-21 Thread andy wix
Hi, A bit of an obscure one this, but if you'll indulge me... I am iterating through an Arraylist of HashMap objects that are in the session so I have: c:forEach var=map items=${Messages} tdc:out value=${map.[MessageType.MSG1].data}//td /c:forEach The problem is that I get no output. The issue

RE: Where to put the business logics?

2004-09-21 Thread sridhar ramalingam
Mastering Enterprise JavaBeans by Ed Roman, Scott W. Ambler and Tyler Jewell. I have been reading this book, it is a good book for beginners. Sridhar -Original Message- From: PC Leung [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 7:04 AM To: Struts Users Mailing List

Re: array of indexed html:text values not submitting

2004-09-21 Thread Matt Bathje
Matt Bathje wrote: I really think the inconsistent usage of item/items is your problem here. Try changing the c:forEach var=item to be var=items and then change your html:text name=item to have name=items. The name for the html:text needs to generate the form-property from your form bean

Struts1.1 and java.lang.reflect.InvocationTargetException

2004-09-21 Thread Anand M S
Hi All I have updated struts1.1_rc1 to struts1.1 and i'm i'm getting the following error on form validation (I'm using validation frame work). Any help will be greately appriciated - reflection: null java.lang.reflect.InvocationTargetException at

Re: array of indexed html:text values not submitting

2004-09-21 Thread Matt Bathje
I've never looked at the DynaForm code too closely, but it must do this, because I use DynaForms with indexed properties all over the place. Matt [EMAIL PROTECTED] wrote: Not sure how the dyna forms work, but you will need to check it generates a getItem(int num) method - this will be called

Re: Struts Bloat: Framework

2004-09-21 Thread Michael McGrady
Durham David R Jr Contr 805 CSPTS/SCE wrote: James Mitchell wrote: Please do not cross post to both lists. Most of us on dev are also on user. If I choose to reply or ignore you on dev, I'll do the same on user. Thanks. I explained my reasons for doing it in the post\.

Re: Struts Bloat: Framework

2004-09-21 Thread Michael McGrady
Niall Pemberton wrote: I don't agree with you calling Ted Husted's ImageButtonBean crap - maybe more elegant solutions will come along, but it still doesn't mean this isn't a perfectly good workable solution to the image button problem. http://www.husted.com/struts/tips/001.html Also I don't

Re: Struts Bloat: Framework

2004-09-21 Thread Michael McGrady
Rick Reumann wrote: Niall Pemberton wrote the following on 9/21/2004 12:23 PM: Were there other recent additions that you had in mind other than ImageButtonBean? That's exactly what I was wondering:) and goes back to my first point that Struts really hasn't changed 'that' much over the years so

Re: Struts Bloat: Framework

2004-09-21 Thread Vic
http://theserverside.com/news/thread.tss?thread_id=28894 This thread picked up on tss. .V -- Please post on Rich Internet Applications User Interface (RiA/SoA) http://www.portalvu.com - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Struts Bloat: Framework

2004-09-21 Thread Michael McGrady
Vic wrote: http://theserverside.com/news/thread.tss?thread_id=28894 This thread picked up on tss. .V Thanks for your reference to Struts chain, Vic. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

newbie Question, creating buttons

2004-09-21 Thread Nadia Kunkov
I'm still figuring out how to use struts tags. I'm trying to have three buttons ( add, edit ,delete) with a property called method so that I can use DispatchAction. Here is a snippet of my jsp. When I look at it in the browser I don't see the buttons. What am I doing wrong? Also, is

Re: newbie Question, creating buttons

2004-09-21 Thread Matt Bathje
Nadia Kunkov wrote: I'm still figuring out how to use struts tags. I'm trying to have three buttons ( add, edit ,delete) with a property called method so that I can use DispatchAction. Here is a snippet of my jsp. When I look at it in the browser I don't see the buttons. What am I doing

Re: newbie Question, creating buttons

2004-09-21 Thread DGraham
Wiki reference in 5432... Nadia Kunkov [EMAIL PROTECTED] 09/21/2004 01:54 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To Struts help (E-mail) [EMAIL PROTECTED] cc Subject newbie Question, creating buttons I'm still figuring out how to

Multiple modules with multiple tile definition files

2004-09-21 Thread Lajoie Chad
I'm having an issue getting Tiles to work with Struts 1.1 in a modular application setup. Here is what I'm trying to do. In each module I want a module specific Tiles definition file and a global definitions file. In each module the Struts config file for that module has something like the

Action Granularity

2004-09-21 Thread Felipe Victolla
Hi, I want to know the opinion of the another developers of this list with your experience in modelling the struts Action classes. What's the ideal point of Action classes granularity? One approach is building one Action for each Use Case. Example: NewUserAction, EditUserAction, ListUserAction

Re: Action Granularity

2004-09-21 Thread Frank W. Zammetti (MLists)
I've MOSTLY fell on the side of the one Action per use case way of thinking. There have been instances where I did the multiple functions in a single Action, but generally not. One production app I did here has something on the order of 400 Actions. Kind of a lot I think :) I'm not sure if it

using map-backed ActionForm with velocity

2004-09-21 Thread Shankar Banerjee
Hi Folks, I am a struts-velocity newbie. I have downloaded the struts-velocity framework and make the basic Static ActionForm work with a velocity module which defines the form. Now, I am trying to use a map-backed ActionForm with the same velocity module and I have doen the various steps:

Re: Struts Bloat: Framework

2004-09-21 Thread Michael McGrady
Durham David R Jr Contr 805 CSPTS/SCE wrote: I think what he's saying is that you'll never need to cross post. As in, there isn't a single good reason to cross post to 'user' and 'dev'. Yah, Dave, I got dat. And, I tink his reasons were gut. I have to admit that I blew it and

Cannot retrieve mapping for action /content/AddLinks

2004-09-21 Thread Caroline Jen
This is the error message that I got in the browser: 'Cannot retrieve mapping for action /content/AddLinks' What would be the cause of this error message? My eyes do not see the problem. Your experience and help are much needed. I have the action mapping in the struts-config.xml like:

Re: Action Granularity

2004-09-21 Thread Andrew Close
Frank, On Tue, 21 Sep 2004 15:03:32 -0400 (EDT), Frank W. Zammetti (MLists) [EMAIL PROTECTED] wrote: snip I find the bigger debate, which there was a thread about a day or two ago, is how you actually package it... Do you just have a single package for all your actions or do you sub-group the

Re: how to access JSF Managed Bean in Struts Action class

2004-09-21 Thread BaTien Duong
Craig McClanahan wrote: On Mon, 20 Sep 2004 08:41:55 -0600, BaTien Duong [EMAIL PROTECTED] wrote: Just 2 quick questions from expert advise. Assuming FooBean is initialized by Faces in the session: 1) Under what cirscunstances we shoud use Faces or directly accessing the component

  1   2   >