RE: Using JSTL tags instead of Struts tags

2003-07-10 Thread Kamholz, Keith (corp-staff) USX
There isn't really any business logic with the struts tags either, and there's generally no need for scriptlets. I don't know anything about JSTL, but I'm just not seeing the advantage here. At least not yet. - Keith -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent:

Re: [OT] colours

2003-07-10 Thread Mark Lowe
there are some interesting links on the university of Portsmouth's psychology dept. form their colour displays research... http://web.port.ac.uk/departments/psychology/other/colour.htm#col_dem including this link http://colourharmony.massey.ac.nz/ On Thursday, July 10, 2003, at 02:29 PM, Adam

RE: Using JSTL tags instead of Struts tags

2003-07-10 Thread David Graham
I don't have any documentation but the only Struts taglibs I use are html and tiles. I replaced my usage of the bean tags with the tag and the Struts logic tags are all replaced with a combination of the and tags plus the expression language. The JSPs are remarkably easy to maintain and debug

RE: Login Form

2003-07-10 Thread Erez Efrati
Thanks a lot Sean, I will try it and let you know how it works. Thanks for your great help, Erez -Original Message- From: Sean Radford [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 12:28 PM To: Struts Users Mailing List Subject: RE: Login Form Erez, Things you need to do: 1

RE: Using JSTL tags instead of Struts tags

2003-07-10 Thread Kamholz, Keith (corp-staff) USX
I'd be interested in finding out about this too. -Original Message- From: White, Joshua A (HTSC, CASD) [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 7:30 AM To: 'Struts Users Mailing List' Subject: Using JSTL tags instead of Struts tags A previous thread had encouraged me to l

Re: [OT] colours

2003-07-10 Thread Adam Hardy
How do you find these things? I searched google and got nowhere. Brown, Melonie S. - Contractor wrote: I like _http://www.defencemechanism.com/color/color_toy_fr.htm_ Adam Hardy wrote: > I'm doing the HTML design for my current project and I'm looking for > some resource on the web somewhere t

Struts 1.1 - FileNotFoundException

2003-07-10 Thread sriram
I'm trying to use struts 1.1. When i deploy the application, I'm getting the following error: 18:43:29,867 ERROR [ActionServlet] Parsing error processing resource path java.io.FileNotFoundException: JAR entry org/apache/struts/resources/struts-config_1_1.dtd not found Is the struts.jar I'm u

Re: PAC pattern (Presentation-Abstraction-Controller)

2003-07-10 Thread Dos Santos
Hi Craig, thanks for your interest. One of the things that I know about PAC is that you can build an application in a hierarchical fashion through communication among controllers. Is this possible with MVC? Do you know where I can get information on the subject? Secondly, the interface and model

AW: JavascriptValidatorTag error

2003-07-10 Thread Kern P., DP ITS, SCP, M
Hello, if you are using struts 1.1 i think the following is ok but no gurantee...this works for me. regards Pete -Ursprüngliche Nachricht- Von: sriram [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 10. Juli 2003 14:55 An: 'Struts Users Mailing List' Betreff: JavascriptValidatorTag e

RE: [OT] Use of Static Methods

2003-07-10 Thread Andrew Hill
It's this kind of discussion that makes this list one (if not THE) best list on the web. +1 I guess the only question I have remaining is whether there is a problem with maintaining 'thread safety' with the use of a static method As for thread safety, thats all about the data rather than

JavascriptValidatorTag error

2003-07-10 Thread sriram
I'm getting the following exception when I'm trying to use 'Struts Validator' in .jsp file. (I get this exception when I try to display the .jsp in the browser) - this exception is shown on jboss console. java.lang.NullPointerException at org.apache.struts.validator.taglib.html.Javascri

RE: [OT] Use of Static Methods

2003-07-10 Thread Jerry Jalenak
To everyone: WOW! Talk about opening a can of worms! It's been quite interesting reading the different viewpoints regarding the use of statics vs singletons, whether Perl is OO or not, etc. etc. etc. It's this kind of discussion that makes this list one (if not THE) best list on the web. Ted:

Re: Re[2]: What is the default scope of an ActionForm.

2003-07-10 Thread Mark Lowe
I'm not sure whether it defaults to session, I was under the impression it was scoped to the request, but as i pretty much always define the scope i wouldn't know. However when you scope to request the same can happen if redirect is set to false, as the action isn't a new request as such.. My g

Re: [OT] colours

2003-07-10 Thread Brown, Melonie S. - Contractor
Title: Re: [OT] colours I like http://www.defencemechanism.com/color/color_toy_fr.htm  Adam Hardy wrote: > I'm doing the HTML design for my current project and I'm looking for > some resource on the web somewhere that will show me what colours go > together well, i.e. sets of 2 or 3 colou

Re: Workflow engine status

2003-07-10 Thread Alex McLintock
At 06:15 08/07/03 -0700, Kevin K wrote: I was looking at Jakarta for a workflow engine and I found this URL - http://jakarta.apache.org/struts/proposal-workflow.html. What I can't find is when this proposal was written and if this workflow engine is included in the latest release of Struts. Sorry i

[OT] Setting up torque with struts

2003-07-10 Thread Mark Lowe
This is how to configure torque to work with struts. a few weeks or ,perhaps, months ago, Ville (vilho[at]students[dot]cc[dot]tut[dot]fi) after he'd spent a week bringing together all the required resources, he kindly mailed me some instructions on how to do so. I tested his instructions an

Re: Dispatching actions from html:link-elements with LookupDispatchAction

2003-07-10 Thread Kris Schneider
Haven't tried this before, but it might work: ... Quoting Jussi Koiranen <[EMAIL PROTECTED]>: > I am trying to use org.apache.struts.actions.LookupDispatchAction class to > dispatch my actions. > I can dispatch actions from buttons nicely, but I do not know how to > dispatch actions fr

Re: [OT] colours

2003-07-10 Thread Adam Hardy
Wow. That is a good resource. I'm not sure about the guy's writing style though. Sounds like Tom Cruise in Magnolia! Thanks Andrew Adam Andrew Hill wrote: Maybe this can help: http://www.visibone.com/colorlab/ -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Thursday

Using JSTL tags instead of Struts tags

2003-07-10 Thread White, Joshua A (HTSC, CASD)
A previous thread had encouraged me to look into JSTL. It looks like there are several tags which I could use instead of Struts tags. Has anyone come across any documentation about experiences doing this (benefits, drawbacks, caveats)? Anyone care to share their experience? Joshua This commun

Error with commons-validator

2003-07-10 Thread sriram
I'm tying to incorporate client-side validations using struts validator. I've downloaded all related .jar files and placed them in /WEB-INF/lib. I'm using commons-validator.jar (1.0.2). When I'm trying to display the. jsp page in web browser. it's showing some HTML tags as mentioned below: "

Re[2]: What is the default scope of an ActionForm.

2003-07-10 Thread Dirk Markert
Hello Ravi, default is SESSION. *** RG> I've tried this with my and used the same for at more than 1 screen but what happens is that whenever it the property name is same as that already used in previous screen it automaticaly RG> po

RE: [OT] colours

2003-07-10 Thread Andrew Hill
Maybe this can help: http://www.visibone.com/colorlab/ -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Thursday, 10 July 2003 19:11 To: Struts Users Mailing List Subject: [OT] colours I'm doing the HTML design for my current project and I'm looking for some resource

[OT] colours

2003-07-10 Thread Adam Hardy
I'm doing the HTML design for my current project and I'm looking for some resource on the web somewhere that will show me what colours go together well, i.e. sets of 2 or 3 colours that contrast pleasingly. I saw someone post a button site called 'steal these' http://gtmcknight.com/buttons/inde

RE: What is the default scope of an ActionForm.

2003-07-10 Thread Ravi Garg
I've tried this with my and used the same for at more than 1 screen but what happens is that whenever it the property name is same as that already used in previous screen it automaticaly populates that portion of the screen -Original Message- From: Shashank Dixit [mailto:[EMAIL PROTECTED

To populate the form

2003-07-10 Thread Ravi Garg
Hi all, I am new to struts and what I know is that property name in a JSP must be same as that of the variable name in formbean. I have a JSP which has a various fields which are dynamicaly generated and the the number of fields is also not same every time. The biggest pro

Re: What is the default scope of an ActionForm.

2003-07-10 Thread Shashank Dixit
The default scope is REQUEST - Original Message - From: "Ravi Garg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 10, 2003 4:19 PM Subject: What is the default scope of an ActionForm. > Hi all, > can any of you tell me if I donnot specify any scope of Form in Struts-c

Re: tiles and tabs; post instead of link

2003-07-10 Thread Natalie D Rassmann
Thank you so much  I am going to try to integrate this solution in my code...  I will let you know how I make out and especially if I find anything interesting. Thanks again, Natalie Dudley Irish wrote: I have just finished converting the example from the tiles examples from links to submits

how to installl struts? pls send me steps

2003-07-10 Thread Lalitha Sundaresan
Dear sir/mam, Pls can anyone tell me as to how do I go abt inatlling the struts from the http://jakarta.apache.org . I read the instructions on installing struts but I was not bale to find the jar file which they ahd mentioned. I have apachetocat3.2 installed in my

What is the default scope of an ActionForm.

2003-07-10 Thread Ravi Garg
Hi all, can any of you tell me if I donnot specify any scope of Form in Struts-config.xml then for which scope does the instance of form persists?? For example: What will be the scope of "TestingForm"? Regards, Ravi -

Re: Tiles and Struts: JSP page doesn't compile

2003-07-10 Thread Paula Coll Lapido
Just found the solution: I hadn't included the struts taglibs in my body JSP page!! - Original Message - From: "Paula Coll Lapido" <[EMAIL PROTECTED]> To: "struts-user" <[EMAIL PROTECTED]> Sent: Thursday, July 10, 2003 12:13 PM Subject: Tiles and Struts: JSP page doesn't compile I am cu

Re: large scale deployments

2003-07-10 Thread Affan Qureshi
Hi, I think the isssue of scalability and a supporting large customer base is out of scope of what Struts does. You might want to look into techniques like clustering, load-balancing and distributed app architectures. Struts has no feature that helps in these situations. However while Struts does n

RE: Login Form

2003-07-10 Thread Sean Radford
Erez, Things you need to do: 1. Get your EJB's installed and working with your JAAS plugin (or one of the supplied JBoss ones). So standard J2EE settings in ejb-jar.xml, and a standard jboss.xml (your security-domain in particular). 2. Create your web app as per the security filter instructions.

Tiles and Struts: JSP page doesn't compile

2003-07-10 Thread Paula Coll Lapido
I am currently implementing tiles on my webapp, using definitions. I have the following files: 1. tiles-defs.xml --> defining the main template as follows: 2. console.jsp: the main template: 3. Several pa

Dispatching actions from html:link-elements with LookupDispatchAction

2003-07-10 Thread Jussi Koiranen
I am trying to use org.apache.struts.actions.LookupDispatchAction class to dispatch my actions. I can dispatch actions from buttons nicely, but I do not know how to dispatch actions from links. No matter what I try, I always get: "HTTP ERROR: 500 Request[/details] does not contain handler parameter

RE: Login Form

2003-07-10 Thread Erez Efrati
Sean, Thanks for the code. I have downloaded everything and I am about to start playing with it. But from reading still, I am a bit confused here. Is this code + SecurityFilter replaces the container security configuration of JBoss/Tomcat in ejb-jar.xml, web.xml, jboss.xml, jboss-web.xml ? Thank

RE: What should be in validate() method when using struts validator package

2003-07-10 Thread sriram
Thanks for that. I've gone thru the pdf and am trying to implement client-side validations. I've done as explained in that chapter. I've placed the relevant code in .jsp file and also this line in the end (before closing BODY tag). But this is causing a problem. The form isnot getting disp

RE: [OT] Use of Static Methods

2003-07-10 Thread NYIMI Jose (BMB)
Sorry for my previous mails, can you make some comments on following critics about Singletons I'm reading at http://www.theserverside.com/resources/articles/RodJohnsonInterview/JohnsonChapter4.pdf [from page 139] Section titled: "Avoid a Proliferation of Singletons by Using an Application Registry

AW: Reusable Components

2003-07-10 Thread Frédéric Dreier
Actually, the company where i work uses webobjects. It allows to make UI components (independant and configurable) and organize them in libraries (related to our products). Clients specific web interfaces are made of these 'standard' component + some graphic stuff. It look great on paper, but in p

RE: [OT] Use of Static Methods

2003-07-10 Thread NYIMI Jose (BMB)
DISCLAIMER "This e-mail and any attachment thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s) named above. Any use of the information contained herein (including, but not limite

RE: [OT] Use of Static Methods

2003-07-10 Thread NYIMI Jose (BMB)
DISCLAIMER "This e-mail and any attachment thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s) named above. Any use of the information contained herein (including, but not limite

RE: Login Form

2003-07-10 Thread Sean Radford
All, Please find attached my securityfilter realm adaptor. The other code I was waiting for hasn't materialised, so I couldn't do any comparison - but it seems to work for me... Good luck, and any probs just shout. And nope, I have know idea if the extra functionality is to be resolved in the nea

[OT] Session Management using EJB

2003-07-10 Thread Nimish Chourey , Tidel Park - Chennai
Hi all , I want to know if there are applications that implements Session Management using EJB's rather then using the HttpSession on Web tier . I want to know the pros and cons of this approach . For all the R&D that I have done , it seems that this approach could be used when you are de

RE: Tiles : menu tile

2003-07-10 Thread Joao Batistella
You must link your menu to a Tiles definition that include your body file. Regard's, João Paulo. -Original Message- From: Alessandro Braghieri [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 8:45 AM To: [EMAIL PROTECTED] Subject: Tiles : menu tile Hi all, I am using the 1.1 vers

RE: [OT] Use of Static Methods

2003-07-10 Thread Andrew Hill
In the mean time, I suggest you avoid this trap for your application specific classes, and implement the singleton pattern instead. Having made this mistake a fair few times myself I give this suggestion a big +1 -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sen

Linking Struts with cocoon

2003-07-10 Thread Brook, Andy
Hi all, Has anyone had experience linking struts with cocoon, I've been looking at the struts-cocoon project (http://www.twdata/struts), specifically with gaining the ability to output data in different formats (specifically PDF but M$ XLS/DOC format via POI would be a boon). Unfortunately the

large scale deployments

2003-07-10 Thread george . baxter
Hi all, We're in the depths of 'framework decision time' for a large scale web application. Does anyone on this list use struts for really large customer bases? (Millions?, 10s of millions?) What are the sort of problems large scale systems have run into (specifically struts related)? Thanks,

Re: [OT] Use of Static Methods

2003-07-10 Thread Craig R. McClanahan
On Thu, 10 Jul 2003, Simon Kelly wrote: > Date: Thu, 10 Jul 2003 09:56:14 +0200 > From: Simon Kelly <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: [OT] Use of Static Methods > > I'm gonna get shot d

Validation Problems

2003-07-10 Thread guruprasad jakka
Dear Struts users, I have done a simple web-app using validator framework. the JavaScript validations are proper.But in the server side validations, i have problems. Only,the 'required','minlength'&'maxlength' validations are working.Rest other validators have no effect even though, i have use

Re: Outputting form:text value as "normal" text in the .jsp

2003-07-10 Thread Adam Hardy
I would not put the text to display into the form. Just put it straight in the request scope when you obtain it, or in both places if needs be. Or alternatively, output it as a read-only text field with CSS styles that make the field box invisible. Adam Linus Nikander wrote: Is there a way to

Outputting form:text value as "normal" text in the .jsp

2003-07-10 Thread Linus Nikander
Is there a way to output the value of an attribute contained in a Form as "normal" text on the displaying .jsp page ? The following code illustrates what I'm trying to do. isRegistrationAllowed is a checkbox property. the "" works fine and displays the set value. "" also works fine an

Re: PAC pattern (Presentation-Abstraction-Controller)

2003-07-10 Thread Craig R. McClanahan
On Tue, 8 Jul 2003, Dos Santos wrote: > Date: Tue, 8 Jul 2003 10:30:43 -0700 (PDT) > From: Dos Santos <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: PAC pattern (Presentation-Abstraction-Controller)

Re: [OT] Use of Static Methods

2003-07-10 Thread Simon Kelly
I'm gonna get shot down in flames here, but I feel this may be a good way of looking at the differences between static and non-static methods. If you look at the compiled code for any OO language at the bytes in memory level, you can clearly see the differences between the two. When a compiled pro

Re: Should dtd's be kept locally and referenced locally or just takefrom the web?

2003-07-10 Thread Craig R. McClanahan
On Thu, 10 Jul 2003, Tin Pham wrote: > Date: Thu, 10 Jul 2003 02:59:35 -0400 > From: Tin Pham <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Should dtd's be kept locally and referenced locally or just take > from the web? > >

mapping.findForward error/bug?

2003-07-10 Thread Alessio
Hello all, i work with Struts(v. 1.1 final)/tiles and EJB in an Action i call an EJB method to have information to display in page, after this i find if the user is logged if no i forward to action of login... the code: ( note: baseAction contains some utility method as find in the session if there

RE: Validate method going in infinite Loop

2003-07-10 Thread Nagendra Kumar O V S
    hi, well then.. do not perform any validations in the validate method. (leave it empty). do this email validation in the action class. so if ur email is invalid add that to errors and also get other data from db and then f

Tiles : menu tile

2003-07-10 Thread Alessandro Braghieri
Hi all, I am using the 1.1 version of struts and there's something I don't understand about tiles: since they're not like and they cannot be "targeted" by a link, how can I tell my menu.jsp (in the "menu tile")to open the link in the "body tile"? Thanks Alex ___

Re: Should dtd's be kept locally and referenced locally or just takefrom the web?

2003-07-10 Thread manglu
Tin, It's good to use a local DTD just for the same reason that you mentioned - link to the DTD site if it is unavailable then the Application would have problems. Alternatives: (i) Have it available in your local web server( I use this in my application) (ii) Turn of the DTD validation(atle

form Date exampel ?

2003-07-10 Thread Linus Nikander
Can anyone point me to an struts form: example where a Date is retreived, presented to the user in a form for manipulation, and then submitted to an action for further processing again. I tried using a getter/setter with a Date type presented in a field to the user. The getter works fine and prese

RE: Validate method going in infinite Loop

2003-07-10 Thread Pankaj Borgaonkar
Thanks Nagendra But on the JSP page I want to show both the errors as well as the data ( form bean variable which are populated in the performAction() method of action class. ) i.e. in validate method if email address is invalid then I am adding the errors and forwarding to JSP page, this pa

Re: Validate method going in infinite Loop

2003-07-10 Thread Nagendra Kumar O V S
hi pankaj,   type="com.onstar.myonstar.process.web.controller.EmailCreationAction" name="emailCreationForm" validate="true"scope="request"input="/emailcreation.mo"> path="/jsp/virtualadvisor/emailcreation/va_pr_emailsetup_main.jsp"redirect="false"/> 

RE: problem in Logout Action and No cache using struts

2003-07-10 Thread Sachin
Thanks Nagendra I am not aware of it it is working Thanks -Original Message- From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 11:59 AM To: [EMAIL PROTECTED] Subject: Re: problem in Logout Action and No cache using struts have u tried in ur struts

<    1   2   3