Re: Struts creates its own session object?

2006-01-23 Thread Vikrama Sanjeeva
Hi, Thanks for the good explanation. Bye, Viki. On 1/19/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 1/19/06, Martin Morawetz [EMAIL PROTECTED] wrote: Hi, We have two web applications, a Struts-application and a strutsless application. Both web applications have to use the

validating a single textbox for two mask values

2006-01-23 Thread rama chandrula
Hi, I have a text box in which I can either enter a E-mail address or the Phone number. I want to use Struts-Validator for validating the format of both the email and phone number. How can I specify the values of both the masks for the same text box. In the snippet given below, contactID is

Regex works in Java but not in Struts Validator

2006-01-23 Thread rama chandrula
Hi, I have a regex as given below that works with Java 1.5, But when I use the same as the maxk value in Struts-Validator it does not work. Can anyone point out the reason Regards, chandra _ Sexy, sultry, sensuous. - see why

Struts vs JSF decision

2006-01-23 Thread Rivka Shisman
Hello Friends, I've been working with Struts for some months now and I really like the framework and I especially like the people that participate in the mailing lists. Today I spoke with a project manager from IBM (consulting team) regarding consulting services for developing our web J2EE

Re: Struts vs JSF decision

2006-01-23 Thread Sheshadri Patel
On 1/23/06, Rivka Shisman [EMAIL PROTECTED] wrote: Hello Friends, I've been working with Struts for some months now and I really like the framework and I especially like the people that participate in the mailing lists. Today I spoke with a project manager from IBM (consulting team)

What JDK version are you using?

2006-01-23 Thread Niall Pemberton
What JDK version are you using? - [ ] JDK 1.2 [ ] JDK 1.3 [ ] JDK 1.4 [ ] JDK 1.5 (or JDK 5) - I'm mainly interested in the impact of moving Commons Valdator to a minimum dependency of JDK 1.4 to use the RegExp support rather than depending on ORO, so it

Query regardin picklets

2006-01-23 Thread Naveen Sharma
Is it possible to have the correct input selected on Keystrokes using STRUTS

AW: What JDK version are you using?

2006-01-23 Thread Martin Kindler
I'm using 1.4.2 and would like to switch to 1.5. I am also using the Validator. Martin -Ursprüngliche Nachricht- Von: Niall Pemberton [mailto:[EMAIL PROTECTED] Gesendet: Montag, 23. Januar 2006 12:37 An: Struts Users Mailing List Betreff: What JDK version are you using? What

RE: What JDK version are you using?

2006-01-23 Thread Myatluk Andrey
[X] JDK 1.5 (or JDK 5) + Validator Andrey -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Monday, January 23, 2006 2:37 PM To: Struts Users Mailing List Subject: What JDK version are you using? What JDK version are you using? - [ ] JDK 1.2

Re: What JDK version are you using?

2006-01-23 Thread Simon Chappell
1.4.1 and Struts 1.1 Ain't corporate standards a wonderful thing? :-) On 1/23/06, Niall Pemberton [EMAIL PROTECTED] wrote: What JDK version are you using? - [ ] JDK 1.2 [ ] JDK 1.3 [ ] JDK 1.4 [ ] JDK 1.5 (or JDK 5) - I'm mainly interested in

Re: What JDK version are you using?

2006-01-23 Thread Wendy Smoak
On 1/23/06, Niall Pemberton [EMAIL PROTECTED] wrote: What JDK version are you using? [X] JDK 1.5 (or JDK 5) And I'm using Validator. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Regex works in Java but not in Struts Validator

2006-01-23 Thread Dave Newton
rama chandrula wrote: I have a regex as given below that works with Java 1.5, But when I use the same as the maxk value in Struts-Validator it does not work. Can anyone point out the reason I don't see a regular expression. IIRC Validator uses ORO for its regexes which may not be exactly the

Re: Regex works in Java but not in Struts Validator

2006-01-23 Thread Dave Newton
Replied to list. rama chandrula wrote: I have the following Regex in Java [A-Za-z0-9]+([_.*-]?[A-Za-z0-9]+)[EMAIL PROTECTED]([.-]?[A-Za-z0-9]+)* Any tips to convert so that it will work with ORO. Yes; use the 'email' built-in validator rule from commons-validator. Other than that, I am

Re: What JDK version are you using?

2006-01-23 Thread Dave Newton
Simon Chappell wrote: 1.4.1 and Struts 1.1 You're lucky. About 2/3 of our deployments are on 1.3. We use 1.3, 1.4, and new stuff will (hopefully) be 1.5. I'm using validator via the typical struts validation stuff. Ain't corporate standards a wonderful thing? :-) Sure. I tell myself

Re: What JDK version are you using?

2006-01-23 Thread atta-ur rehman
[X] JDK 1.5 (or JDK 5) No validator. HTH. ATTA On 1/23/06, Dave Newton [EMAIL PROTECTED] wrote: Simon Chappell wrote: 1.4.1 and Struts 1.1 You're lucky. About 2/3 of our deployments are on 1.3. We use 1.3, 1.4, and new stuff will (hopefully) be 1.5. I'm using validator via the

Re: What JDK version are you using?

2006-01-23 Thread Emmanouil Batsis
1.4.2 atta-ur rehman wrote: [X] JDK 1.5 (or JDK 5) No validator. HTH. ATTA On 1/23/06, Dave Newton [EMAIL PROTECTED] wrote: Simon Chappell wrote: 1.4.1 and Struts 1.1 You're lucky. About 2/3 of our deployments are on 1.3. We use 1.3, 1.4, and new stuff will

Re: Validation Security Hole?

2006-01-23 Thread Rick Reumann
I supposed I should reply to this on the dev list but since this thread is so long now I figured I'd add a bit more on the topic here. I see Paul/Frank what the concern is, but I think the 'problem' needs to be clarified a bit more. The problem, in my opinion, really only occurs when someone is

[OT] advice on resolving an email issue with this list/my hosting provider

2006-01-23 Thread Rick Reumann
Lately I've been having problems with another email account that I've used to access this list ([EMAIL PROTECTED]). Lately, things will seem to go fine for a while and then I'll receive no messages to that list address, then occasionaly one or two will sneak in. I even just tried to cancel my

Re: What JDK version are you using?

2006-01-23 Thread Rick Reumann
Stuck with 1.4 at work for a while. On 1/23/06, Emmanouil Batsis [EMAIL PROTECTED] wrote: 1.4.2 atta-ur rehman wrote: [X] JDK 1.5 (or JDK 5) No validator. HTH. ATTA On 1/23/06, Dave Newton [EMAIL PROTECTED] wrote: Simon Chappell wrote: 1.4.1 and Struts 1.1

Re: Validation Security Hole?

2006-01-23 Thread Tamas Szabo
On 1/23/06, Rick Reumann [EMAIL PROTECTED] wrote: I supposed I should reply to this on the dev list but since this thread is so long now I figured I'd add a bit more on the topic here. I see Paul/Frank what the concern is, but I think the 'problem' needs to be clarified a bit more. The

struts and JSTL

2006-01-23 Thread fea jabi
would like to display the value of property amount as $10,00,000. tried using the below. But getting an error/ it doesn't get displayed. Is this the way to do this. Or is there an easier way to do the same? td bean:define id=amthtml:text name=Form1 property=amount

Tomcat 4.1 vs DynaAddressForm

2006-01-23 Thread Deepak
Hi Guys, Am getting an exception in tomcat console when try to install DynaActionForm using below nodes in struts-config.xml : form-bean name=DynaAddressForm type=org.apache.struts.action.DynaActionForm form-property name=name type=java.lang.String/ form-property

comunicate different struts

2006-01-23 Thread Alberto Pozos
Hi everybody. My problem is this: I have different war files. Each war is a Struts based project with his web.xml, struts-config.xml,. I would like to know if it's possible to communicate those different war files. In other words, could I use a mapping in a.war which is developed in b.war.

Forcing URL Rewriting over Cookies in an existing application.

2006-01-23 Thread Jay
Hi all, I have an application (Sun ONE 6.1 sp2, Struts 1.02 (I guess)) that uses Cookies for session handling and has been so for around 3/4 years. I have a requirement where I want to force URL Rewriting even if the browser supports cookies. Please help! Jay Broadband interface (RIA) + mail

Re: Forcing URL Rewriting over Cookies in an existing application.

2006-01-23 Thread Emmanouil Batsis
Jay wrote: Hi all, I have an application (Sun ONE 6.1 sp2, Struts 1.02 (I guess)) that uses Cookies for session handling and has been so for around 3/4 years. I have a requirement where I want to force URL Rewriting even if the browser supports cookies. Please help! Jay This is a

RE: Forcing URL Rewriting over Cookies in an existing application.

2006-01-23 Thread David G. Friedman
http://access1.sun.com/techarticles/sessions.iws.html Regards, David -Original Message- From: Jay [mailto:[EMAIL PROTECTED] Sent: Monday, January 23, 2006 10:53 AM To: user@struts.apache.org Subject: Forcing URL Rewriting over Cookies in an existing application. Hi all, I have an

Re: What JDK version are you using?

2006-01-23 Thread Craig McClanahan
On 1/23/06, Niall Pemberton [EMAIL PROTECTED] wrote: What JDK version are you using? - [ ] JDK 1.2 [ ] JDK 1.3 [X] JDK 1.4 [ X JDK 1.5 (or JDK 5) - I'm mainly interested in the impact of moving Commons Valdator to a minimum dependency of JDK 1.4

Re: What JDK version are you using?

2006-01-23 Thread Bart Busschots
Using Validation and JDK1.4.2 and will be doing so for at least a year. Bart. Niall Pemberton wrote: What JDK version are you using? - [ ] JDK 1.2 [ ] JDK 1.3 [ ] JDK 1.4 [ ] JDK 1.5 (or JDK 5) - I'm mainly interested in the impact of moving Commons

AW: Forcing URL Rewriting over Cookies in an existing application .

2006-01-23 Thread Bernhard Slominski
OT, but I'm interested, is this available im Tomcat too? Thanks Bernhard -Ursprüngliche Nachricht- Von: David G. Friedman [mailto:[EMAIL PROTECTED] Gesendet: Montag, 23. Januar 2006 17:08 An: Struts Users Mailing List Betreff: RE: Forcing URL Rewriting over Cookies in an existing

Re: Struts vs JSF decision

2006-01-23 Thread Frank W. Zammetti
On Mon, January 23, 2006 6:08 am, Rivka Shisman said: The specialist said he doesn't have development experience with Struts, but he strongly recommended using JSF. He said that JSF is J2EE standard and is more comfortable and flexible to work with. This is exactly the kind of opinion I would

Re: What JDK version are you using?

2006-01-23 Thread Marcelo Morales
JDK 1.4 This is required by one of my customers. So i use 1.4 for everybody else, so i don't have to deal with any other JDK. Using validator extensively. Validator seems ubiquitous in most of my struts projects and i use it beyond action form validation (in configuration and some

RE: Forcing URL Rewriting over Cookies in an existing application.

2006-01-23 Thread David G. Friedman
The same thing (disable cookies but enable url rewriting) should work on Tomcat 4.X and 5.X. See the cookies attribute in the below url(s): http://tomcat.apache.org/tomcat-4.0-doc/config/context.html http://tomcat.apache.org/tomcat-5.0-doc/config/context.html

AW: Forcing URL Rewriting over Cookies in an existing application .

2006-01-23 Thread Bernhard Slominski
Thank you! But it's not possible to do it the other way round in Tomcat right ? Also I think this should belong in the web.xml and shouldn't be container-specific, what do you think? Bernhard -Ursprüngliche Nachricht- Von: David G. Friedman [mailto:[EMAIL PROTECTED] Gesendet: Montag,

Re: What JDK version are you using?

2006-01-23 Thread Ulrich Elsner
I am using a minimum of JDK 1.4 for my Struts based applications. 1.5 has recently been approved so I am considering moving them to Tiger if I can find a good reason to do so (i.e., not migrating just for the sake of newness). Ulrich

Re: Validation Security Hole?

2006-01-23 Thread Frank W. Zammetti
On Mon, January 23, 2006 9:54 am, Rick Reumann said: The solution I would like to see is if the canceled param is passed to the Action, it tries to look for a canceled method in the Action. I know this makes the Action like a DispatchAction but in this regard I don't think the non-Dispatch

Re: Validation Security Hole?

2006-01-23 Thread Tamas Szabo
But what do you guys mean by lookin for a canceled method in the Action. I think that the best would be to implement a Cancelable interface if your Action is cancelable. You would have to do this in all kind of Actions (DispatchAction too) by the way. Or is having interfaces very unstrutsish?

Tags for Pagination

2006-01-23 Thread Srini Pillai
Hi, We have a situation where we require to paginate our result list (which is quite huge, around 1000+ records). We found few tags like DisplayTags from sourceforge.net but the current version does not support batch lists (i.e. retrieving the list in batches based on the page the user is in,

Locale problem...

2006-01-23 Thread Shilpa . Nalgonda
Hi All, I have an application which is used in US, Europe and Asia. The application should show the date in each regions own local time. I have to create the time and store it in databsae in GMT and again while displaying the date back to the browser convert The GMT into the local timezone.

[JSF] Client state

2006-01-23 Thread Michael Jouravlev
Can JSF store component state completely on client, that is, using Javascript objects? I could not find anything besides _viewstate-like juggling between client and server. I think it would be nice if an application could try to save viewstate on client, and if Javascript were turned off, the

Re: [JSF] Client state

2006-01-23 Thread Frank W. Zammetti
How could you possibly do this without using frames? Every page request would obliviate any values you had stored. Frames allows you to do this, I've done it many times with a hidden frame for client-side persistence, but without frames, I don't see how this could be possible. (Or AJAX of

Re: [JSF] Client state

2006-01-23 Thread Michael Jouravlev
On 1/23/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: How could you possibly do this without using frames? Every page request would obliviate any values you had stored. Frames allows you to do this, I've done it many times with a hidden frame for client-side persistence, but without

Re: struts and JSTL

2006-01-23 Thread Ed Griebel
The problem is that you're putting the 'amount' field into a hidden field and then trying to use that hidden field as a value, but your amt bean will actually contain the value of the form field: input type='hidden' value='123.00'/ Try this instead. First, in your action save this amount value to

Re: What JDK version are you using?

2006-01-23 Thread Ed Griebel
1.4 (+ Struts 1.2 ) We're locked into this for at least a couple of years, corporate decision. -ed On 1/23/06, Niall Pemberton [EMAIL PROTECTED] wrote: What JDK version are you using? - [ ] JDK 1.2 [ ] JDK 1.3 [ ] JDK 1.4 [ ] JDK 1.5 (or JDK 5) -

Re: [JSF] Client state

2006-01-23 Thread Gary VanMatre
From: Michael Jouravlev [EMAIL PROTECTED] Can JSF store component state completely on client, that is, using Javascript objects? I could not find anything besides _viewstate-like juggling between client and server. JSF has an option to store the state of the page as a hidden field in the

Re: [JSF] Client state

2006-01-23 Thread Frank W. Zammetti
On Mon, January 23, 2006 1:11 pm, Michael Jouravlev said: I am not a Javacript pro, yet ;) So, on a new request Javascript objects are gone? I see. No problem :) Yes, that's correct... with every document loaded into the browser, anything that existed before is wiped out. I'm not aware of any

RE: A couple of simple questions

2006-01-23 Thread David Thielen
Asking again - thanks - dave -Original Message- Hi; 1) I want my default page to be index.do so I set the following in web.xml: welcome-file-list welcome-fileindex.do/welcome-file /welcome-file-list But instead I get a directory of files in my root when I go to the

Re: What JDK version are you using?

2006-01-23 Thread Frank W. Zammetti
1.4(.2) here. Likely to be on that for at least another year, quite possibly more. Libraries I use on a regular basis: Beanutils, Digester, Lang, Code, Collections, FileUpload, HTTPClient, Logging and Net (and soon EMail as well). Sticking with Struts 1.2.4 for a while (very slow to upgrade

RE: A couple of simple questions

2006-01-23 Thread [EMAIL PROTECTED]
Yes, you can't use a .do action for the welcome pages. This is because web.xml is lower down than the struts stuff. The web.xml also configures the strust controller servlet to intercept anything ending with .do. If you think about this you can understand how, at the web.xml leve, there's

Re: What JDK version are you using?

2006-01-23 Thread Rafael Nami
[X] JDK 1.4 [X] JDK 1.5 (or JDK 5) Best Regards Rafael Mauricio Nami 2006/1/23, Frank W. Zammetti [EMAIL PROTECTED]: 1.4(.2) here. Likely to be on that for at least another year, quite possibly more. Libraries I use on a regular basis: Beanutils, Digester, Lang, Code, Collections,

Re: A couple of simple questions

2006-01-23 Thread Dave Newton
David Thielen wrote: 3) I need to have a method called when my servlet first loads. Is a listener the best way to do this? What servlet? Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Regex works in Java but not in Struts Validator

2006-01-23 Thread Brett Connor
Dave Newton wrote: Replied to list. rama chandrula wrote: I have the following Regex in Java [A-Za-z0-9]+([_.*-]?[A-Za-z0-9]+)[EMAIL PROTECTED]([.-]?[A-Za-z0-9]+)* Any tips to convert so that it will work with ORO. Yes; use the 'email' built-in validator rule from commons-validator.

html-el:select and tag files

2006-01-23 Thread Clint Popetz
Hello, This may be more of a jsp 2.0 question than a html-el tag library question, but here goes. I have a jsp page that has a list of dates that need to be entered. I have a custom tag file that displays a date selector using three html-el: selects (year/month/day.) It takes

Re: Tags for Pagination

2006-01-23 Thread Rick Reumann
On 1/23/06, Srini Pillai [EMAIL PROTECTED] wrote: We have a situation where we require to paginate our result list (which is quite huge, around 1000+ records). We found few tags like DisplayTags from sourceforge.net but the current version does not support batch lists (i.e. retrieving the

Re: html-el:select and tag files

2006-01-23 Thread Wendy Smoak
On 1/23/06, Clint Popetz [EMAIL PROTECTED] wrote: This may be more of a jsp 2.0 question than a html-el tag library question, but here goes. If you're using JSP 2.0, you should not be using Struts-EL. Use the plain HTML tags and make sure you've configured your webapp for Servlet 2.4

Re: html-el:select and tag files

2006-01-23 Thread Clint Popetz
On Mon, Jan 23, 2006 at 12:36:02PM -0700, Wendy Smoak wrote: On 1/23/06, Clint Popetz [EMAIL PROTECTED] wrote: This may be more of a jsp 2.0 question than a html-el tag library question, but here goes. If you're using JSP 2.0, you should not be using Struts-EL. Use the plain

Re: html-el:select and tag files

2006-01-23 Thread Rahul Akolkar
On 1/23/06, Clint Popetz [EMAIL PROTECTED] wrote: On Mon, Jan 23, 2006 at 12:36:02PM -0700, Wendy Smoak wrote: On 1/23/06, Clint Popetz [EMAIL PROTECTED] wrote: This may be more of a jsp 2.0 question than a html-el tag library question, but here goes. If you're using JSP

Re: comunicate different struts

2006-01-23 Thread Marcelo Morales
Hola On Jan 23, 2006, at 11:50 AM, Alberto Pozos wrote:. My problem is this: I have different war files. Each war is a Struts based project with his web.xml, struts-config.xml,. I would like to know if it's possible to communicate those different war files. In other words, could I use

Re: html-el:select and tag files

2006-01-23 Thread Michael Jouravlev
On 1/23/06, Clint Popetz [EMAIL PROTECTED] wrote: On Mon, Jan 23, 2006 at 12:36:02PM -0700, Wendy Smoak wrote: On 1/23/06, Clint Popetz [EMAIL PROTECTED] wrote: This may be more of a jsp 2.0 question than a html-el tag library question, but here goes. If you're using JSP

RE: Forcing URL Rewriting over Cookies in an existing application.

2006-01-23 Thread David G. Friedman
What do you mean by do it the other way around ? URL Rewriting is in the servlet spec 2.2 and beyond, hence the ability in Java to determine if the JSessionId was in a Cookie, URL, or both, but I don't know if there is a standard web.xml syntax. I have read that context.xml files are common on

Re: Tags for Pagination

2006-01-23 Thread Gary VanMatre
From: Rick Reumann [EMAIL PROTECTED] On 1/23/06, Srini Pillai wrote: We have a situation where we require to paginate our result list (which is quite huge, around 1000+ records). We found few tags like DisplayTags from sourceforge.net but the current version does not support batch

Re: html-el:select and tag files

2006-01-23 Thread Rahul Akolkar
On 1/23/06, Michael Jouravlev [EMAIL PROTECTED] wrote: snip/ You don't need to configure it (if you don't want to turn EL off). EL is simply what JSP 2.0 container does. EL and JSTL are part of JSP 2.0 spec. snap/ JSTL is not part of JSP 2.0. They're separate JSRs (52 and 152 respectively).

Re: Tags for Pagination

2006-01-23 Thread Srini Pillai
Gary, We were thinking of executing an initial query to get the total count for the criteria (using count(*)) and then page it using the offset and range that would be passed as part of the query string when clicked on the page numbers. Also we are using hibernate, which has the facility to

Re: [JSF] Client state

2006-01-23 Thread Frank W. Zammetti
On 1/23/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: Yes, that's correct... with every document loaded into the browser, anything that existed before is wiped out. I'm not aware of any way around that (and it sure sounds like a security problem if there was). A hidden frame is the

Re: Tags for Pagination

2006-01-23 Thread Adam Hardy
Gary VanMatre on 23/01/06 20:11, wrote: We have a situation where we require to paginate our result list (which is quite huge, around 1000+ records). We found few tags like DisplayTags from sourceforge.net but the current version does not support batch lists (i.e. retrieving the list in

Re: Tags for Pagination

2006-01-23 Thread Ryan Wynn
On 1/23/06, Srini Pillai [EMAIL PROTECTED] wrote: Gary, We were thinking of executing an initial query to get the total count for the criteria (using count(*)) and then page it using the offset and range that would be passed as part of the query string when clicked on the page numbers. Also

tabs struts tutorial

2006-01-23 Thread Garner, Shawn
Is there a way to do page tabs in struts? I seem to recall somebody saying there was. Also does anyone know of a good struts tutorial/refresher? I'm starting up a project with a person who hasn't worked with struts for a few years. Shawn

Re: Tags for Pagination

2006-01-23 Thread Srini Pillai
Adam, Did you use your own custom tag to display the results or did u extend any tags available in the web ? - Srini = I implemented pagination with batched retrieval using Hibernate, which takes a couple of parameters on its fetch methods, maxCount and firstRecord. It's fairly

Re: Tags for Pagination

2006-01-23 Thread Srini Pillai
Thanks, it was quite helpful... I am looking for more of a component (tag) that could plugin nicely without much customization...but looks like we have to code our own tag... Thanks anyway :) - Srini [EMAIL PROTECTED] 1/23/2006 3:31:52 PM On 1/23/06, Srini Pillai [EMAIL PROTECTED] wrote:

[Struts EL JSTL]

2006-01-23 Thread Garner, Shawn
I'm not sure what exactly is Struts EL and how it compares to the JSTL tags. I've used JSTL 1.0 tags and see how there is overlap between some of the Struts logic/bean tags but I fail to see what exactly Struts EL is. I've read http://struts.apache.org/struts-el/index.html

Re: struts and JSTL

2006-01-23 Thread fea jabi
Thank you for your response. I have set the value in the formbean. hence, tried this instead td fmt:formatNumber value=${Form1.amount} type=currency/ /td But only half of JSP is getting displayed. Not sure why? any idea why this happening? When tried to debug I see an EL exception being

Re: What JDK version are you using?

2006-01-23 Thread Laurie Harper
Niall Pemberton wrote: - [ ] JDK 1.2 [ ] JDK 1.3 [X] JDK 1.4 [X] JDK 1.5 (or JDK 5) - And yes, using Validator. L. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Tomcat 4.1 vs DynaAddressForm

2006-01-23 Thread Laurie Harper
Deepak wrote: Hi Guys, Am getting an exception in tomcat console when try to install DynaActionForm using below nodes in struts-config.xml : form-bean name=DynaAddressForm type=org.apache.struts.action.DynaActionForm form-property name=name type=java.lang.String/

Shale: not calling prerender or preprocess, and Navigation issue

2006-01-23 Thread Jason Vincent
Hey there, I've got some unexpected navigation stuff going on, that I was hoping someone can help explain. Here is my use-case: 1) Home page is requested. 2) user isn't logged in, so redirect to login url. 3) after login, navigate to home. In my logs, I'm seeing this behavior, which is wierd...

Re: returning a non-html file as response

2006-01-23 Thread Laurie Harper
[EMAIL PROTECTED] wrote: I need to return a differnt kind of resposne type. Its an excel file if your curious. I think I understand how to do this with a plain servlet, but I am trying to fit it into the structure of the struts architecture. Can someone explain to me how to do this? In

Struts Please Wait processor and dispatch actions

2006-01-23 Thread Randy Shepherd
http://wiki.apache.org/struts/StrutsPleaseWait I implemented this a while back on an order processing page using a plain old Action. I would like to now use it with a dispatch action, however there are struts config problems. Specifically, the parameter attribute that is used to trigger

RE: A couple of simple questions

2006-01-23 Thread David Thielen
The servlet that I have created and am accessing via struts. (So it might be more correct to say when my struts app is first called via the struts servlet.) Thanks - dave David Thielen www.windwardreports.com 303-499-2544 -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED]

Re: Tags for Pagination

2006-01-23 Thread Rick Reumann
On 1/23/06, Srini Pillai [EMAIL PROTECTED] wrote: ...but looks like we have to code our own tag... Thanks anyway :) At least for the display of pages and the whole next/last stuff, make this an open source tag:) I just haven't gotten around to making one myself. It should take something like:

Re: struts and JSTL

2006-01-23 Thread Rahul Akolkar
On 1/23/06, fea jabi [EMAIL PROTECTED] wrote: Thank you for your response. I have set the value in the formbean. hence, tried this instead td fmt:formatNumber value=${Form1.amount} type=currency/ /td snip/ ... value=${Form1.map.amount} ... -Rahul But only half of JSP is getting

Re: Tags for Pagination

2006-01-23 Thread Srini Pillai
Thanks anyway... [EMAIL PROTECTED] 1/23/2006 4:39:49 PM Srini Pillai on 23/01/06 20:45, wrote: Did you use your own custom tag to display the results or did u extend any tags available in the web ? = I implemented pagination with batched retrieval using Hibernate, which

Re: Validation Security Hole?

2006-01-23 Thread Laurie Harper
Oops, noted... Paul Benedict wrote: Laurie, one thing to correct: Issue: addition of a 'org.apache.struts.action.CANCEL' parameter to any request will cause validation to be skipped, but the rest of the request processing / action invocation cycle to proceed normally Should read: Issue:

Re: struts and JSTL

2006-01-23 Thread Laurie Harper
Since you're using a DynaValidatorForm you need to specify the property slightly differently: fmt:formatNumber value=${Form1.map.amount} type=currency/ L. fea jabi wrote: Thank you for your response. I have set the value in the formbean. hence, tried this instead td fmt:formatNumber

Re: validating a single textbox for two mask values

2006-01-23 Thread Laurie Harper
rama chandrula wrote: Hi, I have a text box in which I can either enter a E-mail address or the Phone number. I want to use Struts-Validator for validating the format of both the email and phone number. How can I specify the values of both the masks for the same text box. In the snippet

RE: A couple of simple questions

2006-01-23 Thread David G. Friedman
I bet you wish more web servers were like WebLogic which have provisions for. allows Servlets to be used for welcome pages. If interested, the link is: http://e-docs.bea.com/wls/docs81/webapp/components.html#109211 I remember trying this on Tomcat 5.X after reading that note but I really don't

Re: [Struts EL JSTL]

2006-01-23 Thread Laurie Harper
Garner, Shawn wrote: I'm not sure what exactly is Struts EL and how it compares to the JSTL tags. I've used JSTL 1.0 tags and see how there is overlap between some of the Struts logic/bean tags but I fail to see what exactly Struts EL is. I've read http://struts.apache.org/struts-el/index.html

RE: A couple of simple questions

2006-01-23 Thread David Thielen
2) That's what I thought too. What is weird is if my main page in a html file and I click refresh, it does not change the pages in each frameset (which is what I want). But if that main page was a jsp page, then it set the frameset pages to what the main page set them too, as opposed to what they

Re: returning a non-html file as response

2006-01-23 Thread Frank W. Zammetti
Here comes my unhelpful response for the day... [EMAIL PROTECTED] wrote: I've got the thing to work returning null as my forward. That leaves a couple of questions though. 1) Does struts write anything to the response before calling you action class? I don't think so. 2) Does calling

Re: Tags for Pagination

2006-01-23 Thread Srini Pillai
Rick, Thanks for the guidance...It is a good start for me... - Srini [EMAIL PROTECTED] 1/23/2006 4:37:53 PM On 1/23/06, Srini Pillai [EMAIL PROTECTED] wrote: ...but looks like we have to code our own tag... Thanks anyway :) At least for the display of pages and the whole next/last stuff,

RE: [Struts EL JSTL]

2006-01-23 Thread Karr, David
To answer this a little differently than Laurie did, the Struts-EL tag library is a collection of tags that all inherit the behavior of the Struts tags they replace, except the tag attribute values are passed through the JSTL expression evaluation engine implemented by the Jakarta standard taglib

Re: Shale: not calling prerender or preprocess, and Navigation issue

2006-01-23 Thread Craig McClanahan
On 1/23/06, Jason Vincent [EMAIL PROTECTED] wrote: Thanks for the response... The url in the browser is changing to /login/login.jsf... I call the redirect, from the the BaseViewController.prerender method... externalContext.redirect(toUrl); where in my case the toUrl is

Re: tabs struts tutorial

2006-01-23 Thread Michael Jouravlev
On 1/23/06, Garner, Shawn [EMAIL PROTECTED] wrote: Is there a way to do page tabs in struts? I seem to recall somebody saying there was. There are common-controls.com, but they are not free, and if you ask me they have their limitations - they are not just page drop-ins. There is

Re: returning a non-html file as response

2006-01-23 Thread Michael Jouravlev
On 1/23/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: Here comes my unhelpful response for the day... [EMAIL PROTECTED] wrote: I've got the thing to work returning null as my forward. That leaves a couple of questions though. 1) Does struts write anything to the response before

Re: returning a non-html file as response

2006-01-23 Thread Frank W. Zammetti
Craig McClanahan wrote: Let's try to be a bit more helpful here :-). No object :) The only thing Struts itself might do is try to set the no-cache headers if you have them configured. It does not, by itself, ever write to the response stream or response print writer. That's the

Re: returning a non-html file as response

2006-01-23 Thread Frank W. Zammetti
Frank W. Zammetti wrote: Craig McClanahan wrote: Let's try to be a bit more helpful here :-). No object :) Err, no OBJECTION! D'oh :) Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [OT] Anyone else mess around with Wicket?

2006-01-23 Thread Michael Jouravlev
On 1/21/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 1/20/06, Michael Jouravlev [EMAIL PROTECTED] wrote: If all that JSF rendereres produce are divs and spans with proper ids, then dressing up a page would be a weekend fun a-la Zen Garden. Anyone from JSF team hears me? ;-

tiles is this url still valid

2006-01-23 Thread Werner Punz
Hi group As it seems the tiles url refers to http://struts.apache.org/tags-tiles on the tiles website. But it seems to me the url itself is not reachable anymore. Is this url still valid? - To unsubscribe, e-mail: [EMAIL

Re: returning a non-html file as response

2006-01-23 Thread Craig McClanahan
On 1/23/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: Craig McClanahan wrote: [snip] Calling flush() doesn't necessarily cause the *entire* response to be sent, because you might still be creating more output. But it *does* cause the HTTP headers, and any output content you've written

Re: returning a non-html file as response

2006-01-23 Thread Frank W. Zammetti
A compression filter does exactly that, that's the reason it occurred to me :) I remember facing *precisely* that problem a few months back with the JWP sample app. I know I solved it, but I guess I had forgotten the root cause :) Frank Craig McClanahan wrote: On 1/23/06, Frank W.

Re: returning a non-html file as response

2006-01-23 Thread Max Cooper
On Mon, 2006-01-23 at 16:27 -0800, Craig McClanahan wrote: On 1/23/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: Craig McClanahan wrote: [snip] Calling flush() doesn't necessarily cause the *entire* response to be sent, because you might still be creating more output. But it *does*

jstl tutorial/reference?

2006-01-23 Thread Deep Chand
Hi, I'm developing a struts based application and would like to use jstl tags instead of custom tags specified with struts tag lib. Is there a good JSTL tutorial/reference available which gives good example usage also of how to use the jstl tags. Thanks Deep

Re: jstl tutorial/reference?

2006-01-23 Thread Rahul Akolkar
On 1/23/06, Deep Chand [EMAIL PROTECTED] wrote: Hi, I'm developing a struts based application and would like to use jstl tags instead of custom tags specified with struts tag lib. Is there a good JSTL tutorial/reference available which gives good example usage also of how to use the jstl

  1   2   >