problem in Logout Action and No cache using struts

2003-07-10 Thread Sachin
Hi All, well iam working on a application using struts all works fine.but i am not able to solve one problem. My application should behave like a wizard.i don't want to user just go back on clicking browser button But still no able to do that And after application complete its

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

2003-07-10 Thread sriram
What should be in validate() method when we use Struts Validator package? Should it be an empty method? My current validate() method (without using Struts Validator) is as follows:(What should it be if I implement validations in validator-rules.xml and validations.xml)? Pl. suggest. public

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

2003-07-10 Thread Nagendra Kumar O V S
hi, struts validator provides both client side as well as server side validations. if u want to use the serverside validations , u have to extend the validatorForm instead of ActionForm and remove the validate() method all together. but, in my

Re: problem in Logout Action and No cache using struts

2003-07-10 Thread Nagendra Kumar O V S
have u tried controller nocache="true"/ in ur struts config --nagi ---Original Message--- From: Struts Users Mailing List Date: Thursday, July 10, 2003 11:37:14 AM To: Struts Users Mailing

Validate method going in infinite Loop

2003-07-10 Thread Pankaj Borgaonkar
Hi All, I am validating email address entered by user, using in validate method of formBean. If the email address is invalid I am adding the errors. Struts Config entries: action path=/emailcreation type=com.onstar.myonstar.process.web.controller.EmailCreationAction

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

2003-07-10 Thread Nagendra Kumar O V S
HI again this pdf gives u good start to the validator framework http://www.manning.com/husted/chap12.pdf also u can deploy the struts-validator.war that comes with the struts release and go thro' the jsps, validator.xml, validator-rules.xml

Should dtd's be kept locally and referenced locally or just take from the web?

2003-07-10 Thread Tin Pham
Hi, Does anybody have any opinions on whether my dtd's should be downloaded and referenced locally or put on the web? What happens if you go into production and the online reference is down? The app server type I am using is WebSphere. Thanks.

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 controller

Re: Validate method going in infinite Loop

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

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

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 html:text property= field to the user. The getter

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

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 frames 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: 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

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

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? Hi, Does

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

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) Are you

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. html:form action=/saveRegistrationHandlerSettings html:checkbox property=isRegistrationAllowed/ bean:write

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

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

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 down in

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

RE: [OT] Use of Static Methods

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

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

[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 RD that I have done , it seems that this approach could be used when you are

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

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

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

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

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

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). validator:javascript formName=supportviewForm/ But this is

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 ?

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

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: definition name=brm.consola path=/templates/console.jsp put name=useBean value=/ put name=header value=/templates/header.jsp /

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

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

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 currently

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: action-mappings action path=/testing type=test.action.TestingAction name=TestingForm

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 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

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.

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

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

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

[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'

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

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

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: Dispatching actions from html:link-elements with LookupDispatchAction

2003-07-10 Thread Kris Schneider
Haven't tried this before, but it might work: bean:define id=message bean:message key=button.save/ /bean:define html:link action=/details paramId=action paramName=message ... /html:link Quoting Jussi Koiranen [EMAIL PROTECTED]: I am trying to use

[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

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

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 colours

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

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:

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

RE: [OT] Use of Static Methods

2003-07-10 Thread Andrew Hill
snip It's this kind of discussion that makes this list one (if not THE) best list on the web. /snip +1 snip 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 /snip As for thread safety, thats all about

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 html:javascript formName=someForm / 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

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

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

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

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

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:

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 fmt:message tag and the Struts logic tags are all replaced with a combination of the c:if and c:forEach tags plus the expression language. The JSPs are remarkably

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,

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]

Re: How to differentiate between timed-out user and new user?

2003-07-10 Thread Erik Price
Paananen, Tero wrote: So when you say persistent user repository, do you mean something that the programmer manually store in the DB or is there some API that we can query it on the web server? manually store in the DB (or flat files, whatever), unless you're using a product that provides this

Re: How to differentiate between timed-out user and new user?

2003-07-10 Thread Erik Price
K.C. Baltz wrote: I use a SessionListener to record the SessionIDs when they are created. I'm not sure yet how I'm going to handle the Set filling up with SessionIDs. I'll have to find some way to expire them. Someone just told me recently (on this list) about using SoftReference and

RE: Using JSTL tags instead of Struts tags

2003-07-10 Thread David Graham
--- Kamholz, Keith (corp-staff) USX [EMAIL PROTECTED] wrote: 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. Start using it and

JSTL and JSF What does the future hold?

2003-07-10 Thread Davidson, Glenn
Many of us a new to Struts and have limited time to learn new technologies. I have heard some (not a lot) of hype for Java Server Faces. Being new and having to learn this technology what recommendation can you give? Should we skip JSTL? Should we jump to JSF? Many of you on this list are actually

RE: Using JSTL tags instead of Struts tags

2003-07-10 Thread Hookom, Jacob
Start using it and you will :-). The expression language is the best thing since sliced bread. David I agree, I'm even using the EL parser to do stuff on completely different layers for scripting logic. Also, you can VERY easily use JSTL's parsing objects in your own tags to make them a little

Re: JSTL and JSF What does the future hold?

2003-07-10 Thread David Graham
--- Davidson, Glenn [EMAIL PROTECTED] wrote: Many of us a new to Struts and have limited time to learn new technologies. I have heard some (not a lot) of hype for Java Server Faces. Being new and having to learn this technology what recommendation can you give? Should we skip JSTL? JSF is

applying a style on a bean:message

2003-07-10 Thread Ionel Gardais
Hi, How to apply a CSS style to a bean:message ? I didn't find any style= parameter to the tag. thanks, ionel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: applying a style on a bean:message

2003-07-10 Thread James Childers
Wrap it with an HTML span tag. e.g.: span class=someCSSclassbean:message attribute=value attribute2=value2 //span -= J -Original Message- From: Ionel Gardais [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 9:11 AM To: Struts Users Mailing List Subject: applying a style on

Re: [OT] Use of Static Methods

2003-07-10 Thread Erik Price
NYIMI Jose (BMB) wrote: In my view, it's a much better solution to have one object that can be used to locate other objects. I call this an application context object, although I've also seen it termed a registry or application toolbox. Any object in the application needs only to get a

org/apache/struts/resources/struts-config_1_1.dtd not found

2003-07-10 Thread sriram
I tried using struts1.1 by downloading the latest copy of struts.jar from the web, but 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

Unable to catch ServletException

2003-07-10 Thread White, Joshua A (HTSC, CASD)
I have a struts tag which is throwing a servletexception. I have tried to catch this exception by defining it as a global exception and waiting for it to bubble up but the jsp page prints the stack trace to the screen regardless. Any ideas? Joshua This communication, including attachments, is

Re: PAC pattern (Presentation-Abstraction-Controller)

2003-07-10 Thread Carlos Duque
As I noted in an earlier email, the patterns are in common use essentially the same. The terminology is slightly different but the two have merged: Here is the Sun description of the pattern: http://java.sun.com/blueprints/patterns/MVC-detailed.html and another layout

RE: Unable to catch ServletException

2003-07-10 Thread Mike Jasnowski
I imagine this exception is not originating from your tag. Does the servletexception wrapp another exception which may be from your tag? -Original Message- From: White, Joshua A (HTSC, CASD) [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 10:25 AM To: 'Struts Users Mailing List'

Re: Using JSTL tags instead of Struts tags

2003-07-10 Thread Mark Lowe
I started using JSTL but found that it encouraged site builders to start embedding logic in JSP's. While I can see that JSLT is more powerful, isn't it true to say that it encourages breaking with the view-controller demarcation? I find the struts tags on the other hand, used with zero

RE: Using JSTL tags instead of Struts tags

2003-07-10 Thread Mike Jasnowski
I would think you'd run into that possibility with either Struts or JSTL. Our designers love JSTL because it's succinct and a bit more obvious in what object.property you are working with. But it's sometimes up to me and other engineers to steer the designers away from bad practices.

RE: JSTL and JSF What does the future hold?

2003-07-10 Thread Davidson, Glenn
Thanks David, I have seen several warnings on this mailing list about the danger of embedding logic into the JSP code. Do you have any comment on this danger? Thanks Glenn -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 10:14 AM To: Struts

Réf. : RE: Using JSTL tags instead of Struts tags

2003-07-10 Thread meissa . Sakho
can someone point me out a tutorial or a good book about JSLT. Meissa Mike Jasnowski [EMAIL PROTECTED] 10/07/2003 16:33 Veuillez répondre à Struts Users Mailing List Pour : Struts Users Mailing List [EMAIL PROTECTED] cc : Objet : RE: Using JSTL tags instead of

RE: [OT] Use of Static Methods

2003-07-10 Thread NYIMI Jose (BMB)
This sounds a lot like the ServiceLocator pattern. http://java.sun.com/blueprints/corej2eepatterns/Patterns/ServiceLocator.html But ServiceLocator uses Singleton. Have a look the following link at page 126 http://developer.java.sun.com/developer/Books/j2ee/dpa/j2ee_dpa_Ch3.pdf Here the author

DefinitionDispatcherAction problem

2003-07-10 Thread ale bra
Hi all, I've got problems with DefinitionDispatcherAction taking a definition as a parameter. I have a global forward which redirects to an action of type DefinitionDispatcherAction : global-forwards forward name=login path=/LinkToMain.do?def=MyLink/ /global-forwards action-mappings

Simplest way to clear DynaActionForm?

2003-07-10 Thread Alex Shneyderman
What is the fastest/simplest way of clearing the DynaAcitonForm? I am looking for something like: DynaActionForm form = init here; : : logic goe s here if (need to manually clear the form) { form.clear (); // } Thanks, Alex.

RE: Réf. : RE: Using JSTL tags instead of Struts tags

2003-07-10 Thread Raible, Matt
www.jstlbook.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 8:45 AM To: Struts Users Mailing List Subject: Réf. : RE: Using JSTL tags instead of Struts tags can someone point me out a tutorial or a good book about JSLT. Meissa

RE: Réf. : RE: Using JSTL tags instead of Struts tags

2003-07-10 Thread Davidson, Glenn
Go to www.java.sun.com and type JSTL in the search box and you will get a list of resources available. There are tutorials and references to books articles etc. Glenn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 10:45 AM To: Struts

RE: [OT] Setting up torque with struts

2003-07-10 Thread James Childers
Thanks Mark. This should probably be archived somewhere outside of the mailing list. Do you have any plans to put it on a web page somewhere? -= J -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 6:53 AM To: Struts List Cc: Garry Dillon;

Re: Using JSTL tags instead of Struts tags

2003-07-10 Thread David Graham
--- Mark Lowe [EMAIL PROTECTED] wrote: I started using JSTL but found that it encouraged site builders to start embedding logic in JSP's. While I can see that JSLT is more powerful, isn't it true to say that it encourages breaking with the view-controller demarcation? No, it doesn't

html spaces

2003-07-10 Thread Ben Anderson
maybe this is a more genearl html/xml question - not really sure c:set var=link bean:message key=path/ bean:message key=file /c:set so this sets link to equal /mypath/somewhere/ myfile.htm obviously this puts a space in there and won't work. I

Re: html spaces

2003-07-10 Thread David Graham
--- Ben Anderson [EMAIL PROTECTED] wrote: maybe this is a more genearl html/xml question - not really sure c:set var=link bean:message key=path/ bean:message key=file /c:set Why are you using the JSTL's c:set tag but not the

Blank JSP Instead of Exception

2003-07-10 Thread Aaron Longwell
I'm building a new Struts app... and for the first half of development, uncaught exceptions would be reported by the container (on a web page that's visible to the end user). Suddenly yesterday all exceptions stopped being reported to the web output, and are now only appearing as a StackTrace

Re: Using JSTL tags instead of Struts tags

2003-07-10 Thread Aaron Longwell
David Graham wrote: --- Mark Lowe [EMAIL PROTECTED] wrote: I started using JSTL but found that it encouraged site builders to start embedding logic in JSP's. While I can see that JSLT is more powerful, isn't it true to say that it encourages breaking with the view-controller demarcation?

Re: html spaces

2003-07-10 Thread Eric Jain
but does anyone know if there's a way to continue to the next line without inserting a space? You could use JSP/XML syntax, that would give you this behavior. -- Eric Jain - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: [OT] Use of Static Methods

2003-07-10 Thread NYIMI Jose (BMB)
snip But ServiceLocator uses Singleton /snip I meant ServiceLocator is implemented as a Singleton ... José. -Original Message- From: NYIMI Jose (BMB) Sent: Thursday, July 10, 2003 4:46 PM To: Struts Users Mailing List Subject: RE: [OT] Use of Static Methods This sounds a lot

Re: Using JSTL tags instead of Struts tags

2003-07-10 Thread Laurent PETIT
Hello, From: David Graham [EMAIL PROTECTED] No, it doesn't encourage poor programming. Anyone can abuse the tags but it's up to your designers to use them for view logic. If you provide beans that perform the business logic, the page designers will have no reason to implement that logic in

Struts 1.1 Bug? PlugIn Objects Not Serializable

2003-07-10 Thread Hohlen, John C
I'm encountering a serialization error due to Plug-In objects, in my case, the org.apache.struts.validator.ValidatorPlugIn not being serializable. An array of plug-ins are stored in application scope in the ActionServlet.initModulePlugIns() method. However, the PlugIn interface does not

struts doc

2003-07-10 Thread Taner Diler
hi, I want to develop my web applications by using struts. I found some tutorials. but they do not include enough sample codes about developing applications that are not complicated. so if you have good documents or know any internet web sites, could you inform me about it? thanks for your

RE: struts doc

2003-07-10 Thread Marcos Oliva
Hello Taner, You can start with this http://stealthis.athensgroup.com/presentations/Model_Layer_Framework/Str uts_Whitepaper.doc. -Original Message- From: Taner Diler [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 8:26 AM To: Struts Users Mailing List Subject: struts doc hi,

RE: logic:empty inside logic:iterate

2003-07-10 Thread Joe Zendle
Hi this is a repost. Can anyone help? This looks like a bug to me. I'm about to try JSTL to compare. I'm using struts 1.1, java 1.4.2, tomcat 4.1.24 Cheers. -Original Message- From: Joe Zendle Sent: Wednesday, July 09, 2003 3:20 PM To: Struts Users Mailing List Subject: logic:empty

  1   2   3   >