Re: tiles related issue - Urgent

2004-10-03 Thread brenmcguire
The problem is that a Tiles definition is not a valid URL but an identifier that only Tiles can understand. The simplest thing you can do is making a simple JSP page with this code: (obviously include the "struts-tiles.tld" tag library) and include this REAL page (with a valid URL I mean) in you

Re: linefeeds in html:textarea causes blank screen when submitted

2004-10-03 Thread Shinobu Kawai
Hi Ted, > I have this defined within a : > > > > Everything works fine if I type in text without any linefeeds. But, if I use > linefeeds inside > the textarea, when I submit the form I get a blank page. > > I'm using Tomcat 5.0, struts 1.2.4 Works on mine. > It does not even seem to su

Re: 1000 separator

2004-10-03 Thread Shinobu Kawai
Hi Shailender, > Does anybody knows how to create a 1000 separator for numbers using > struts tag library. > This should be similar to the one which can be done in Microsoft Word. Do you mean something like the "format" attribute? http://struts.apache.org/userGuide/struts-bean.html#write If

1000 separator

2004-10-03 Thread Shailender Jain
Hello, Does anybody knows how to create a 1000 separator for numbers using struts tag library. This should be similar to the one which can be done in Microsoft Word. Thanks Shailender Jain - To unsubscribe, e-mail: [EMAIL PROT

linefeeds in html:textarea causes blank screen when submitted

2004-10-03 Thread Ted Anagnost
I have this defined within a : Everything works fine if I type in text without any linefeeds. But, if I use linefeeds inside the textarea, when I submit the form I get a blank page. I'm using Tomcat 5.0, struts 1.2.4 It does not even seem to submit the page to the server. I get no trace

RE: Struts 1.1 iterate woes

2004-10-03 Thread Karr, David
If "${index}" is not evaluating, then this is not a Struts problem. It's an issue with the container you're using and your configuration of it. For instance, you appear to say you're using Struts-EL. Do you have the correct taglib directives to use Struts-EL as opposed to Struts? What container

Re: Why Struts use "forward" instead of "redirect" to "jump" from one JSP to another?

2004-10-03 Thread Richard Yee
Chris, There are several reasons to use a forward instead of a redirect. 1) Forwards are faster b/c they do not result in another request being generated from the browser. 2) Forwards allow information to be passed in the request object rather than as strings in the query parameters on a URL or i

RE: timeouts

2004-10-03 Thread David G. Friedman
Dennis, What variable are you setting in the "server.xml"? BUT, I suppose the real question is: What are you doing (in general) that is taking so long to prepare or output? Is your output so slow that the browser is waiting forever for bytes and giving up? Is your issue prep time before handing

RE: Java edit method - design pattern? (O/T)

2004-10-03 Thread David G. Friedman
John, Could you pass an ActionMessages object as the second parameter to your method? That way, you still return your boolean but you could 'push' an ActioMessage on the ActionMessages 'stack' for display in an error JSP. If you are worried about keeping your business methods separate from Strut

Re: httpsURLConnection

2004-10-03 Thread Richard Yee
Dennis, Are you closing the connection in a finally clause? If you don't, you are going to leak connections when an exception gets thrown. -Richard At 04:51 PM 10/3/2004, you wrote: I open an httpsURLConnection in my struts application. And I am getting orphaned sessions. I think this may be due

Re: Struts 1.1 iterate woes

2004-10-03 Thread Victor Grazi
Thanks Addy, but I am not clear on your syntax. What is your bVO.lines? Remember my list is in my form. Also what is bLine? Not sure where my variables correspond Regards Victor .. Original Message ... On Sun, 3 Oct 2004 15:55:20 -0400 Addy Kapur <[EMAIL PROTECTED]> wrote: >I have used t

httpsURLConnection

2004-10-03 Thread Lucero, Dennis M
I open an httpsURLConnection in my struts application. And I am getting orphaned sessions. I think this may be due to dead (or orphaned) connections after the user has logged off. Has anybody experienced this? I am he, as you are he, as you are me, and we are all together.

RE: timeouts

2004-10-03 Thread Lucero, Dennis M
The max time that a browser will wait to the request to return? -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 6:43 PM To: Struts Users Mailing List Subject: Re: timeouts What timeout? Database timeouts? The max time that a browser

Re: Struts 1.1 iterate woes

2004-10-03 Thread Hubert Rabago
I have to admit I always have trouble dealing with the iterate tag. I recently rediscovered how easy it is to do these iterations using the nested tags. Have you tried them? Maybe something like this would work for you: Sen

Java edit method - design pattern? (O/T)

2004-10-03 Thread jthompson
I'm working on an application API to be deployed with struts, and am interested in how other developers are dealing with 'editing' methods, ie methods that answer a question with a true/false value, but if false is returned, you also want to know why. for example, a credit card application ma

Re: Problem with PostgreSQL data source

2004-10-03 Thread Vic Cekvenich
// driverName="org.postgresql.Driver" connectionURL="jdbc:postgresql://localhost:5432/bp?autoReconnect=true" connectionName="bpuser" connectionPassword="changeme" userTable ="usr" userNameCol="real_email_id" userCredCol="passwrd"

Re: Struts 1.1 iterate woes

2004-10-03 Thread Addy Kapur
I have used the following syntax and it works. "/> "/> "/> On Sun, 3 Oct 2004 14:16:19 -0400, Victor Grazi <[EMAIL PROTECTED]> wrote: > We are trying to use in a JSP to access items in a list > stored in the Form Bean by the Action cla

Struts 1.1 iterate woes

2004-10-03 Thread Victor Grazi
We are trying to use in a JSP to access items in a list stored in the Form Bean by the Action class but we can't seem to get the syntax right. I am getting an error meessage from PropertyUtils that displays the index as '${index}', which indicates that that struts el expression is not resolving

RE: jsf html tags usage doubt

2004-10-03 Thread David G. Friedman
Kumar, You should google first: +output_Text +outputText This links has a reasonable explanation in the 2nd paragraph: http://www.junlu.com/msg/62580.html Regards, David -Original Message- From: babloosony [mailto:[EMAIL PROTECTED] Sent: Sunday, October 03, 2004 9:12 AM To: [EMAIL PROTE

jsf html tags usage doubt

2004-10-03 Thread babloosony
Hi All, I see some jsf applications using and some other jsf applications using html tags. What is the difference between the two. Is the former from older jsf specifications ? Thanks & Regards, Kumar. - To unsubscribe, e-mail

Re: html error handling

2004-10-03 Thread Shahin Hadjikuliev
Thank you , Brian. It was my mistake...:) On Thu, 30 Sep 2004 08:27:10 -0700, Barnett, Brian W. <[EMAIL PROTECTED]> wrote: > Can you show us your jsp code? > > > > -Original Message- > From: Shahin Hadjikuliev [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 30, 2004 6:32 AM >