Determining if Values Have Changed - Or Does it Even Matter?

2003-10-09 Thread Mike Duffy
Example: A data entry tech request a customer profile. The system gets a CustomerProfile business model object from the data access layer. The CustomerProfile business model is debriefed into a CutomerProfileForm ActionForm object. The values from the CutomerProfileForm are displayed in

Re: action class for more than one mapping

2003-10-09 Thread ajay brar
hi! thanks for that michael. i am running Tomcat 4.1.24 and using struts 1,1 the url is reasonable and what i expect it to be. It incudes the jsessionid string, but then it includes the same for the first link, which works fine. I have had this problem for a while on my hosting service'e

Struts security

2003-10-09 Thread Stefan Trcko
Hello I want to implement security in my struts web portal, so that I can restrict users which actions they can perform. Has anybody already worked on this kind of security in Struts? Thanks in advice Stefan - To

RE: Struts security

2003-10-09 Thread muzammil shahbaz
This can simple be done by authorizing user in each action class. We have request session attributes which may be helpful for checking the current state of user. Before doing any processing, first of all, process user authentication and if finds any restriction then forward the action to

RE: Struts security

2003-10-09 Thread Prashanth.S
http://www.informit.com/isapi/product_id~%7B1841ABCB-E1B7-445F-A722-1378C58AD8E0%7D/content/index.asp muzammil shahbaz [EMAIL PROTECTED] wrote:This can simple be done by authorizing user in each action class. We have request session attributes which may be helpful for checking the current state

Re: Struts security

2003-10-09 Thread Stefan Trcko
Where do you store user rights (which actions user can perform). I think of storing user rights and actions which he can perform in the database and then in every action class perform SQL with username (from session) and current performed action. If SQL return that user can perform this action

RE: Struts security

2003-10-09 Thread muzammil shahbaz
Exactly!!! U got the point. That's what I use to handle security issues. Keep it up :-) -- From: Stefan Trcko [SMTP:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 12:57 PM To: [EMAIL PROTECTED] Cc:

any standalone java framework around?

2003-10-09 Thread Adolfo Miguelez
Hi All, time ago I have seem in Jakarta/Apache a java framework for standalone Java apps (swing) (i.e. not web related). Can, any of you, help me to remember, or even provide some links to other open source standalone client/server frameworks out of Apache? TIA, Adolfo

Re: Struts security

2003-10-09 Thread markus
Hello, sorry, my english is not so good, perhaps I haven'g got the point yet (and I'm new to struts so I don't know if it works). Every time a user clicks a link ( = call an action ) you want to check if the user has the permissions for this action and if the user has not the permission show an

Unexpected Server Round-trip

2003-10-09 Thread Michael C. Clark
I've got a pretty typical workflow (1.1): 1. UI (JSP) sets up query parameters 2. ActionForm validates input 3. Action gets data from data tier 4. Action forwards request to JSP to display results 5. Clicking a link from the result list diplays details of the record While on the detail page, if

ActionServlet.destroy() is broken

2003-10-09 Thread Andrew Hill
We are getting NullPointerExceptions thrown in the ActionServlets destroy() method when trying to undeploy our app. This is on JBoss3.05 with integrated Tomcat4.0.6 . Our war file is inside the ear file and we are using struts 1.1 fr. My colleague found a couple of posts on the JBoss forum

RE: Struts security

2003-10-09 Thread Andrew Hill
snip 2) During login-action fill a java bean with all actions a user can perform /snip This can be problematic if your requirements are that when the admin/superuser/bofh modifies the users permissions such changes must be reflected immediately (ie: without that user having to log out and log

Problem with FileUpload

2003-10-09 Thread Hugo Questroy
Hello, Here is my form I've created : html:form action=/UploadFile.do method=post enctype=multipart/form-data html:file property=file / /html:form The form I submit conatins a file attribute of FileForm type. I did exatcly as mentionned in different tutorials to upload files with Struts.

Re: JavaServer Faces

2003-10-09 Thread James Mitchell
Yes, I have an opinion. While some people might not agree with me, it is still my opinion. I believe that you should read the spec, try the examples, and see for yourself. -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 770.822.3359

Re: Dynamic form fields on ActionForm

2003-10-09 Thread Adam Hardy
I thought there was something slightly awry in your thinking. I guess that's where examples really do help. Good luck with it, Adam On 10/09/2003 03:15 AM Cornellious Mann wrote: Adam, I missed the point about adding the index to the input field name. I was simply naming the field the same

RE: ejb's and tomcat

2003-10-09 Thread Mark Galbreath
Yes, the advantage of using local interfaces in EJBs is avoiding the creation of stubs and skeletons, use of RMI and serialization. But what many people don't realize is that all the major containers have been doing this since 1.1 anyway, abeit in proprietary ways. You really gain no performance

RE: [FRIDAY] Yeah I know it's early ;-)

2003-10-09 Thread Mark Galbreath
Looks like Java developers chasing the latest JCP fad -Original Message- From: Shane Mingins [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 8:21 PM http://www.foulds2000.freeserve.co.uk/economists.htm

RE: ejb's and tomcat

2003-10-09 Thread Mark Galbreath
The O'Reilly version has one, too. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 11:18 PM To: Struts Users Mailing List Subject: RE: ejb's and tomcat Chuck's book has a chapter on using EJB with struts. (Chuck Caveness Programming

Holmes and Schildt Book

2003-10-09 Thread Mark Galbreath
I was surfing McGraw-Hill's website yesterday and spied a Java book co-authored by James Holmes and Herbert Schildt...anybody read this and can offer an opinion? I have been buying Schildt's C/C++ books for 10 years. Mark -

RE: ejb's and tomcat

2003-10-09 Thread Brian McSweeney
This isn't the case for jboss at least. You gain major performance increases. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 10:35 To: Struts Users Mailing List Subject: RE: ejb's and tomcat Yes, the advantage of using local interfaces in EJBs is

Re: Tools for Testing

2003-10-09 Thread Adam Hardy
OH NO! Now I have no excuse to ignore testing anymore! Is anybody out there using strutstestcase in anger? So Vic, openSTA - it's for scripting HTTP tests? I read the homepage and it looked like I'd have to do alot of digging to find the basics - how on earth does it verify the test results?

Re: What Is Wrong With My web.xml File (Struts)

2003-10-09 Thread Adam Hardy
Hi Caroline, configure the roles like this: security-role role-nameuser/role-name /security-role security-role role-nameadmin/role-name /security-role Adam On 10/09/2003 05:55 AM Nick Faiz wrote: Hi Caroline, Check out the DTD - !ELEMENT security-role (description?, role-name) .

Re: Holmes and Schildt Book

2003-10-09 Thread Adam Hardy
Ah, you do C/C++ ? That explains alot ;) Hey, and no smart retorts - you're not allowed, OK? On 10/09/2003 12:44 PM Mark Galbreath wrote: I was surfing McGraw-Hill's website yesterday and spied a Java book co-authored by James Holmes and Herbert Schildt...anybody read this and can offer an

RE: ejb's and tomcat

2003-10-09 Thread Navjot Singh
then which one is good in your eyes? -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 4:38 PM To: Struts Users Mailing List Subject: RE: ejb's and tomcat JBoss is crap, anyway. -Original Message- From: Brian McSweeney

bean:write in html:text

2003-10-09 Thread Tim Smal
I'd like to use a bean:write within my html:text tag. Like this: html:text property=value(key1) onmouseover=bean:write name=myForm property=myMethod// But I can't do it this way. Anyone has suggestions? - To unsubscribe,

Re: Tools for Testing

2003-10-09 Thread Ted Husted
Dirk Behrendt wrote: There are tools for automatic testing the Struts application? As mentioned the Struts TestCase on SourceForge is a Struts specific tool. It does a good job of directly testing the Struts internals, but to test it all you sometimes need to get Cactus running as well. Not a

RE: ejb's and tomcat

2003-10-09 Thread Brian McSweeney
Can't really agree with that. Besides, jboss have just employed the creator of hibernate and its CMP layer is going to be powered by hibernate in the near future anyway. So if you're a fan of hibernate, you'll get the same thing under the hood with jboss and CMP ejbs. -Original

Re: bean:write in html:text

2003-10-09 Thread Markus Meier
Tim Smal wrote: I'd like to use a bean:write within my html:text tag. Like this: html:text property=value(key1) onmouseover=bean:write name=myForm property=myMethod// But I can't do it this way. Anyone has suggestions? this should work... bean:define id=tmp bean:write name=myForm

RE: ejb's and tomcat

2003-10-09 Thread Mark Galbreath
That's an improvement, but really has little to do with EJB entity beans. -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 8:33 AM To: 'Struts Users Mailing List' Subject: RE: ejb's and tomcat Can't really agree with that. Besides,

RE: bean:write in html:text

2003-10-09 Thread Andrew Hill
snip Struts does not support /snip You mean JSP does not support surely? -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Thursday, 9 October 2003 19:44 To: Struts Users Mailing List Subject: RE: bean:write in html:text You will have to use JSP scripting or JSTL

RE: bean:write in html:text

2003-10-09 Thread Mark Galbreath
Whatever, O'Rielly-boy. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 7:47 AM To: Struts Users Mailing List Subject: RE: bean:write in html:text snip Struts does not support /snip You mean JSP does not support surely? -Original

RE: ejb's and tomcat

2003-10-09 Thread Mark Galbreath
WebSphere 5.0, WebLogic 8.0, and even JRun 4.0 all optimize intra-container inter-bean method calls. I still maintain, however, that EJB has been over-hyped and (especially) now that iBATIS, Hibernate, and various JDO implementations are available, is overkill and too restrictive (e.g., does not

Dynamic Menus using tiles definition files

2003-10-09 Thread Joe @ Team345
So is the above possible? If so, how? Basically, I'd like to have logic:present (or notpresent) tags around certain parts of my menu definitions. That is, I would like certain items to only appear under certain circumstances. I can't figure out how to do this in a menu definition file.

RE: Dynamic Menus using tiles definition files

2003-10-09 Thread shirishchandra.sakhare
Hi, I dont think you can have logic tags in definition files.But if your menu requirements are simple(Only a few roles for which you have different groups menu items), then you can easily do as follows. Create different menu difinitions for each role. And in the menu.jsp when inserting the

RE: user roles in ActionConfig

2003-10-09 Thread Horky Adam G A1C 805 CSPTS/SCBE
Thanks. That was a big help. -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 8:07 PM To: Struts Users Mailing List Subject: Re: user roles in ActionConfig If you are using standard container-mananaged authentification, there's not much to

RE: ejb's and tomcat

2003-10-09 Thread Brian McSweeney
I agree, but I was responding to your jboss is crap statement, which also has little to do with entity beans. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 11:41 To: Struts Users Mailing List Subject: RE: ejb's and tomcat That's an improvement,

Re: any standalone java framework around?

2003-10-09 Thread Joe Germuska
At 8:52 AM + 10/9/03, Adolfo Miguelez wrote: Hi All, time ago I have seem in Jakarta/Apache a java framework for standalone Java apps (swing) (i.e. not web related). Can, any of you, help me to remember, or even provide some links to other open source standalone client/server frameworks

RE: any standalone java framework around?

2003-10-09 Thread Nguyen, Hien
Give www.netbeans.org a try. Its open-source though not from Apache -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 9:11 AM To: Struts Users Mailing List Subject: Re: any standalone java framework around? At 8:52 AM + 10/9/03,

RE: ejb's and tomcat

2003-10-09 Thread harm
For what it is worth, I think JBoss is great. It is a very mature application server. People who claim it's crap obiviously don't know what they are talking about. I agree, JBoss is not the only application server around, and maybe not the best application server. But to claim it is crap is

Under What Circumstances Would You Recommend the Use of EJB?

2003-10-09 Thread Mike Duffy
Thank you Harm. I agree with your assessment of JBoss. JBoss is also a great value (although I think they should charge some nominal fee to insure the viability of their organization; see Alan Williamson's August editorial in JDJ). :) Under what circumstances would you recommend the use of

RE: any standalone java framework around?

2003-10-09 Thread Adolfo Miguelez
But netbeans is an IDE, not a framework for standalone client/server apps, is not it? Adolfo. From: Nguyen, Hien [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: any standalone java framework around? Date:

JBoss

2003-10-09 Thread Horky Adam G A1C 805 CSPTS/SCBE
I noticed some of the developers on this mailing list advocating the use of JBoss. I am currently reading some docs on JBoss, but I dont have a clear understanding of it yet. I currently use Tomcat as my app server. Does it run over Tomcat? Can anyone recommend some good documentation on

Re: JBoss

2003-10-09 Thread Jose M Selman
It's an open source J2EE application server. - Original Message - From: Horky Adam G A1C 805 CSPTS/SCBE To: [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 10:18 AM Subject: JBoss I noticed some of the developers on this mailing list advocating the use of JBoss. I am currently reading

Re: Tiles-EL?: can I find documentation somewhere? examples?

2003-10-09 Thread PhilNoon
Thank you Carlos Sánchez [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] http://jakarta.apache.org/struts/userGuide/building_view.html#struts-el -Mensaje original- De: PhilNoon [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 08 de octubre de 2003 19:38 Para: [EMAIL

Re: JBoss

2003-10-09 Thread khote
A version of JBoss comes with Tomcat installed http://prdownloads.sourceforge.net/jboss/jboss-3.2.1_tomcat-4.1.24.zip?download It generally works the same, but there are some things you just can't do the old way. It's JBoss that deploys your applications now, not Tomcat. - Original Message

RE: any standalone java framework around?

2003-10-09 Thread Kris Schneider
Floor wax: http://www.netbeans.org/products/ide/ Dessert topping: http://www.netbeans.org/products/platform/ Quoting Adolfo Miguelez [EMAIL PROTECTED]: But netbeans is an IDE, not a framework for standalone client/server apps, is not it? Adolfo. From: Nguyen, Hien [EMAIL PROTECTED]

redirect problem

2003-10-09 Thread koen boutsen
Hi If the session is invalid, I want to send the user to the logon page. This works fine when I go through an action. In some cases, I don't go through an action, I want to redirect the user. I tried it like this : (sessionIsValid is a attribute in the session. If this attribute is null, it

Re: Tiles-EL?: can I find documentation somewhere? examples?

2003-10-09 Thread PhilNoon
Many thanks for your help Vic Cekvenich [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I think if you learn JSTL first, Struts EL (and tile-EL) would be easy. There are books, but EG JSP/JSR docs are great Go to Jakarta taglib standard tags, and download the PDF. Once you do a

RE: JBoss

2003-10-09 Thread Greg Dunn
If you're not running EJB's you don't need JBoss. -Original Message- From: Horky Adam G A1C 805 CSPTS/SCBE [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 9:19 AM To: [EMAIL PROTECTED] Subject: JBoss I noticed some of the developers on this mailing list advocating

Re: Dynamic Menus using tiles definition files

2003-10-09 Thread Caroline Lauferon
look at one of my last posts about tabsLayout. you can implement your own bean, with a role attribute, and then test it in your layout. Caroline - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 2:37 PM Subject: RE: Dynamic Menus using

RE: JBoss

2003-10-09 Thread Wiebe de Jong
Tomcat and JBoss work well together. In simple terms, think of Tomcat as your servlet container and JBoss as your EJB container. Wiebe http://frontierj.blogspot.com http://frontierj.blogspot.com/ -Original Message- From: Horky Adam G A1C 805 CSPTS/SCBE [mailto:[EMAIL

Re: redirect problem

2003-10-09 Thread Prashanth.S
Hi koen, I dont know much about how it is handled in struts...but in jsp u can use respone.sendRedirect(/foo/bar.jsp) Thanks Prashanth koen boutsen [EMAIL PROTECTED] wrote: Hi If the session is invalid, I want to send the user to the logon page. This works fine when I go through an action. In

RE: redirect problem

2003-10-09 Thread Fenderbosch, Eric
I'm doing something similar like this: logic:present name=contactCookie scope=session logic:forward name=track/ /logic:present logic:notPresent name=contactCookie scope=session logic:forward name=login/ /logic:notPresent Then I have both of those defined in my

HELP! Pager tags and Nested tags

2003-10-09 Thread Joseph . Sadove
HELP PLEASE!! I put a post out yesterday to the list trying to see if anyone has had success using the Pager (jsptags.com) tags with the Struts nested tags. rather than just interating over bean:write with a logic:iterator. If you can please please help, look at my posting yesterday for

RE: bean:write in html:text

2003-10-09 Thread Tim Smal
Thank you! You guys are quick! -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Markus Meier Sent: donderdag 9 oktober 2003 13:35 To: [EMAIL PROTECTED] Subject: Re: bean:write in html:text Tim Smal wrote: I'd like to use a bean:write within my html:text tag. Like

RE: ejb's and tomcat

2003-10-09 Thread Paananen, Tero
For what it is worth, I think JBoss is great. It is a very mature application server. Agree with that. However, for a newbie, the documentation can be extremely frustrating to work with. Not that the docs for any other app server are any better. -TPP

indexed properties

2003-10-09 Thread david.ballard
I'm working through the examples on http://jakarta.apache.org/struts/faqs/indexedprops.html and have some questions. I am able to get the sample code under 'Indexed Properties' to work fine. -- package Beans; import

tiles-defs.xml and dynamic page titles: how to do?

2003-10-09 Thread PhilNoon
I am using tiles. I define the title of a web page in tiles-defs.xml as in this snippet: definition name=tiles.customer.title.parcels extends=tiles.default.layout put name=title value=Customer Consignment Note/ put name=content value=/pages/customerTitleParcels.jsp/ /definition

When to build/re-deploy?

2003-10-09 Thread Andy Engle
Greetings. I am working on my first Struts app, and I have a question about when to build. I am doing my development work in Netbeans, and I am building my project with ant. My question is this: after I make changes to an XML file (or files), is it necessary to rebuild? Also, is it necessary

RE: tiles-defs.xml and dynamic page titles: how to do?

2003-10-09 Thread Matt Raible
You could use a Tiles controller to the title attribute from the TilesContext and append the customer name. HTH, Matt -Original Message- From: PhilNoon [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 10:30 AM To: [EMAIL PROTECTED] Subject: tiles-defs.xml and dynamic page

checkbox checking???

2003-10-09 Thread mohamed ebrahim faisal
Hi I fetch data from the database abd store it in the Form Bean. After that while displaying the value in the JSP, i am associating one of the property to an array of checkboxes with the same property. I want the checkbox to be checked based on my property value, it might be differnt for

Re: Tools for Testing

2003-10-09 Thread Mike Deegan
http://webtest.canoo.com/ - Original Message - From: Ted Husted [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 5:29 AM Subject: Re: Tools for Testing Dirk Behrendt wrote: There are tools for automatic testing the Struts

Re: tiles-defs.xml and dynamic page titles: how to do?

2003-10-09 Thread PhilNoon
Thanks for your suggestion. I think you're right but it just feels a bit clunky and leaves me with yet more 'bits' to be configured. I'd like to find a simple, natural, solution if at all possible. Matt Raible [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] You could use a Tiles

Re: any standalone java framework around?

2003-10-09 Thread J Aaron Farr
At 8:52 AM + 10/9/03, Adolfo Miguelez wrote: Hi All, time ago I have seem in Jakarta/Apache a java framework for standalone Java apps (swing) (i.e. not web related). Can, any of you, help me to remember, or even provide some links to other open source standalone client/server frameworks

RE: any standalone java framework around?

2003-10-09 Thread Nguyen, Hien
Adolfo, If you look at http://www.netbeans.org/projects/netbeans_platform.html#Basic%20Platform it says that you can develop great desktop application using their minimal infrastructure. --Hien -Original Message- From: Adolfo Miguelez [mailto:[EMAIL PROTECTED] Sent: Thursday, October

RE: Tools for Testing

2003-10-09 Thread Van Riper, Mike
-Original Message- Though, my favorite approach is to do conventional unit testing of the business objects, and then use Canoo WebTest http://canoo.webtest.com on the front end. I think you meant: http://webtest.canoo.com/ It looks interesting, thanks for the info. Cheers,

Re: Under What Circumstances Would You Recommend the Use of EJB?

2003-10-09 Thread Ted Husted
Mike Duffy wrote: Under what circumstances would you recommend the use of EJB? This might help you out: http://www.theserverside.com/resources/article.jsp?l=Is-EJB-Appropriate If you are still undecided, you will probably want to read a book like Bitter EJB to get the full picture. It is not a

RE: JBoss

2003-10-09 Thread Darren Hartford
With Tomcat you have your container that you can run your java servlets and JSP's. With Jboss, you have tomcat (or Jetty) as your container to run your java servlets and JSP's. In addition, you have an EJB container to run EJB applications (i.e. entity bean and session beans), and have access

Re: JavaServer Faces

2003-10-09 Thread Glenn Holmer
Matt Raible wrote: It seems that a lot of Experts are touting that it'll be easy to develop because it's a *standard* and IDEs will support it. http://wwws.sun.com/software/products/projectrave/ -- Glenn Holmer

RE: JavaServer Faces

2003-10-09 Thread Balakrishnan, Vijay
I had worked on a project recently where they used Barracuda which is also a Swing version for the Web using HTML *id* attributes.I agree that the learning curve is pretty steep(just my view) on both Barracuda and JSF.But the benefits of reusing web components was really cool indeed in that

RE: JBoss

2003-10-09 Thread Davidson, Glenn
Bottom Line: If you need to use EJB's and want an open source application server the JBoss/Tomcat bundle works. I am currently using the JBoss/Tomcat Bundle and am having success. As noted below JBoss is only required if you are going use EJB's. If there are no EJB'S you will not require JBoss. I

RE: JBoss

2003-10-09 Thread Horky Adam G A1C 805 CSPTS/SCBE
Thanks to everyone for the info. I don't plan to use EJBs at the moment, so I guess I will just stick with using Tomcat. -Original Message- From: Davidson, Glenn [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 1:20 PM To: 'Struts Users Mailing List' Subject: RE: JBoss

RE: JBoss

2003-10-09 Thread Wiebe de Jong
That is a good way to do it. Plan to make use of the Business Delegate pattern. In this pattern, your Actions never call your database directly. The Actions should make calls to a helper bean which implements the Business Delegate pattern. This bean will contain all your JDBC code and hide it

RE: JBoss

2003-10-09 Thread Horky Adam G A1C 805 CSPTS/SCBE
I feel you on the money issue. But the Air Force is going to pay me the same no matter how much I know. So I think I will wait for the Air Force to send me to a class on EJBs. -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 1:29 PM To:

RE: JBoss

2003-10-09 Thread Davidson, Glenn
You may want to look at the visitor pattern as well, both patterns are applicable but one or the other may make more sense based upon your requirements. Glenn -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 2:42 PM To: 'Struts Users

RE: When to build/re-deploy?

2003-10-09 Thread Ventin, Vince
It is possible to change the XML files on the server to do quick testing but you should let the deploy handle any updates on the server. This will mean getting into the habit of code/build/deploy for each change you do. I don't use Tomcat but there may be parameters that get set to determine

Re: JBoss

2003-10-09 Thread Barry Volpe
great ejb struts example to start with... Thanks! - Original Message - From: Wiebe de Jong [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 11:42 AM Subject: RE: JBoss That is a good way to do it. Plan to make use of the Business

contains(String, String) in DynaActionForm

2003-10-09 Thread Marc Dugger
Can someone explain the parameters of this method? The javadocs call them 'name' and 'key'. I gather that 'name' refers to the 'name' attribute of the form-property in struts-config. If so, what does 'key' refer to? Thanks. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus

RE: JavaServer Faces

2003-10-09 Thread Kito D. Mann
At 11:20 AM 10/9/2003 -0500, you wrote: I watched a presentation on JSF last night. Here's my high-level impressions: 1. It's a replacement for Struts (no matter what folks say). It may be in the long-term, but it won't be in version 1.0. I think the combination of the two is pretty powerful.

Re: JavaServer Faces

2003-10-09 Thread Vic Cekvenich
Here is an example of something I do a lot of w/Struts: http://displaytag.sf.net (that Matt contributed to) You can click on examples link (uper right) to see nested, pagination, etc. Using your skill and experience you listed, can you show something similar? .V Kito D. Mann wrote: At 11:20 AM

RE: Struts security

2003-10-09 Thread Nick Faiz
Is there a reason not to use declarative security in the deployment descriptor for role based authorisation for each resource? I'll be heading down this track soon and that's what I had wanted to do. Nick Faiz -Original Message- From: muzammil shahbaz [mailto:[EMAIL PROTECTED] Sent:

Re: JavaServer Faces

2003-10-09 Thread Frank Maritato
So, displaytag is a pretty interesting taglib. Does it need to have the entire dataset, or can it use an action/controller to lazy load the information from a datasource (or ejb, or web service, etc.) ? Vic Cekvenich wrote: Here is an example of something I do a lot of w/Struts:

Re: JavaServer Faces

2003-10-09 Thread Kito D. Mann
Matt, This looks like a great taglib -- I wish I had found it when I was working on some past projects :-). In the JSF world, this would be a component that you would use the same way -- with a simple taglib. I'm assuming that this type of functionality is what the highly anticipated JSF grid

Re: JavaServer Faces

2003-10-09 Thread Martin Gainty
Yes I too have worked on Microsoft Systems where you drag and drop components into a Frame and voila you have a functional web page. 1)First a general feeling if uneasiness about integrating the classic Monolithic Microsoft Component Structure into a working Distributed Environment The idea of

help???? Missing message for key index.titl

2003-10-09 Thread nothl
I don't understand how could this possiblely happened. here is what i have on my struts-config.xml message-resources parameter=org.apache.struts.webapp.example.ApplicationResources/ message-resources parameter=org.apache.struts.webapp.example.AlternateApplicationResources key=alternate

Re: JavaServer Faces

2003-10-09 Thread Craig R. McClanahan
Glenn Holmer wrote: Matt Raible wrote: It seems that a lot of Experts are touting that it'll be easy to develop because it's a *standard* and IDEs will support it. http://wwws.sun.com/software/products/projectrave/ As a Sun employee working directly with the Rave team (since it uses

RE: JavaServer Faces

2003-10-09 Thread James Holmes
There's already one JSF tool available today: Faces Console. It's almost identical to Struts Console as its purpose is to simply working with the faces-config.xml file. http://www.jamesholmes.com/JavaServerFaces/ -James -Original Message- From: Craig R. McClanahan [mailto:[EMAIL

Re: ActionServlet.destroy() is broken

2003-10-09 Thread Craig R. McClanahan
Andrew Hill wrote: We are getting NullPointerExceptions thrown in the ActionServlets destroy() method when trying to undeploy our app. This is on JBoss3.05 with integrated Tomcat4.0.6 . Our war file is inside the ear file and we are using struts 1.1 fr. This isn't going to help much, but it looks

Re: Tools for Testing

2003-10-09 Thread Craig R. McClanahan
Adam Hardy wrote: OH NO! Now I have no excuse to ignore testing anymore! Is anybody out there using strutstestcase in anger? So Vic, openSTA - it's for scripting HTTP tests? I read the homepage and it looked like I'd have to do alot of digging to find the basics - how on earth does it verify

Re: ejb's and tomcat

2003-10-09 Thread Craig R. McClanahan
Mark Galbreath wrote: The O'Reilly version has one, too. Which makes perfect sense when you remember that Chuck's book *is* the O'Reilly book :-). -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 11:18 PM To: Struts Users Mailing List

OT FRIDAY: Re: JavaServer Faces

2003-10-09 Thread Vic Cekvenich
Kito D. Mann wrote: SNIP The main difference between the component and taglib approach is that in the component world, all of this functionality would be implemented by a component/renderer pair. The component itself would be a JavaBean, so it'd have methods, properties, and events, and

RE: Tools for Testing

2003-10-09 Thread Shane Mingins
Also Canoo WebTest is a free open source tool for automated testing of web applications. http://webtest.canoo.com/webtest/manual/WebTestHome.html I am not sure how that compares with HtmlUnit? I had a quick look at StrutsTestCase but (as a novice) could not see how to use it to develop the

Re: OT FRIDAY: Re: JavaServer Faces

2003-10-09 Thread Craig R. McClanahan
Vic Cekvenich wrote: Kito D. Mann wrote: SNIP The main difference between the component and taglib approach is that in the component world, all of this functionality would be implemented by a component/renderer pair. The component itself would be a JavaBean, so it'd have methods, properties,

Re: OT FRIDAY: Re: JavaServer Faces

2003-10-09 Thread Vic Cekvenich
Craig R. McClanahan wrote: And you even forgot JSR-168 too :-) Oh yeah, I did not even criticize that! Next time. ;-} .V Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tools for Testing

2003-10-09 Thread Martin Gainty
Modify Artur's TestCase generator http://wttools.sourceforge.net/unittestsgen/package.html to handle StrutsTestCase and this could be automated... beautiful, -Martin - Original Message - From: Shane Mingins [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent:

RE: Tools for Testing

2003-10-09 Thread Shane Mingins
I am not sure if this is useful for Struts apps, but Robert C. Martin son Micah have written Fitnesse - The fully integrated standalone wiki, and acceptance testing framework. And it has FIT behind it http://fit.c2.com/ in some capacity. For anyone interested. http://fitnesse.org

forwarding value to view from Action

2003-10-09 Thread jagadeesh kumar movva
Hi, I am trying to do this : 1. Take values from a jsp page. 2. Make a query from the values in Action class and store it in a String. 3. Send the query as a parameter to another jsp page where the query is sent to the database and the values are displayed. I have problem with (3). I use the

RE: checkbox checking???

2003-10-09 Thread muzammil shahbaz
The array which are using to store values of checkboxes after form submission; just initialize that array with the value which you wana check. e.g. in form bean: String[] array = {1}; // this is an array which will be used to store values of the checkboxes on jsp: html:multibox