JDBC Driver

2005-01-17 Thread Neil Meyer
Hi All, I need a SQL 2000 JDBC driver. Which would you recommend or where can I download a decent one? (Not Microsoft's driver) Regards Neil

Pls help me - want to show HTML o/p

2005-01-17 Thread Manisha Sathe
I want to create one report with lots of different tables - data also coming from many different sources also have few pages. I took the data and created the report inside Action Handler class and put inside the StringBuffer Array. Each array element represents one page. Now when i am pu

Help with file extension

2005-01-17 Thread Kalluru Uma. Maheswar
Hi, I have changed my struts file extension from .do to .abc in web.xml file and it worked fine in my Windows tomcat, but when I uploaded the file to linux server that is using apache web server with tomcat, the file extension is not recognized. I get 404 file not found. Any way I can resolve this

UML and Struts

2005-01-17 Thread Stuart
Hi, I am creating some UML (sequence diagrams) for an application in which we will use Struts. Does anyone have any suggestions on the best way to draw the UML such that its clear that Struts (or at least MVC) is being used but does not end being UML just about Struts? I guess what I am askin

UML and Struts

2005-01-17 Thread Stuart
Hi, I am creating some UML (sequence diagrams) for an application in which we will use Struts. Does anyone have any suggestions on the best way to draw the UML such that its clear that Struts (or at least MVC) is being used but does not end being UML just about Struts? I guess what I am askin

Re: multiple message resources and validator

2005-01-17 Thread Hubert Rabago
Well, it's somewhere between what Niall described and what Nathan is looking for. FormDef's primary purpose (and the biggest itch I wanted it to scratch) was defining form beans based on existing POJOs. Basically, I got tired creating string-ified versions of my business objects. The form beans

Re: Stuts forwarding does not work

2005-01-17 Thread Eddie Bush
HTTP 500 is "Internal Server Error". Generally that indicates an exception ... of which you seem to have one. HTTP 200 is "OK". That means the page got served fine. Perhaps the page is expecting some value to be there, and its absence is causing the error? ... sounds more than plausable, based

RE: Stuts forwarding does not work

2005-01-17 Thread David G. Friedman
Alex, I'd like to see the line 85 of the JSP as was listed in the stack dump. Can you post that to the list? Regards, David -Original Message- From: Alex Kravets [mailto:[EMAIL PROTECTED] Sent: Monday, January 17, 2005 9:27 AM To: Struts Users Mailing List Subject: Re: Stuts forwarding

Re: multiple message resources and validator

2005-01-17 Thread Niall Pemberton
I don't - Hubert Rabago has an extension (called FormDef) which combines the form definition part of Struts config with the validation config - it also does some neat stuff on conversion. You might like to have a look at that: https://formdef.dev.java.net/ I don't think its the nirvana you're loo

Re: (newbie)No getter method for property total

2005-01-17 Thread jecrotea
you should take a look to the bean:size tag. I think it's the answer of your question. - Jean-Francois Croteau Services Informatiques IBM Canada Ltée (Bromont)

Re: problem submiting List-Backed Indexed ActionForm

2005-01-17 Thread Oleg
Thank you everyone for your help. This page http://wiki.apache.org/struts/StrutsCatalogLazyList explained the process very clearly, perfect! Thank you, it works now. Oleg On Sun, 16 Jan 2005 10:03:32 -0800, Richard Yee <[EMAIL PROTECTED]> wrote: > Why don't you send the code in your reset() meth

Re: multiple message resources and validator

2005-01-17 Thread Nathan Coast
great stuff, thanks Niall, seeing as you're obviously fairly involved with struts and validator, you might be able to answer this for me. I've been thinking that much of the struts related artifacts could be generated from a number of models. I have dug around a fair bit but not found anyt

(newbie)No getter method for property total

2005-01-17 Thread Sudheer
Hi, I have a bean called cart and it contains a vector. Which I am accessing using logic:iterate. This bean also contains a property called total, which when I try to access using gives 'No getter method for property total' error. But the same thing is working okay when I placed it befo

Re: ActionForm and Custom Tag

2005-01-17 Thread Frank W. Zammetti
I need to understand a little bit more what you have now... When you have your tag in the JSP, it of course renders HTML on the browser (or are you rendering a link to an ActiveX control or something?). Where you say: > Those pure HTML controls work very well with this approach. But how can my

Re: ActionForm and Custom Tag

2005-01-17 Thread Peter Wu
Frank W. Zammetti omnytex.com> writes: > What you describe is more or less typical... Some points on it: > > (1) I don't know what your control looks like or how it is structured, > but I'd ask if you really need the hidden inputs? If it's a fully > graphical calendar (as mine typically are),

Re: i18n & Tiles

2005-01-17 Thread Jason Lea
Dakota Jack wrote: How does this solve the i18n problem? On Mon, 17 Jan 2005 03:07:27 -0600, Kishore Senji <[EMAIL PROTECTED]> wrote: On Mon, 17 Jan 2005 17:54:55 +0900, Sylvain ~ <[EMAIL PROTECTED]> wrote: By the way, I don"t want to have ONE internationilized

Re: ActionForm and Custom Tag

2005-01-17 Thread Frank W. Zammetti
What you describe is more or less typical... Some points on it: (1) I don't know what your control looks like or how it is structured, but I'd ask if you really need the hidden inputs? If it's a fully graphical calendar (as mine typically are), then I can see the need, but if by chance you alre

ActionForm and Custom Tag

2005-01-17 Thread Peter Wu
Hi, I'm new to Struts and have been working on ASP.NET for a while. I'm in the middle of creating my first tag, a Calendar tag, which provides a UI for end users to pick up a date. This control works well in a JSP page. I want the year, month and day selected by an end user to be posted back to

RE: Struts 1.3 Snapshots ?

2005-01-17 Thread Joe Germuska
At 5:22 PM + 1/17/05, Pilgrim, Peter wrote: Should we wait until your commtit code has been marged? ... I am interesting in developing some Struts chain code because I have some requests to build database table report and browsing on-line applications. Small scale web apps, so it is an opportun

RE: Struts 1.3 Snapshots ?

2005-01-17 Thread Pilgrim, Peter
> -Original Message- > From: Craig McClanahan [mailto:[EMAIL PROTECTED] ==== > > > On Mon, 17 Jan 2005 17:22:16 -, Pilgrim, Peter > <[EMAIL PROTECTED]> wrote: > > > When I downloaded the struts-src-20050117.zip file it had > JAR binaries &

Re: Struts 1.3 Snapshots ?

2005-01-17 Thread Craig McClanahan
On Mon, 17 Jan 2005 17:22:16 -, Pilgrim, Peter <[EMAIL PROTECTED]> wrote: > When I downloaded the struts-src-20050117.zip file it had JAR binaries > related to struts-faces and shale. So I am confused. Are these binaries > built against the lastest sources themselves or are

Re: A table as a single form bean property

2005-01-17 Thread Erik Weber
See if this helps: http://www.reumann.net/struts/nested.do I think nested:iterate will be fine instead of c:forEach if it will do what you want. It appears that your form fields can be nested the way you are describing as long as you get the syntax correct in your form field tags (such as html:t

Re: Struts question

2005-01-17 Thread Hubert Rabago
http://struts.apache.org/faqs/database.html#manager http://struts.apache.org/userGuide/configuration.html#data-source_config Hubert On Mon, 17 Jan 2005 17:59:07 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hubert, > > You wrote "The Struts dev team now recommends you use other faciliti

RE: Struts 1.3 Snapshots ?

2005-01-17 Thread Pilgrim, Peter
; > >I actually had a look there earlier, I was looking for classes like > >"**/*(Chain|Command)*.java". Did not see any thing like this pattern. > >I wrongly assumed the javadoc was 1.2 only. > > > >In truth I descended to the "src" folder from the

Re: Two Data Base Connections in struts-config.xml ?

2005-01-17 Thread Pavel Kolesnikov
However, you should better define data source in your environment and look up them via JNDI. Tomcat 4.1 settings are described at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html (pay your attention to Resource and ResourceParams tags). For Tomcat 5 change "4.1" t

Re: Struts question

2005-01-17 Thread Renaud . Tarnec
Hubert, You wrote "The Struts dev team now recommends you use other facilities" If possible, could you please point to more detailed information about what the Struts dev team now recommends? any links? Many thanks in advance rgds, Renaud Hubert Rabago <[EMAIL PROTECTED]> 17/01/2005 16:53

RE: Struts 1.3 Snapshots ?

2005-01-17 Thread Joe Germuska
ttp://struts.apache.org/api/index.html I actually had a look there earlier, I was looking for classes like "**/*(Chain|Command)*.java". Did not see any thing like this pattern. I wrongly assumed the javadoc was 1.2 only. In truth I descended to the "src" folder from the repository trunk. The ``

RE: Struts 1.3 Snapshots ?

2005-01-17 Thread Pilgrim, Peter
/api/index.html > I actually had a look there earlier, I was looking for classes like "**/*(Chain|Command)*.java". Did not see any thing like this pattern. I wrongly assumed the javadoc was 1.2 only. In truth I descended to the "src" folder from the repository trunk. The

Re: Struts 1.3 Snapshots ?

2005-01-17 Thread James Mitchell
he ongoing 1.3 development. I just downloaded the struts-20050117.zip. In order to be useful to developers and to test them is there any JavaDoc API to go with these nightly builds? Otherwise how do you know what you are programming against? -- Peter Pilgrim Operations/IT - Credit Suisse First Bosto

Re: Two Data Base Connections in struts-config.xml ?

2005-01-17 Thread Ashish Kulkarni
Yes it is possible, just have 2 data source definition i guess --- Jay Chandran <[EMAIL PROTECTED]> wrote: > Hi, > > Is it possible to connect to two databases from a > struts application. > ie basically is it possible two add two database > connectivity in > struts-config.xml? > > Regards, >

Re: Struts question

2005-01-17 Thread Hubert Rabago
John, Please send your questions to the Struts user list. The biggest reason is that you'd get a wide audience for your question, with several people possibly helping you, and several people benefitting from the answer being shared, too. It's a community effort, but it's the community that benef

RE: Struts 1.3 Snapshots ?

2005-01-17 Thread Pilgrim, Peter
he usual nightly builds: > > http://cvs.apache.org/builds/jakarta-struts/nightly/ > > are compiled from the trunk of the repository, so they constitute > snapshots of the ongoing 1.3 development. > I just downloaded the struts-20050117.zip. In order to be useful to developers and to test t

Re: A table as a single form bean property

2005-01-17 Thread Olasoji Ajayi
i have not been using JSTL, i have been using struts tags. with this method, will the property be updated by the form on submit, because i dont only want to use it to display the values but also to set the values on the bean - Original Message - From: "Erik Weber" <[EMAIL PROTECTED]> To

Re: problem with formatKey in bean:write

2005-01-17 Thread Niall Pemberton
>From the DecimalFormat JavaDoc (which uses) "The grouping separator is commonly used for thousands, but in some countries it separates ten-thousands. The grouping size is a constant number of digits between the grouping characters, such as 3 for 100,000,000 or 4 for 1,,. If you supp

Re: A table as a single form bean property

2005-01-17 Thread Erik Weber
You can use nested (JSTL) c:forEach tags. The outer one will iterate over the List of Lists. The inner one will iterate over the List of Strings that is the current outer List. Hope that helps, Erik Olasoji Ajayi wrote: i have a form bean which has a rows property of type List, the list elements

A table as a single form bean property

2005-01-17 Thread Olasoji Ajayi
i have a form bean which has a rows property of type List, the list elements are also objects of type List. and these List objects contain strings (so i have a list of lists of strings). i want to display these strings in a form (an entire table will come from just the single property), all i ha

Re: HELP : Logic-Iterator with dynamic value for offset

2005-01-17 Thread Erik Weber
Well I find "name of a JSP bean" to be a bit vague, so I'm not sure, but I think the sentence means that the offset attribute can either be a String literal ("5") or a reference to an object ("${objName}") available to the JSP PageContext (this would be an attribute set in one of the four scopes --

Re: Stuts forwarding does not work

2005-01-17 Thread Alex Kravets
I know where the error is, I viewed java class compiled by the servelet container of the JSP page and the error is at the line that servlet container generated, but I don't know what it means. The error in compiled JSP page: if (_jspx_meth_html_form_0(pageContext)) return; out.write("

RE: struts html:base tag and port 8080

2005-01-17 Thread David G. Friedman
Vilpesh, If you have the apache web server and want to run Tomcat you need a connector module so Apache quietly passes the request off to Tomcat, receives the response back, then gives it back to the client's web browser as if the whole thing were handled by apache on port 80 as normal. The conne

Re: i18n & Tiles

2005-01-17 Thread Dakota Jack
How does this solve the i18n problem? On Mon, 17 Jan 2005 03:07:27 -0600, Kishore Senji <[EMAIL PROTECTED]> wrote: > On Mon, 17 Jan 2005 17:54:55 +0900, Sylvain ~ <[EMAIL PROTECTED]> wrote: > > By the way, I don"t want to have ONE internationilized title for all > > my pages, so I can't do that,

Re: i18n & Tiles

2005-01-17 Thread Dakota Jack
This suggestion does not keep you from having multiple titles. Just change the ApplicationProperties name, e.g. logon.title, etc. On Mon, 17 Jan 2005 17:54:55 +0900, Sylvain ~ <[EMAIL PROTECTED]> wrote: > By the way, I don"t want to have ONE internationilized title for all > my pages, so I can'

Re: struts html:base tag and port 8080

2005-01-17 Thread Vilpesh Mistry
thanks jim but what if i have apache web server and tomcat as u may be knowing both listen on port 80 Are they going to Clash??i think both will listen on same port and so the website won't run thanks for the reply.It was Desperately needed thanks --- Jim Barrows <[EMAIL PROTECTED]> wrote: >

Replacing all action forms with a single LazyValidatorForm

2005-01-17 Thread Antony Joseph
If you are frustrated by the proliferation of action forms in your application, you may want to check out the LazyValidatorForm class in the struts-1.2.6 distribution. It is a wrapper around LazyDynaBean. A LazyDynaBean is similar to a DynaBean but does not require the properties to be configured i

HELP : Logic-Iterator with dynamic value for offset

2005-01-17 Thread sachin
hi all , i need to define an iterator with an offset now i want the offset to come dynamically either through a variable defined in JSP or through the bean itself .. The struts-documentation says that .. "This can be either an integer that directly expresses the desired value, or the name o

Struts/Javascript mapping problem

2005-01-17 Thread Vamsee Kanakala
Hi List, I added a calendar control to my jsp page like so: Select But, in case I use a validator form, and I have some validation errors, it maps the url to ".do" page. On which, clicking on the calendar control doesn't bring up the calendar because it's trying for ".do#" instead of

RE: i18n & Tiles

2005-01-17 Thread Lesaint Sébastien
This is actually the whole solution I use. Forgot to tell about overriding the property in every single tiles def. It's true subclassing tiles def, in this case and much others, really helps. Thanks Senji for completing the answer. Regards, Seb' -Message d'origine- De : Kishore Senji [ma

Re: Divide config files

2005-01-17 Thread Niall Pemberton
You can have multiple struts-config files - just specify a comma separated list in the web.xml See section 5.3.1 Module Configuratiin Files in the user guide: http://struts.apache.org/userGuide/configuration.html#module_config-files http://struts.apache.org/userGuide/configuration.html#dd_config_

Re: multiple message resources and validator

2005-01-17 Thread Niall Pemberton
Its on my todo list, but unfortunately I haven't had much time recently. The first part of resolving this was some minor changes to Commons Validator - those I've done and released in Validator version 1.1.4 just before Christmas. The second part is to then modify Struts - that bit I'm hoping to g

problem with formatKey in bean:write

2005-01-17 Thread Muhammad Momin Rashid
Hello All, I have a page in which I am trying to display formated balance using following bean:write tag. The balance property is BigDecimal. The format.amount is defined in my .properties files as format.amount=###,###,##0.00 for default, and format.amount=##,##,##,##0.00 for en_PK locale.

html:form problem

2005-01-17 Thread koen boutsen
hi Untill now I used in my jsp's. Now I installed the last version of struts, and I discovered that I'm not able to use the name and type property anymore. In my application I use multiple forms on one page and via one javascript function per form, I set a hidden field in the selected form an

Re: i18n & Tiles

2005-01-17 Thread Kishore Senji
On Mon, 17 Jan 2005 17:54:55 +0900, Sylvain ~ <[EMAIL PROTECTED]> wrote: > By the way, I don"t want to have ONE internationilized title for all > my pages, so I can't do that, it would have been too simple !! > I have many pages, having different i18n titles, You can extend the main.layout and ov

multiple message resources and validator

2005-01-17 Thread Nathan Coast
Hi, following on from my previous email about multiple message resource files, it looks like the validator doesn't support multiple message resource bundles. I found this workaround http://javaboutique.internet.com/tutorials/Dynaform/index-7.html An alternative is to assemble a single Applicati

Re: i18n & Tiles

2005-01-17 Thread Sylvain ~
By the way, I don"t want to have ONE internationilized title for all my pages, so I can't do that, it would have been too simple !! I have many pages, having different i18n titles, so I think wrinting an Action to get the message is maybe the smartest but not easiest way of doing this. On Mon, 17

RE: i18n & Tiles

2005-01-17 Thread Lesaint Sébastien
Hi, To solve this problem I use this code in my jsp: Pretty easy, isn'it? :) Seb' -Message d'origine- De : Sylvain ~ [mailto:[EMAIL PROTECTED] Envoyé : lundi 17 janvier 2005 09:02 À : user@struts.apache.org Objet : i18n & Tiles I'm trying to create an internationalized application

Re: i18n & Tiles

2005-01-17 Thread Dakota Jack
Make the "TO CHANGE" some url getting a resource like "resource?resource=to_change" and have an action return the resource as a value of ApplicationProperties key "to_change" as well as null as the value of the return ActionForward in execute(...). There are simpler solutions, I am sure, but this

i18n & Tiles

2005-01-17 Thread Sylvain ~
I'm trying to create an internationalized application, and when I tried to template it with Tiles, I found something missing, or which seems impossible to be simply solved : When using tiles with definitions in a centralized file, the put tag doesn't offer ability to set a key to automatically get