Re: When is Struts 1.2.8 and 1.3 coming out?

2005-10-09 Thread Paul Benedict
Ted, I saw javadoc changes that say @since 1.2.8. Will that code be ported to 1.3? See, I'd really like a 1.2.8 that fixes the URL validator bug. That's a big priority for me. Paul __ Yahoo! Mail - PC Magazine Editors' Choice 2005 h

RE: Redirect to tile

2005-10-09 Thread David G. Friedman
Nikhil, Any version of Tiles/Struts up through version 1.2.4 only allows for a Tile to be accessed inside Struts. In the upcoming version 1.3.X branch, tiles will be in a stand-alone jar so it MIGHT include a filter or web.xml mapping instructions to allow external (without requiring Struts) acce

Redirect to tile

2005-10-09 Thread Nikhil Walvekar
Hi All, I have one question. There is one action in tiles config file I have written definition for *tileName*. Now when this action is called it displays proper page, but how redirect to a tile works, because in the adress bar stilll the name for action is displayed but if we redirect to an

Re: Hide the JSP: Actions, rowBean and JSPs question

2005-10-09 Thread Frank W. Zammetti
Hi C.F., There's actually a whole bunch of ways to accomplish this... this is almost certainly not a complete list, but just off the top of my head... (1) Place all your JSPs in WEB-INF. By definition, they can only be reached by forwarding from something, be it a servlet or Struts Action,

Re: Hide the JSP: Actions, rowBean and JSPs question

2005-10-09 Thread rajasekhar . cherukuri
Hi, Put the following code in your web.xml. This will not allow any of your user to access your JSPs. ... no_access *.jsp ... Regards, Rajasekhar Cherukuri "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> 10/10/2005 09:58 AM Please respond

Hide the JSP: Actions, rowBean and JSPs question

2005-10-09 Thread C.F. Scheidecker Antunes
Hello All, I have an action that reads from the database and return a rowSet bean to the request scope. Then I iterate the bean on my JSP and show the data. Everything works. I however have a problem. I can access the JSP straight if I type the URL. That is, I want the JSP only to be shown i

Re: Submit buttons getting their value

2005-10-09 Thread Michael Jouravlev
Do you want to create something like this: http://www.superinterface.com/wizard/signupWizard.do It would be easier if you switched to event-based action class, like DispatchAction or LookupDispatchAction. I would humbly suggest to use SelectAction from my Struts Dialogs library. SelectAction works

Re: Submit buttons getting their value

2005-10-09 Thread Dakota Jack
See www.michaelmcgrady.com on buttons. This is a fascinating subject. On 10/9/05, C.F. Scheidecker Antunes <[EMAIL PROTECTED]> wrote: > But where is PropertyName? The only thing passed to the action is request. > Thanks > > Martin Gainty wrote: > > > Antunes > > I thought it was > > PropertyName.

Re: What is best practice for securing an struts based web application?

2005-10-09 Thread Wendy Smoak
From: "Legolas Woodland" <[EMAIL PROTECTED]> I used a simple login page + add a session variable after loged in to check the security of my system . the login page test and if the session variable be present it shows some other links like : edit profile , orders ,.. and if the session variable i

Re: Submit buttons getting their value

2005-10-09 Thread C.F. Scheidecker Antunes
But where is PropertyName? The only thing passed to the action is request. Thanks Martin Gainty wrote: Antunes I thought it was PropertyName.getValue() ?? M- - Original Message - From: "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, Octobe

Re: Submit buttons getting their value

2005-10-09 Thread Martin Gainty
Antunes I thought it was PropertyName.getValue() ?? M- - Original Message - From: "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, October 09, 2005 6:17 PM Subject: Submit buttons getting their value Hello all, I have two submit buttons, o

Submit buttons getting their value

2005-10-09 Thread C.F. Scheidecker Antunes
Hello all, I have two submit buttons, one with a value of Continue and the other Back. How do I check their values? I've tried request.getAttribute("submit").toString() but I do not get anything. My buttons are like this: back continue They are within the same form structure. My action ha

Struts 1.3 - what is new there ?is it based on shale ?

2005-10-09 Thread Legolas Woodland
Hi Thank you for reading my mail. What is new in struts 1.3 ? will already made application based on struts 1.1 works with new Struts ? is it based on shale ? does tag library grown ? Thank you

What is best practice for securing an struts based web application?

2005-10-09 Thread Legolas Woodland
Hi Thank you for reading my mail. I used a simple login page + add a session variable after loged in to check the security of my system . the login page test and if the session variable be present it shows some other links like : edit profile , orders ,.. and if the session variable is not present

Re: JSP/design/flow question.

2005-10-09 Thread Leon Rosenberg
Actually, it's your choice. If you wish you can serve all three pages from a single JSP. Probably it would be nearest to best practices to make 2 and 3 one jsp. I think the "best" way, would be to have Page2 und Page 3 as separate JSPs, but using a common tile for data presentation. Regards Leon

RE: PHP integration

2005-10-09 Thread Jim Douglas
To all, I have STRUTS serving up PHP pages but I can't get Tiles to deliver the page to the body, it servers up the wole PHP page by itself. This is how I got it to work, in my tiles-defs.xml I have, path="/tiles/layouts/menuNoStruts.jsp" > extends="site.index.page.onli

Re: Please help.

2005-10-09 Thread Michael Jouravlev
1) "input" attribute name is misleading. It is not actually an input page, it is a location where control will be forwarded in case of error, that is, if ActionForm.validate() returns non-null non-empty object. 2) Do not navigate directly to JSP page in browser, navigate to action. Action is suppo

Re: Please help.

2005-10-09 Thread Deep Chand
If I do that then I don't see a jsp page asking me to Confirm the data. It goes to the ConfirmAction class but as I said, what I want is Enter info on Page1. Ask for confirmation on Page2 and then insert the data in DB using DataAccess object. Display the data on Page3 that was entered by the user

Re: Please help.

2005-10-09 Thread Jeremiah Johnson
your path for the "customerConfirm" forward should be "/customerConfirm.do" probably but it might be "/do/customerConfirm" depending on what you have in your web.xml. /Jeremiah Deep Chand wrote: Hi All, I'm new to Struts, so please bear with me :). I've a form asking for customer data with f

Please help.

2005-10-09 Thread Deep Chand
Hi All, I'm new to Struts, so please bear with me :). I've a form asking for customer data with fields like name, address etc. What I'm trying to achieve is this kind of flow/design: Page1) Customer enters their info. Submit button will take them to Page2. Page2) They are asked to verify the s

Re: When is Struts 1.2.8 and 1.3 coming out?

2005-10-09 Thread Ted Husted
AFAIK, there probably won't be a Struts 1.2.8. The Struts 1.2.7 release made GA grade in May, and, unless something changes, that may be end of the 1.2.x line. We're slogging along toward a Struts 1.3.0 distribution. The core code is ready, and some people are already using it in production. For 1

When is Struts 1.2.8 and 1.3 coming out?

2005-10-09 Thread Paul Benedict
I see code for 1.2.8 and code for 1.3. Will anyone be releasing these soon? I look forward to 1.3 but it doesn't seem to exist on the Struts page as a downloadable kind of moving slow. I am just a patient waiter and eager for any version to make it out. Paul __

JSP/design/flow question.

2005-10-09 Thread Deep Chand
I'm new to Struts. I've a form asking for customer data with fields like name, address etc. What I want is this kind of flow/design: Page1) Customer enters their info. Submit button will take them to Page2. Page2) They are asked to verify the same info again with read only fields. Two buttons wil

Re: Is this an appropriate use for plugins

2005-10-09 Thread Faisal Mahmoud
Actually, I deploy on WAS4. We have a WAS5 environment ready, but it has no been made available to do deployments on for us yet. For my next project, we will be using WAS5 though. On 10/9/05, Martin Gainty <[EMAIL PROTECTED]> wrote: > Niall et al > *Assuming* your are using websphere 5.0 or 5.1 (a

Re: [OT] Type of import statement

2005-10-09 Thread Frank W. Zammetti
It makes no difference at runtime. At compile-time a wildcard import can result in longer compile times, but it's one of those things where you would probably only notice in the aggregate. The difference, most of the time I'd say, won't be enough to be of any real concern. There is of course

Re: Is this an appropriate use for plugins

2005-10-09 Thread Martin Gainty
Niall et al *Assuming* your are using websphere 5.0 or 5.1 (and you are not adverse to running maven scripts) this primer on installing PlugIns in Websphere should get you started http://maven-plugins.sourceforge.net/maven-was5-plugin/ Best, Martin- - Original Message - From: "Niall Pem

[OT] Type of import statement

2005-10-09 Thread N G
Does anyone know if it makes any kind of difference if you use "*" in your import statements like: import java.util.*; vs. import java.util.Collection; Is one better than the other? Does one take longer than the other when compiling/executing? Thanks, NG.