JSTL Question

2003-03-21 Thread Navjot Singh
Hi Guys, I have an ArrayList of HashMaps that i wish to iterate over using tag. How can i do that? thanks for any help -navjot - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

problem with NTLM and ActionForm (including from struts examples), continued

2003-03-21 Thread Budi Rostiarso
I've also tried in in resin, same problem occured. And whats annoying about it is that one of my friend which only use straight, plain jsp(with all the form processing code inside the jsp and using no taglib at all) doesn't experience any problem with the NTLM authentification. I really need help

problem with NTLM and ActionForm (including from struts examples)

2003-03-21 Thread Budi Rostiarso
hi guys, i need some help here. I'm trying to acquire NT user via NTLM for my web app, which ofcourse using struts. After i STW i found the source to do that, right here on struts-user mail list. here is the link: http://www.mail-archive.com/[EMAIL PROTECTED]/msg56484.html . The code is working f

help please...

2003-03-21 Thread David Lew
struts 1.0 iplanet webserver 6 SP5 solaris 8 jdk 1.3.1 When I go to the url, eg. http://localhost/search.jsp and view the page source, it shoes the form action=//search.do instead of /search.do Is there a bug with iplanet 6 that causes the extra / to be added to /seach.do or am I doing something

Re: ActionServlet Unavailable

2003-03-21 Thread ashokd
Hi, Some times the server won't load the Custom ActionServlet. I also faced same problem. Pls restart the server and try once. Thanks & Regards, Ashok.D - Original Message - From: "Gerrit" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 22, 2003 5:27 AM Subject: ActionSe

Re: NPE accessing Resources

2003-03-21 Thread David M. Karr
> "Adam" == Adam Sherman <[EMAIL PROTECTED]> writes: Adam> Need some help with this, been banging on it for a while. Adam> java.lang.NullPointerException Adam> at java.util.Hashtable.get(Hashtable.java:329) Adam> at Adam> org.apache.jasper.runtime.PageContextI

OT: RDT for Java

2003-03-21 Thread MerrilG
Hi, Can anyone suggest any resource in the internet where i can study creating interfaces between Java and RDT (Radio Data Terminals)? . Any API's? I searched in google. could not get any reasonable results. regards Merrill George -

RE: [FRIDAY] Microsoft

2003-03-21 Thread Sterin, Ilya
Ok, I agree:-) True, the tools are just there to accomplish the job, and as long as you get to the goal, it doesn't matter what tools someone tells you to use. I get the point now:-) Ilya -Original Message- From: Ted Husted To: ''[EMAIL PROTECTED] ' ' Cc: Sterin, Ilya Sent: 3/21/03 2:35

NPE accessing Resources

2003-03-21 Thread Adam Sherman
Need some help with this, been banging on it for a while. java.lang.NullPointerException at java.util.Hashtable.get(Hashtable.java:329) at org.apache.jasper.runtime.PageContextImpl.findAttribute(PageContextImpl.java:308) at org.apache.struts.util.RequestUtils.lookup(Reques

Re: Size Limitation When Using logic:iterate on Object[][]?

2003-03-21 Thread James Watkin
Regarding the problem that I posted earlier, I've discovered that if I replace: with the following tag from the JSTL Core: the problem goes away. It's funny though how works through most of the iterations. - Jim At 09:16 PM 3/20/2003 -0800, you wrote: The following exam

Re: [FRIDAY] Microsoft

2003-03-21 Thread James Mitchell
On Fri, 2003-03-21 at 19:21, Alexandre Jaquet wrote: > I've some try with Open Source implementation > like Mono and Rotor but what's the only gift > is the C# implementation. > > Mono miss so much for a reall cross plateform, > ado.net, asp.net. > > They try to release a GTK# but it's sucks so

Re: [FRIDAY] Microsoft

2003-03-21 Thread Alexandre Jaquet
I've some try with Open Source implementation like Mono and Rotor but what's the only gift is the C# implementation. Mono miss so much for a reall cross plateform, ado.net, asp.net. They try to release a GTK# but it's sucks so much in comparaison with WinForm... -- Alexandre Jaquet - Origi

Re: [FRIDAY] Microsoft

2003-03-21 Thread Alexandre Jaquet
Borland as the first compagny who buy an .NET licence. They will release Sidewinder for Windows and Linux. .. Alexandre Jaquet - Original Message - From: "Justin F. Knotzke" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, March 21, 2003 10:38 PM Sub

Re: ActionServlet Unavailable

2003-03-21 Thread James Mitchell
On Fri, 2003-03-21 at 18:57, Gerrit wrote: > What would be the typical reasons why I'd get: > > HTTP Status 503 - Servlet MyActionServlet is currently unavailable > > I have perused my web.xml and struts configuration files till beyond normal > patience barriers, and nothing apparent looks wrong.

ActionServlet Unavailable

2003-03-21 Thread Gerrit
What would be the typical reasons why I'd get: HTTP Status 503 - Servlet MyActionServlet is currently unavailable I have perused my web.xml and struts configuration files till beyond normal patience barriers, and nothing apparent looks wrong. I am using Tomcat 4.1.18 and Struts 1.1-RC1. Gerrit

Re: accessing bean contained object

2003-03-21 Thread Lionel Roux
You can just add an accessor in your bean and in your class public class ClientVO >extends java.lang.Object >implements java.io.Serializable > { > >private java.lang.String name; public String getName() { return name; } and in your bean public class AssociateVO >exten

RE: user active vs. user role

2003-03-21 Thread Jacob Hookom
What I do for applications is: User fills out form and set their password. The DB has an extra field called "status" for every table. That status gets set to a 16 character random String that gets sent in an email to their specified address. In that email is a link to: www.site.com/[EMAIL PROTE

RE: internationalization

2003-03-21 Thread Jason Lea
I have done this by putting a unique entry into each of my properties files eg messages.properties: internationalisation.key=English messages_fr.properties: internationalisation.key=French messages_ja.properties: internationalisation.key=Japanese I grab the messages for the default locale,

RE: 1.1 rc1 -Validator: Conditionally required fields.

2003-03-21 Thread Greg Hess
Bruce, I have experienced the same bug. The only thing we can do is not to use client side validation with requiredif fields :-(. I am not sure this bug has been reported in bugzilla or not, I don't have time today to search or post but we should. Cheers, Greg -Original Message- From:

accessing bean contained object

2003-03-21 Thread Curley, John
Hi, All: I have a bean that I am using in a jsp page public class AssociateVO extends java.lang.Object implements java.io.Serializable { ... private com.nielsenmedia.mam.vo.ClientVO Client; This contained object has a member I need to access: public class ClientVO extends java.lan

RE: form validation question

2003-03-21 Thread Marco Tedone
The values specified in the are used by the validator as a replacement for the generic pattern {0}. If you give a closer look to the properties you should import(unless you won't specify yours) when using the validator, one of these will be: {0} is required What the causes is actually the value

session-scope actionform too persistent

2003-03-21 Thread apachep2
I use a session-scope ActionForm for my pages. I have one problem during navigation. PageOneLoadAction: request.getSession(false).setAttribute(mapping.getAttribute(), myActionForm) PageOne.jsp: enter myActionForm.id PageOneAction: forward to PageTwoLoadAction PageTwoLoadAction: load PageT

Error using Struts-Faces in WSAD 5

2003-03-21 Thread Michael Sullivan
Trying to build my own example app in WSAD 5.0 (using the README.txt found in the jakarta-struts-faces-0.3), I am getting the following error trying to go to my first faces jsp. [3/21/03 14:10:02:073 CST] 329f2016 WebGroup E SRVE0026E: [Servlet Error]-[JSP 1.2 Processor]: javax.faces.Faces

Re: 1.1 rc1 -Validator: Conditionally required fields.

2003-03-21 Thread Bruce Geerdes
I no longer get the javascript client-side validation. It falls through to the server. (*All* validation, even for fields other than "phoneBody".) If I remove the following lines, however, client-side validation returns

RE: new sample "best practice" Struts data driven web app for Tomcat 5/Resin 3

2003-03-21 Thread Menke, John
very cool Vic!! I need tomcat 5 to download? I will do it. Want to check it out. -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 4:14 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: new sample "best practice" Struts data driven

Re: [FRIDAY] Microsoft

2003-03-21 Thread Justin F. Knotzke
On Fri, Mar 21, 2003 at 04:35:11PM -0500, Ted Husted wrote: > I think you're missing my point that the open source Java developer's > response to .NET is to port our favorite tools from Java to C#. There is one slight problem with the attempt to Open Source .NET: Microsoft recently patented al

Re: [FRIDAY] Microsoft

2003-03-21 Thread Ted Husted
I think you're missing my point that the open source Java developer's response to .NET is to port our favorite tools from Java to C#. If we can make .NET look more like Java, then we all win. Heck, by making C# look so much like Java, Redmond has already done most of the work for us =:0) If I

new sample "best practice" Struts data driven web app for Tomcat5/Resin 3

2003-03-21 Thread Vic Cekvenich
I released a new basicPortal implementation called "bP v0.8k" available for download on basicPortal.sf.net. - The new version is same simple "bean has a dao helper design", but it uses ibatis.com db layer. (the "older" design used RowSet) Ibatis db layer is very nice. - It now works fine and i

Re: [Announce] Update: Module Switching Examples

2003-03-21 Thread James Mitchell
On Fri, 2003-03-21 at 15:06, David Graham wrote: > I didn't mean that we should change the struts-example app. I was thinking > this would be a new app like "struts-module". > > David > Oh, I see. Well, feel free to use the one I just posted. I mean, there are no classes, but you can easily

RE: [FRIDAY] Microsoft

2003-03-21 Thread Sterin, Ilya
Very true, Ted, totally agree with the developers viewpoint. I also don't care if it's Java, C#, Perl, C/C++, or some new language, as long as you can get the job done. The problem arises though with the fact that, what's more benefitial in the enterprises infrastructure. Cross-platform (which J

Re: OO Design with ActionForms, Again - Can someone please comment

2003-03-21 Thread Vic Cekvenich
Yes, you can have only one formBean with a jsp form page. But the formBean can contain/compound/nest bean. Example a tax form: You have a formBean that containts a bean of income and bean of expenses. so formBean { incomeBean getIncomeBean() {return _incomeBean;} expenseBean getExpenseBean() {retu

Re: user active vs. user role

2003-03-21 Thread David Graham
Also, it's more in line with how I view roles. To me, roles are used to determine what a user can do and not what state they're in. David From: Dan Allen <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re

RE: [FRIDAY] Microsoft

2003-03-21 Thread Sterin, Ilya
Besides the almost a fact that this study was funded by Microsoft, which also claims that Windows is more reliable and cost efficient than Linux, after every independent source claimed that that's false, speed is usually an issue of the developer and the app, not the underlying technology itself, o

Re: user active vs. user role

2003-03-21 Thread Dan Allen
David Graham ([EMAIL PROTECTED]) wrote: > I would use a database field for this so every app. accessing the database > can use the feature. Even if you only have one app. now, you may have more > in the future. > > David So you are saying a field with 'isActive' of type boolean (or whatever

Repost - Messages with Scaffold Helper Class

2003-03-21 Thread Ted Husted
> I'm having trouble getting messages to show up in my .jsp file using a > scaffold approach. In my helper bean I'm setting a couple of messages > like: That version of the messaging system is limited. It can only accept one message template and assumes that any thing comes after that is a repla

Re: ActionError using non-default resource properties

2003-03-21 Thread Dan Allen
David Graham ([EMAIL PROTECTED]) wrote: > http://jakarta.apache.org/struts/userGuide/struts-html.html#errors > > David I knew that was coming, there is no time for lazyness on this list people ;) Dave will keep you straight, get that manual and do some light reading tonight! hehehee Dan --

Re: Init params in struts Action objects

2003-03-21 Thread David Graham
http://jakarta.apache.org/struts/api/org/apache/struts/action/Action.html Actions have access to the Servlet which has access to servlet init parameters defined in web.xml. Alternatively, you can define application init parameters and retrieve them through the ServletContext. David From: "p

Init params in struts Action objects

2003-03-21 Thread paul
Hi, I sent this message out yesterday, but I was not a member of the mailing list then, and I read on the jakarta.apache.org/struts website that I needed to be a member in order to send questions out to [EMAIL PROTECTED] I'm just letting everybody know just in case they recevied this message twice

Re: ActionError using non-default resource properties

2003-03-21 Thread David Graham
http://jakarta.apache.org/struts/userGuide/struts-html.html#errors David From: adam kramer <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: ActionError using non-default resource properties Date: Fri, 21 Mar

ActionError using non-default resource properties

2003-03-21 Thread adam kramer
Is there currently a method to construct an action error that will eventually be used to draw a message key from the non-default resource properties file? Any workarounds? (im too busy/lazy to look at the code right now) But if not would it be a useful feature? thanks, adam k. --- http://adam.4

Re: user active vs. user role

2003-03-21 Thread David Graham
I would use a database field for this so every app. accessing the database can use the feature. Even if you only have one app. now, you may have more in the future. David From: Dan Allen <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subje

RE: [Q] Return-to-page - is there a slick solution?

2003-03-21 Thread Edgar Dollin
It is a little cleaner to save the action in the form bean. This gives you a little more user navigation flexiblity. I even like to save the stack of actions in the bean which gives you the option of giving a controlled simulation of the back button. Of course if you are going to do that you mig

user active vs. user role

2003-03-21 Thread Dan Allen
Just a quick little security question here. Do you think it would be better to make a special role for inactive users or do you think that an active/inactive switch should be a field in the datatable for the user? Basically, the user signs up, but then they have to be activated before they can do

RE: OO Design with ActionForms, Again - Can someone please comment

2003-03-21 Thread Erica Leung
To subclass a base actionForm is the design used in our project. e.g. The baseSearchForm contains fields common to all the objects and the subSearchForm specifies the fields that are unique for the object. And also, the action is object specific, so you can assign the sub form to each action. I a

Re: [Announce] Update: Module Switching Examples

2003-03-21 Thread David Graham
I didn't mean that we should change the struts-example app. I was thinking this would be a new app like "struts-module". David From: James Mitchell <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: [Ann

Not getting selected option

2003-03-21 Thread dmjohns
Hello, I have read through a number of documents (a couple books, tag-lib docs, and anything I could find in a google search) and have been unable to find an answer. My circumstance is that I'm running Struts 1.1 rc1, JVM 1.4.1, WebLogic 7.0, and Windows 2000. All of the documentation I read cla

Re: [Announce] Update: Module Switching Examples

2003-03-21 Thread James Mitchell
On Fri, 2003-03-21 at 14:56, David Graham wrote: > James, > What do you think about adding this as a standard Struts example app? It > would help us a lot when testing module features. Currently, I don't have a > module app to use for bug testing. > > Dave > I've already done a struts-exampl

Re: OO Design with ActionForms, Again - Can someone please comment

2003-03-21 Thread David Graham
I don't see any problem here. Can you be more specific? David From: David Holtzhouser <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: OO Design with ActionForms, Again - Can someone please comment Date: Fri, 21 Mar 2003 11:39:48 -080

Re: 1.1 rc1 -Validator: Conditionally required fields.

2003-03-21 Thread David Graham
How does your js break? David From: Bruce Geerdes <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: 1.1 rc1 -Validator: Conditionally required fields. Date: Fri, 21 Mar 2003 12:28:37 -0700 Did this solve the problem of having both r

Re: [Announce] Update: Module Switching Examples

2003-03-21 Thread David Graham
James, What do you think about adding this as a standard Struts example app? It would help us a lot when testing module features. Currently, I don't have a module app to use for bug testing. Dave From: James Mitchell <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTE

[Announce] Update: Module Switching Examples

2003-03-21 Thread James Mitchell
My apologies to anyone who may have downloaded and tried to deploy the simple-modules-example from http://www.sourceforge.net/struts Somehow my archiving script got corrupted, which corrupted the whole project, so I have rebuilt this (very small) application from scratch. This new application sho

OO Design with ActionForms, Again - Can someone please comment

2003-03-21 Thread David Holtzhouser
I posted this question early in the month, but didn't get a single response. Can someone please comment on this question?? I have a design question realted to developing ActionForm classes. I have a page where a user makes a selection that controls the Tile that will appear within the body of th

Re: 1.1 rc1 -Validator: Conditionally required fields.

2003-03-21 Thread Bruce Geerdes
Did this solve the problem of having both requiredif and mask depends? I downloaded yesterday's nightly but trying to add a requiredif still breaks my javascript validation. Actually, I've narrowed my problem down to just adding the requiredif variables (field[0], fieldTest[0], fieldValue[0]).

Re: [FRIDAY] Microsoft

2003-03-21 Thread Micael
Right! Good products transcend platforms! So, .NET has an intentional problem. No sense denying it. At 12:45 PM 3/21/03 -0500, you wrote: From a developers viewpoint, I'd say it's all moot. Developers develop. Pascal, SmallTalk, Java, C# -- a language is a language. I've been through half a

Re: [Q] Return-to-page - is there a slick solution?

2003-03-21 Thread Jeff Smith
That is generally true, however there is a meta tag (in HTML) for caching that can tell the browser (or intermediary servers - like the ISP) whether or not it is allowed to cache the current page. I don't know which versions of the various browsers support it, but most of the recent ones do. Jeffi

RE: [FRIDAY] Microsoft

2003-03-21 Thread Edgar Dollin
http://www.fawcette.com/javapro/2003_03/online/j2ee_bkurniawan_03_11_03/ > -Original Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED] > Sent: Friday, March 21, 2003 9:41 AM > To: 'Struts Users Mailing List' > Subject: RE: [FRIDAY] Microsoft > > > What article? > > -Original

RE: [Q] Return-to-page - is there a slick solution?

2003-03-21 Thread Nelson, Laird
> -Original Message- > From: Jeff Smith [mailto:[EMAIL PROTECTED] > While you're at it, you might want to ensure that getting > back to the "start > point" includes a nice, juicy screen refresh so that any > dynamic information > altered by your wizard sequence is updated on the page. :-)

Re: [Q] Return-to-page - is there a slick solution?

2003-03-21 Thread Jeff Smith
> From: "Nelson, Laird" <[EMAIL PROTECTED]> > Hmm. Now I'm interested again. I'll be back with whatever I find. While you're at it, you might want to ensure that getting back to the "start point" includes a nice, juicy screen refresh so that any dynamic information altered by your wizard sequenc

OT: Re: [FRIDAY] Microsoft

2003-03-21 Thread Vic Cekvenich
Brian Lee wrote: All of your arguments below are true, but the concern over the TMC report is that if .Net runs apps 50% faster than J2EE then why not use W2k for the app servers running .Net and ditch your J2EE app server. That's the scary argument. Since .Net can communicate with any J2EE ap

Re: [FRIDAY] Microsoft

2003-03-21 Thread Ted Husted
From a developers viewpoint, I'd say it's all moot. Developers develop. Pascal, SmallTalk, Java, C# -- a language is a language. I've been through half a dozen platforms so far, and, God willing, I'll go through a half dozen more before I'm done. =:0) The trick is to keep bringing your favorite

Re: Design philosophy, beans, model to view [LONG]

2003-03-21 Thread Ted Husted
If you are just presenting data to the user, then I would say just go ahead and use the model beans. The one thing to watch for is whether there are any properties that call back to the model. If there are, you need to make sure that everyone writing a presentation page that uses this bean knows wh

Re: [FRIDAY] Microsoft

2003-03-21 Thread Jeff Kyser
If, as the article suggests, one camp (Microsoft) got to tune their app, and the other did not, I'd not put too much stock in the performance data... -jeff On Friday, March 21, 2003, at 11:19 AM, Brian Lee wrote: All of your arguments below are true, but the concern over the TMC report is that

RE: [FRIDAY] Microsoft

2003-03-21 Thread Brian Lee
All of your arguments below are true, but the concern over the TMC report is that if .Net runs apps 50% faster than J2EE then why not use W2k for the app servers running .Net and ditch your J2EE app server. That's the scary argument. Since .Net can communicate with any J2EE apps pretty seamlessl

Re: [Q] Return-to-page - is there a slick solution?

2003-03-21 Thread Jeff Smith
> From: "Ian Hunter" <[EMAIL PROTECTED]> > From the main page, I have the option for each user to "ask" for membership > in any group they don't currently belong in. They can hit one button that > forwards to a different action (groupinterest.do), with a forward called > "returnto" set to the main

RE: [Q] Return-to-page - is there a slick solution?

2003-03-21 Thread Nelson, Laird
> -Original Message- > From: Jeff Smith [mailto:[EMAIL PROTECTED] > Thanks, I think that solves my immediate problem. But it sure > would be nice > if struts had a built-in mechanism for supporting these kinds > of sequences. I think I raised the same issue Many Moons Ago, claimed I'd do

RE: data-source problem

2003-03-21 Thread Eugene Volynskiy
Unfortunately still does not work. Same error.Any other ideas? -Original Message- From: Stephen Smithstone [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 11:24 AM To: Struts Users Mailing List Subject: Re: data-source problem Are u using an Action if so try getDatasource( httpSe

Internationalization and file uploads with multipart/for-data

2003-03-21 Thread Kevin Wang
Hi all, I am working on internationalization for our web application.By setting <%@ page contentType="text/html; charset=UTF-8"%> and using a filter to set request's characterset to "UTF-8", I am able to get user's input in Chinese and send it back to the browser correctly. However I found th

Re: [Q] Return-to-page - is there a slick solution?

2003-03-21 Thread Jeff Smith
I was referring to storing the http_referrer and then popping back there. And obviously this breaks the action forwarding cycle. (And let's not even talk about users jumping directly to one of my sequence pages from the outside world. We know THAT never happens. :-) But you're suggesting storing t

RE: struts-config.xml

2003-03-21 Thread Pat Young
Thanks Joseph! This is exactly the solution we are looking for. We can break our struts-config.xml file into multiple files and do not have the added complexity of using application modules. Pat Young --- Joseph Fifield <[EMAIL PROTECTED]> wrote: > If you are using 1.1, you can simply split th

Re: [Q] Return-to-page - is there a slick solution?

2003-03-21 Thread Ian Hunter
I had a similar problem recently. I have a series of actions that populate a formbean from a database, forward to a JSP for editing, and those submit to a different action for handling updates and cascaded things that must happen based on business rules. I also want to be able to link directly to

Re: [Q] Return-to-page - is there a slick solution?

2003-03-21 Thread David Graham
I could easily track that info in the first action step, put it into the session scope and then pop back there at the end. But that seems to circumvent the entire struts action forwarding mechanism. Not if you store the action name in the session in the first step and have the last step call mappi

[Q] Return-to-page - is there a slick solution?

2003-03-21 Thread Jeff Smith
My user is on his favorite page (one of many report pages he can choose from). From there, I want to offer a number of "utility" sequences that he can run - say Edit Profile, Change Preferences, etc. Each of these sequences may be 1 page or a sequence of 2 or 3. I want to keep track of which page h

[REPSOST] Faces - UIComponent - read/write mode

2003-03-21 Thread Sebastien Cesbron
Sorry to post this again but I would like to have more details about the future of the struts-faces cooperation. Do we have to work with components in the future ? Does it make sense to implement my own components now and in the future upgrade to faces components ? Thanks in advance Seb

Re: data-source problem

2003-03-21 Thread Stephen Smithstone
Are u using an Action if so try getDatasource( httpServletRequest , "ds1" ); as the Action has a method for getting a datasource On Friday 21 March 2003 2:32 pm, Eugene Volynskiy wrote: > Hi, > > I have a problem with data-source usage in Struts 1.1 > When we had data-source defined in struts-

RE: [FRIDAY] Microsoft

2003-03-21 Thread Sterin, Ilya
I think however powerful .NET might be, it'll never reach it's full potential, due to the fact that it only really runs on M$ platforms. Yes, there is the Mono project, which is an attempt to port .NET to Linux, but it will never be full fledge as M$ only release 80% of the .NET infrastructure to

Tag Pipelining

2003-03-21 Thread Giovanni Formenti
Hallo, i'm newly here! :) I found the name of my problem... "Tag Pipelining" The problem is clearly explaned here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg00150.html If someone have some idea... Thanx Gio - To unsubscri

[OT] Portlets

2003-03-21 Thread Etienne Labonté
Hi, Is there a better place for discussing Portlets?

RE: Validation and Reset

2003-03-21 Thread Ady Das O'Toole
You could remove the validate call in your form and call the form's validate method in your Action depending on whether it was a submit or reset. //validate form ActionErrors errors = new ActionErrors(); errors = yourForm.validate(mapping, request); //put the errors object in request saveErrors(

Re: struts-config.xml

2003-03-21 Thread Sloan Seaman
Here is a snipit of my struts-config.skeleton.xml: @core.formbean @campaign.formbean @promotion.formbean @promotionTypes.pantryLoading.formbean @core.action @campaign.action @promotion.action @promotionTypes.pantryLoading.action Here is the snipit from the build: Notes: there m

Validation and Reset

2003-03-21 Thread Weber, Jeremy
Hello all! It seems when I click my reset button my form is validated. Is there anyway to keep this from happening? I am using and the reset methodology here http://www.husted.com/struts/tips/001.html Jeremy Weber Eventra, Inc. Sr. SCM Specialist 203-

RE: working with a team

2003-03-21 Thread Chen, Gin
>> seem to me the container should check the timestamp of the war >> against the folder or something and if it is newer, redeploy it. >> This also causes issues with files that were removed from the war, >> which are now trash files and left in the deployed app. One a container redeploys your war

Re: Fine Grained Access Control in Sturts

2003-03-21 Thread David Graham
How would this be done with jstl? ??? The logic:present tag relies on HttpServletRequest.isUserInRole() http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletRequest.html#isUserInRole(java.lang.String) So, in JSTL I *think* you could do not quite as easy, and is 'user' a p

RE: Fine Grained Access Control in Sturts

2003-03-21 Thread David Graham
http://jakarta.apache.org/struts/userGuide/struts-tiles.html#insert David From: [EMAIL PROTECTED] Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: Fine Grained Access Control in Sturts Date: Fri, 21 Mar 2003 08:12:26 +0100 Can you have a tile requir

RE: [FRIDAY] Microsoft

2003-03-21 Thread Andrew Hill
What article? -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Friday, 21 March 2003 22:32 To: [EMAIL PROTECTED] Subject: Re: [FRIDAY] Microsoft As developers, I think its our job to develop, making the best use of the best tools available. I may be involved with a .

data-source problem

2003-03-21 Thread Eugene Volynskiy
Hi, I have a problem with data-source usage in Struts 1.1 When we had data-source defined in struts-config.xml without "key" attribute is working just fine:

Re: [FRIDAY] Microsoft

2003-03-21 Thread Ted Husted
As developers, I think its our job to develop, making the best use of the best tools available. I may be involved with a .NET project this summer. And if I am, you can bet I'm bringing along the C# renditions of my favorite tools. Ant, Hibernate, Lucene, Maverick (similar to Struts), Velocity,

Re: struts-config.xml

2003-03-21 Thread Dan Allen
Sloan Seaman ([EMAIL PROTECTED]) wrote: > You can also have imultiple files and then have ANT use a skeleton > struts-config.xml file to build the final file. > > Just use variable replacement in ANT to insert all the seperate files into > one master file (that is how we do it) Great idea! Who

Re: refresh command

2003-03-21 Thread Dan Allen
Vladislav Kamensky ([EMAIL PROTECTED]) wrote: > Is it possible to create Action that will have "forward" which is not specified by > struts-config.xml. I know that I can create Action that will create its own > "forward" > on the basis of HttpRequest parameter, for example, but I need a bit di

Re: A tag inside another: it will be not interpreted!

2003-03-21 Thread Giovanni Formenti
Sure! Gio - Original Message - From: "apachep2" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, March 21, 2003 3:14 PM Subject: RE: A tag inside another: it will be not interpreted! > Have you declare <%@ tablig > > > > I;m not entirely sur

RE: WebSphere Application Developer / Log4J, duplicate messages???

2003-03-21 Thread Cook, Graham
I only seem to be getting duplicates on my classes, not any Struts/Validator classes.. Example Code: .. .. import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; .. .. protected static final Log log = LogFactory.getLog( RegistrationAction.class ); .. .. .. log.info(

refresh command

2003-03-21 Thread Vladislav Kamensky
Is it possible to create Action that will have "forward" which is not specified by struts-config.xml. I know that I can create Action that will create its own "forward" on the basis of HttpRequest parameter, for example, but I need a bit different thing. My Action is to be invoked from lots of p

RE: WebSphere Application Developer / Log4J, duplicate messages?? ?

2003-03-21 Thread Susan Bradeen
Try putting this in your system properties ... - D options in the config for your server instance, I guess you'd call it, and see if that makes a difference. Susan Bradeen On 03/21/2003 09:04:53 AM "Cook, Graham" wrote: > commons-logging.properties :- > > org.apache.commons.logging.LogFacto

RE: A tag inside another: it will be not interpreted!

2003-03-21 Thread apachep2
Have you declare <%@ tablig -Original Message- From: Giovanni Formenti [mailto:[EMAIL PROTECTED] Sent: March 21, 2003 7:46 AM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Re: A tag inside another: it will be not interpreted! - Original Message - From: "Robert

RE: WebSphere Application Developer / Log4J, duplicate messages???

2003-03-21 Thread Cook, Graham
Nope, tryed that, still dont work. That line was commented out anyway -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 21 March 2003 14:10 To: [EMAIL PROTECTED] Subject: RE: WebSphere Application Developer / Log4J, duplicate messages??? There seems some problem

RE: WebSphere Application Developer / Log4J, duplicate messages???

2003-03-21 Thread shirishchandra.sakhare
There seems some problem in this configuration..I am not sure if stdout is taken as COnsole appender by log4j... BEcause U have stdout as appender for root.And then output1 again maps to console appender.. So try the following change. Just change the first line as follows: # Create a single c

RE: WebSphere Application Developer / Log4J, duplicate messages?? ?

2003-03-21 Thread Cook, Graham
commons-logging.properties :- org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jF actory -Original Message- From: Susan Bradeen [mailto:[EMAIL PROTECTED] Sent: 21 March 2003 13:58 To: Struts Users Mailing List Subject: RE: WebSphere Application Developer / Lo

RE: WebSphere Application Developer / Log4J, duplicate messages?? ?

2003-03-21 Thread Susan Bradeen
Have you got a commons-logging.properties file? Susan Bradeen On 03/21/2003 08:42:54 AM "Cook, Graham" wrote: > This is the log4.properties file:- > > > # Create a single console appender that logs INFO and higer > #log4j.rootLogger=INFO, stdout > > # Create a console appender that logs ERRO

Re: [Q] Apache http.conf, Tomcat & Struts

2003-03-21 Thread Sasha Bilton
Dan Allen wrote: Alright, I got this to work with mod_jk and apache 1.3 out of the box...but be sure to change the locahost to localhost in the workers.properties file (typo) http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/quickhowto.html That's a good start, but it still doesn't help with t

RE: [Q] Apache http.conf, Tomcat & Struts

2003-03-21 Thread Edgar Dollin
This sounds like a tomcat configuration error. You need to set appBase under host and docBase under context. If you still have problems I would post this under [EMAIL PROTECTED] Edgar > -Original Message- > From: Sasha Bilton [mailto:[EMAIL PROTECTED] > Sent: Friday, March 21, 2003 4:5

Re: working with a team

2003-03-21 Thread Chris Trawick
We have a team of several jsp and ejb developers. We all develop and unit test with local instances of the application and communicate our changes via CVS. Only when we are ready for a release do we commit the latest to a server. We agree that several JSP developers working off the same deployme

  1   2   >