Re: mapping.setInput()

2004-07-27 Thread Craig McClanahan
On Wed, 28 Jul 2004 10:38:17 +0530, Raghuram Kanadam <[EMAIL PROTECTED]> wrote: > Very true. We agree Craig, but why should the moduleConfig be frozen, there > could have been a provision made for adding an action mapping dynamically, that > could determine its config at runtime. A situat

Re: Re: Display Arabic Data in Database in JSP

2004-07-27 Thread Craig McClanahan
On 28 Jul 2004 04:15:07 -, Prakasan OK <[EMAIL PROTECTED]> wrote: > Hi Ron, > > Once again thanks a lot for ur prompt reply. > can u tell me what is the encoding i should use to display the content in arabic and > english in the same jsp page? It would be really helpful if u can give me a

Re: FW: error in new bea

2004-07-27 Thread puneet . a
I guess u just have to redeploy after rebuild...that should fix this problem...!! Puneet Agarwal Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Velmurugan M <[EMAIL PROTECTED]> 07/28/2004 11:25 AM Please respond to "Struts Users Mailing List" <[EMAIL PRO

FW: error in new bea

2004-07-27 Thread Velmurugan M
In the new weblogic server 81. SP3., I am getting the following error after each build. (Wlappc). So everytime after doing a build, I need to restart of the server to avoid this problem. It looks related to Classcast exception of RequestProcessor. Has anyone faced the below problem and is there an

RE: mapping.setInput()

2004-07-27 Thread Raghuram Kanadam
Very true. We agree Craig, but why should the moduleConfig be frozen, there could have been a provision made for adding an action mapping dynamically, that could determine its config at runtime. A situation follows: Maybe what I'm talking is really bad design but please enlighten

RE: Struts handling for a spreadsheet look-and-feel form

2004-07-27 Thread Raghuram Kanadam
I hope not richard ts for you to the code the form, you could return the string you wish to display there. With this model you would need a bean (not necessarily an action for) for each row. There are other ways though, for example you could get all the strings into a single array and use the pr

RE: Hibernate

2004-07-27 Thread David Friedman
Shailender, You wrote your tables have over 10 Million records but the big question is, how many records is your query ACTUALLY RETURNing to you? I ask this because some types of Hibernate Queries iterate through records while other types load all records (that the database returned as you query

RE: Back navigation using application back buttons

2004-07-27 Thread puneet . a
I beleive this is really a desired feature, and I have a piece of code for doing all this. Which extends DispatchAction and RequestProcessor. We needed this for 1.        BreadCrumbs 2.        Wizard type of Screen 3.        A situation when particular screen was being invoked from multiple place

Re: Re: Display Arabic Data in Database in JSP

2004-07-27 Thread Prakasan OK
Hi Ron, Once again thanks a lot for ur prompt reply.   can u tell me what is the encoding i should use to display the content in arabic and english in the same jsp page? It would be really helpful if u can give me a sample code snippet. Thanks, Prakasan On Tue, 27 Jul 2004 ron1 wrote : >Prakas

RE: Error while deploying

2004-07-27 Thread puneet . a
check the web.xml entry       /tags/struts-html     /WEB-INF/struts-html.tld   Puneet Agarwal Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "LINGALA, AMARESHWAR G (SBCSI)" <[

Re: JSP / ActionForm / Action design quesetion

2004-07-27 Thread puneet . a
I  agree with glenn, my 2 c, better use swing based client for your application. Puneet Agarwal Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com [EMAIL PROTECTED] 07/27/2004 04:47 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]>

Re: Asunto: How to get the ActionForward for the _previous_ page

2004-07-27 Thread puneet . a
We also had the similar need to go back in stack, we used a simple logic of maintaining the stack ourselves for path of actionforwards when we needed to go back, we retrived the last item from the stack and created an actionforward object. This was veryuseful for us. Puneet Agarwal Tata Consulta

RE: [OT] Cvs windows

2004-07-27 Thread Matthew Van Horn
I'm using Tortoise on WinXP with my repository on Linux. No problems now, but I remember having to do a little tinkering to get the SSH access working right. > -Original Message- > From: Mark Lowe [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28, 2004 1:54 AM > To: Struts Users Maili

RE: [OT] Cvs windows

2004-07-27 Thread David Friedman
Use Eclipse's CVS integration and do your java/jsp/struts in that under CVS control! Regards David -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 12:54 PM To: Struts Users Mailing List Subject: Re: [OT] Cvs windows Tourtoise seems to dig cvsnt

Re: not quite struts: handling Images

2004-07-27 Thread Koon Yue Lam
Hi all ! I have similar problem to ron1 and these mails really help ! However if I want to extract the exif metadata of JPEG, can it be done in Java without third party component? Regards - To unsubscribe, e-mail: [EMAIL PROTECTE

RE: Back navigation using application back buttons

2004-07-27 Thread Martin . Rademacher
Hi there, Another way to implement this is to *use* the struts config file. In my case I have a multi page form over four pages. All submissions are handled by the same Action class. However, the action is different for each form. For example: Page1: ... Page2: ... Both ProcessPage

OT: Re: ibatis and jndi pooling

2004-07-27 Thread Vic Cekvenich
josh wrote: I just get a reference to the datasource and close it in the destroy method of the plugin. Let me ask why do you get a reference to datasource in SqlMaps? You can do ANYTHING with just: List rows =_sqlMap.queryForList("mapNam", parms); (also... the iBatis forum is VERY go

RE: Popups with Struts.

2004-07-27 Thread Frank Zammetti
Perhaps I'm not getting it, but... Why couldn't you just add target="_blank" to your form? Then, it would be submitted to your Struts Action, and the result (a JSP rendering I presume) would go to the new window. If you need a little more control, another option is to make your page a frameset

Re: ibatis and jndi pooling

2004-07-27 Thread josh
vic, thanks for the reply. let me clarify my problem. When I create a connection to the db using connection pooling (as illustrated in my first email) I could do something like the following... Connection conn = ds.getConnection(); ... use this connection to access the database ... conn.close

Re: Using to submit a form...

2004-07-27 Thread Andrew Close
Wendy, Thanks for the reply. your solution is working for me. i guess hidden fields work out better than attempting to use the parameters in the actionmapping. thanks again. andy On Tue, 27 Jul 2004 10:18:24 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "Andrew Close" <[EMAIL PROTECTED

Re: Validation error using 1.2.1

2004-07-27 Thread Bill Siggelkow
I get my problem solved as well by using the nightly build and ensuring that I specified ActionMessages in the methodParams in the validator-rules.xml. Thanks Niall -- as we say in the States -- you da man! Niall Pemberton wrote: The method signatures in FieldChecks changed from using ActionErro

Re: Validation error using 1.2.1

2004-07-27 Thread Nathan Maves
New it had to be something simple like that! Everything works now thanks! On Jul 27, 2004, at 1:34 PM, Niall Pemberton wrote: The method signatures in FieldChecks changed from using ActionErrors to ActionMessages. Your error seems to indicate that its trying to use the old method signature with A

Re: ibatis and jndi pooling

2004-07-27 Thread Vic Cekvenich
josh wrote: I am trying to figure out how to use sqlmaps and struts. Before sqlMaps I would create a connection to the database using a plugin. In my init() I did something like this this.ds = (DataSource) context.lookup("java:comp/env/" + lookupString); This gave me a datasource object that I co

Re: Validation error using 1.2.1

2004-07-27 Thread Niall Pemberton
The method signatures in FieldChecks changed from using ActionErrors to ActionMessages. Your error seems to indicate that its trying to use the old method signature with ActionErrors. Have you updated the version of validation-rules.xml you are using? Also there has been a change to the dtd decla

Re: Validation error using 1.2.1

2004-07-27 Thread Bill Siggelkow
I have encountered (but not yet solved) a similar problem. I am trying to use a custom validation rule (Matt Raible's TwoFields check) and am getting the same error :( I think its jar related -- let me know if you are able to resolve the issue -- I will do the same. Nathan Maves wrote: I have

Re: 1.21

2004-07-27 Thread Craig McClanahan
On Tue, 27 Jul 2004 11:58:34 -0700, Betty Koon <[EMAIL PROTECTED]> wrote: > Thanks Craig. > Is there an offical beta version posted on the site. Or I can just grab the > nightly build for 1.2.1. Thanks again. > The official 1.2.1 build is available at: http://cvs.apache.org/dist/struts/v1.2.1

RE: 1.21

2004-07-27 Thread Betty Koon
Thanks Craig. Is there an offical beta version posted on the site. Or I can just grab the nightly build for 1.2.1. Thanks again. -Betty -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 11:52 AM To: Struts Users Mailing List Subject: Re:

Re: 1.21

2004-07-27 Thread Craig McClanahan
On Tue, 27 Jul 2004 11:46:57 -0700, Betty Koon <[EMAIL PROTECTED]> wrote: > Hi, > > I have a quick question, is this 1.2.1 version a released build or this is > still a nighlty build? > Thanks. > 1.2.1 was voted to be of "beta" quality. Some known bugs have been fixed, and there's likely to be

ibatis and jndi pooling

2004-07-27 Thread josh
I am trying to figure out how to use sqlmaps and struts. Before sqlMaps I would create a connection to the database using a plugin. In my init() I did something like this this.ds = (DataSource) context.lookup("java:comp/env/" + lookupString); This gave me a datasource object that I could use fo

RE: 1.21

2004-07-27 Thread Betty Koon
Hi, I have a quick question, is this 1.2.1 version a released build or this is still a nighlty build? Thanks. -Betty -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic Cekvenich Sent: Friday, July 23, 2004 3:40 PM To: [EMAIL PROTECTED] Subject: 1.21 Is anyone usin

Validation error using 1.2.1

2004-07-27 Thread Nathan Maves
I have migtrated everyhting to 1.2.1 and it is working great! Problem is that none of my validation that worked yesterday is now busted! ERROR 07-27 11:03:31 org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Objec t, org.apache.commons.validator.ValidatorAction, org.apache

submitting a file exception

2004-07-27 Thread ron piterman
Hi - I use the html:file to submit a file and get an exception which I have no idea whereit comes from... I tried and it dissapears when I remove the html:file element from the jsp... I am using tomcat 5, struts 1.1 and tiles, it might mutter... Did anyone ever had such a problem and has a solu

RE: Back navigation using application back buttons

2004-07-27 Thread Meier, Niclas
Hello, You can try two hidden fields fort he 'currentPage' and 'lastPage'. When you submit any form with the 'next'-Button you can evalute the request determine the next page in your process. If you proceed with the back button, you can go back the the last page: Example 1 Page 1 (c:1, l:undef

RE: Struts handling for a spreadsheet look-and-feel form

2004-07-27 Thread Richard Mixon (qwest)
Raghuram, Will "getRow (i).getCol (j)" still return a separate ActionForm for each cell? I was trying to avoid the overhead of creating 600 (e.g. 20 rows by 30 columns) ActionForms each request. I know they are lightweight object, but it still seemed excessive. Thank you - Richard > -Origina

RE: redirecting XML/XSLT to JSP or Vice Versa

2004-07-27 Thread Johan Wasserman - BCX - Infrastructure Services
Problem solved (I hope, I'll test tonight). Interesting code sample below, courtesy of IBM. ...some code