[OT] AJAX talk at Google in Mountain View on 6/15 at 6:30pm

2005-05-27 Thread Van
Technically, this talk has nothing to do with Struts. Given the recent activity on several AJAX message threads here, it seemed appropriate to announce this event on this list anyway. Next-Generation Interactivity for Web-Based Applications This is a free event open to the public. There will be r

Re: Strange Error : Cannot find ActionMappings or ActionFormBeans collection

2005-05-27 Thread Wendy Smoak
From: "Randall Svancara" <[EMAIL PROTECTED]> Anyway I am posting my struts config file. Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd";> I only asked for the DOCTYPE declaration, (not the whole file!) and not just for struts-config, but for all struts-related co

RE: [OT] cloudscape/derby

2005-05-27 Thread David G. Friedman
What is wrong with HSQLDB? -D -Original Message- From: Riyaz Mansoor [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 8:56 PM To: Struts Users Mailing List Subject: [OT] cloudscape/derby hi guys anybody know whats the status of Derby? former IBM's Cloudscape? i need something m

[OT] cloudscape/derby

2005-05-27 Thread Riyaz Mansoor
hi guys anybody know whats the status of Derby? former IBM's Cloudscape? i need something more robust that hsqldb :) riyaz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Strange Error : Cannot find ActionMappings or ActionFormBeans collection

2005-05-27 Thread Randall Svancara
Wendy, Thanks for responding. Yeah, I had better just take the weekend off like every other American citizen to regain my sanity before another week of work. Anyway I am posting my struts config file. By the way, it was generated by my eclipse...so I might check there to see if there are a

Re: [OT] Business Layer Ideas

2005-05-27 Thread Dakota Jack
http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764558315,descCd-download_code.html On 5/27/05, David Whipple <[EMAIL PROTECTED]> wrote: > This is an off topic post, but there seem to be a lot of people with good > opinions here. > > I am trying to provide a framework (based on Stuts and Spring

Re: [OT] Business Layer Ideas

2005-05-27 Thread Dakota Jack
One last note, on a somewhat experimental basis, I have been building an application, which for the lack of a better idea I call "StrutsState", for state management issues in or relating to the business layer which is stored in the servlet context (application) layer. This application interfaces w

Re: [OT] Business Layer Ideas

2005-05-27 Thread Dakota Jack
I should have added that Rod (Johnson) in the book cited pointedly advocates extensive use of the Strategy Pattern, see pp. 421 ff. The use of CoR in Struts 1.3 for the extensible RequestProcessor is not a feature but is a way of solving the problem created by the original use of the Template Meth

Re: Strange Error : Cannot find ActionMappings or ActionFormBeans collection

2005-05-27 Thread Wendy Smoak
From: "Randall Svancara" <[EMAIL PROTECTED]> > I can see this is a really active list on a Friday... It's the Friday before a three-day holiday weekend in the US, so I wouldn't expect much traffic from here until Tuesday. > java.net.UnknownHostException: struts.apache.org. My server would not >

Re: [OT] Business Layer Ideas

2005-05-27 Thread Dakota Jack
A really wonderful book is J2EE Development without EJB by Rod Johnson, the original architect for Spring.On the whole, however, outside the issues associated with EJBs, there is a dirth of buisness layers patterns, so far as I know. I think some thought about developing a separate framework f

RE: Strange Error : Cannot find ActionMappings or ActionFormBeans collection

2005-05-27 Thread Randall Svancara
I can see this is a really active list on a Friday... So these servers are in a DMZ and they do not have the ability to go out and contact hosts via port 80. So can someone explain why this exception is being thrown... java.net.UnknownHostException: struts.apache.org. My server would not have a

RE: Strange Error : Cannot find ActionMappings or ActionFormBeans collection

2005-05-27 Thread Randall Svancara
More error messagesI have log4j set configured and this is the error returned by struts. I believe it is having a problem with reading my struts config file or some other resource. However, I am not sure why this is the case because this same application works just fine in my test environment

editing rows

2005-05-27 Thread Martin Stahovec
Hi guys; (one more time) I'm new to struts and I just learn how to use it.I'm working on my first struts app and have following problem: I don't know, how to edit rows in my jsp. On the first jsp(Form.jsp) I have just the table, taht consists of the columns ID, CURR, NAME, START and buttons DE

Re: [OT] Business Layer Ideas

2005-05-27 Thread Duong BaTien
On Fri, 2005-05-27 at 16:00 -0400, David Whipple wrote: > This is an off topic post, but there seem to be a lot of people with good > opinions here. > > I am trying to provide a framework (based on Stuts and Spring) for our > company > to use. I'd like to make a reinforcement of the business laye

RE: [OT] Business Layer Ideas

2005-05-27 Thread Barnett, Brian W.
http://www.whitesandsolutions.com/wssBase-Framework%20Architecture.htm http://www.whitesandsolutions.com/wssBase-Patterns.htm (Two images here. Use navigation in left frame.) View the above links with Microsoft Internet Explorer so you can use the pan and zoom features. -Original Message

[OT] Business Layer Ideas

2005-05-27 Thread David Whipple
This is an off topic post, but there seem to be a lot of people with good opinions here. I am trying to provide a framework (based on Stuts and Spring) for our company to use. I'd like to make a reinforcement of the business layer in applications. We do not use EJBs, so a lot of the patterns tha

Strange Error : Cannot find ActionMappings or ActionFormBeans collection

2005-05-27 Thread Randall Svancara
Is the error: Cannot find ActionMappings or ActionFormBeans collection, thrown only when the struts-config.xml can not be read. I have a two test servers with a struts based application installed and working fine, however, I move the application to the production servers and I recieve this error

Re: Shopping Cart

2005-05-27 Thread Michael Jouravlev
On 5/27/05, Rafael Taboada <[EMAIL PROTECTED]> wrote: > Hi dear folks... I'm programming something like a shopping cart. Do u know > some way to do that? Or a site where I can find some sample code... > I was thinking about to store beans in session context... But what about > if the bean is so

Action Messages

2005-05-27 Thread Ray Madigan
I am looking for the ability to handle the ActionMessage in a different way in my application. In the validate method of the form I create a new instance of ActionErrors and add ActionMessage instances to it. In the Action dispatch method I call validate and get a non empty ActionErrors instance.

Re: Nesting business beans inside form beans

2005-05-27 Thread Hubert Rabago
Hi Michael, On 5/27/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Hi Hubert, > > * Is it possible to have a method, which would accept a reference to > an existing bean? Yes, although the current set of convenience methods don't support it. My goal with FormUtils is to provide the basic bu

GZIP Filter - question

2005-05-27 Thread croffman
There are many hidden fields in a page. Planning to use filters to reduce the size transferred. Did any body have experienced in getting performance benefit using GZIPFilter? Any inputs/suggestions are very much helpful. Thanx in advance. Croff

Re: How to use bean property as value for html hidden field

2005-05-27 Thread Wendy Smoak
From: "Durham David R Jr Ctr 805 CSPTS/SCE" <[EMAIL PROTECTED]> >> You cannot nest JSP tags. >Strictly speaking, you can nest tags, but you can't use a tag as an >attribute to another tag. What he said. Darn. :) I wrote a long explanation then decided it was irrelevant... and shortened it to

Re: How to use bean property as value for html hidden field

2005-05-27 Thread Michael Jouravlev
Though it does not seem to be documented well, but some (many, all?) tags support textual content, like a regular XML element. This would look kind of like this: I haven't tried it, but this might work. Michael. On 5/27/05, Jim Coble <[EMAIL PROTECTED]> wrote: > In my JSP html:form, I

Shopping Cart

2005-05-27 Thread Rafael Taboada
Hi dear folks... I'm programming something like a shopping cart. Do u know some way to do that? Or a site where I can find some sample code... I was thinking about to store beans in session context... But what about if the bean is so big??? Will there be any problem with the size??? I was al

Re: problem with logic redirect tag and tiles

2005-05-27 Thread Dave Newton
Paul Moody wrote: I have a problem using logic:redirect with tiles. [...] Any ideas? Could it be because a redirect only works if no data has been sent to the browser yet? (But I thought I saw an HTML comment before the redirect that works, so maybe that's not the right trail to head down.)

RE: How to use bean property as value for html hidden field

2005-05-27 Thread Durham David R Jr Ctr 805 CSPTS/SCE
> You cannot nest JSP tags. Strictly speaking, you can nest tags, but you can't use a tag as an attribute to another tag. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Nesting business beans inside form beans

2005-05-27 Thread Michael Jouravlev
Hi Hubert, I checked out your FormDef project, looks interesting. I need something like this for my dialog/wizard classes, and your project seems to fit. Few questions though. I did not look in the source code yet, but I read your doc page. What I do is I have a dialog/wizard bean, which is state

Re: How to use ?

2005-05-27 Thread Wendy Smoak
From: "minhnguyet" <[EMAIL PROTECTED]> > I want to link from a section to another section in the same page . Some thing like this > viewlink to the section in the same page > Description . > ( like html : viewand Description ) > But it really not works .I don't know how to d

problem with logic redirect tag and tiles

2005-05-27 Thread Paul Moody
I have a problem using logic:redirect with tiles. If I put the redirect tag into the page which inserts a tile definition then the redirect works. For example: (in my tiles-defs.xml): /main.jsp: ... <%@ taglib uri="http://struts.apache.org/tags-tiles"; prefix="tiles" %> <%@ taglib uri

Re: How to use bean property as value for html hidden field

2005-05-27 Thread Wendy Smoak
From: "Jim Coble" <[EMAIL PROTECTED]> > In my JSP html:form, I want to have the value of a hidden field set to the > (String) value of a property of a request-scoped attribute. I tried using > a "bean:write" as the argument to the "value=" property of the > "html:hidden" tag, like this ... > > p

How to use bean property as value for html hidden field

2005-05-27 Thread Jim Coble
In my JSP html:form, I want to have the value of a hidden field set to the (String) value of a property of a request-scoped attribute. I tried using a "bean:write" as the argument to the "value=" property of the "html:hidden" tag, like this ... " /> but, on the resulting page, the value of th

Re: migration from Struts 1.0 to Struts 1.2

2005-05-27 Thread gdeschen
http://wiki.apache.org/struts/StrutsUpgrade HTH, Glenn Thibaut Lassalle <[EMAIL PROTECTED]> 27/05/2005 11:28 AM Please respond to "Struts Users Mailing List" To user@struts.apache.org cc Subject migration from Struts 1.0 to Struts 1.2 Does anyone have documentation on how to migrate

Re: 2 parallel requests from one user

2005-05-27 Thread Michael Jouravlev
* Call the first action (input) * Deny service if long process is already running for this client * Harvest input data and kick off the long process * Redirect (not forward) to output action, which displays result page #2 (see below) right away * Result page #2 must have an auto-refresh javascript

migration from Struts 1.0 to Struts 1.2

2005-05-27 Thread Thibaut Lassalle
Does anyone have documentation on how to migrate from Struts 1.0 to Struts 1.2 Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Newbie Question : Session Management without cookies

2005-05-27 Thread Dave Newton
Nils Liebelt wrote: Have a look at J2ee Specs first. So you get an idea of the session concept. -Original Message- From: Mark Breitner [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 4:34 PM Subject: Newbie Question : Session Management without cookies I just started with str

Re: Nesting business beans inside form beans

2005-05-27 Thread Hubert Rabago
If you only store your form in request scope, Struts will create a new form object when the user submits it. It would also mean it will create a new instance of your business bean. To avoid this, you might consider placing your bean in session scope. Either way, though, you'll still have convers

Re: 2 parallel requests from one user

2005-05-27 Thread Hubert Rabago
You should make the effort to remove the dependency of the core action on the request and response objects. Just retrieve the data you need from the request and response and cache them so that they'll be available for the duration of your long process. I'm hoping that when you call it "core actio

RE: Newbie Question : Session Management without cookies

2005-05-27 Thread Nils Liebelt
Hi Mark, Have a look at J2ee Specs first. So you get an idea of the session concept. Regards, Nils -Original Message- From: Mark Breitner [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 4:34 PM To: user@struts.apache.org Subject: Newbie Question : Session Management without cooki

RE: Newbie Question : Session Management without cookies

2005-05-27 Thread Nils Liebelt
Hi Mark, Have a look at J2ee Specs first. So you get an idea of the session concept. Regards, Nils -Original Message- From: Mark Breitner [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 4:34 PM To: user@struts.apache.org Subject: Newbie Question : Session Management without cooki

Newbie Question : Session Management without cookies

2005-05-27 Thread Mark Breitner
Hello, I just started with struts and wanted to implement an application that is able to do session management (f.e. user + password) even if the user has turned cookies off. what is the best way to do this ? With kind regards Mark Breitner -- Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie

Re: Struttin with Struts

2005-05-27 Thread Daniel Henrique Ferreira e Silva
Hi Andy, I'm sure it's not a permanet loss. Rick never mentioned about taking it off. But he is in a trip to Tennesse and will be back by tuesday. So, be patient :) If you want to talk to him live, join us at #funkycodemonky in irc.darkmyst.org. Among some monkies that code for a living, you'll

multiple struts configuration files and application resources

2005-05-27 Thread Venkat Reddy Valluri
Hi I created main module and user module separately and used separate strus configurations for main module and user module Here I have included main module application resources in main struts-confiration file and user module appliaction resources in user struts configuration file

Struttin with Struts

2005-05-27 Thread andy wix
Hi, Rick Reumann's rather splendid resource has been down for the last few days. I had not visited the site for a while so can't say how long it's been this way. Does anyone know if this is a permanent loss? regards, Andy _ Be th

Re: ActionError in Struts 1.2.7

2005-05-27 Thread Niall Pemberton
In the Action there are two convenience methods: saveErrors(request, ActionMessages) saveMessages(request, ActionMessages) You cn use the saveMessages() method to store under the messages key. Niall - Original Message - From: "David Johnson" <[EMAIL PROTECTED]> Sent:

Re: DataBase connection

2005-05-27 Thread Martin Gainty
For example if you were to use postgres default DataSource you would need to identify the inidividual properties as well as the actual driver class which comes with the Struts Distro so struts-config.xml would identify the Generic Data Source via courtesy of Linux Str

Re: DataBase connection

2005-05-27 Thread Thibaut L.
thank you for answering so fast. i knew there were this object but i don't find how to use it. i've tried : DataSource aDataSource = (DataSource) dataSources.entrySet().iterator().next(); but it doesn't work. Martin Gainty a écrit : should be identified as DataSources within your ActionServlet

Re: DataBase connection

2005-05-27 Thread Martin Gainty
should be identified as DataSources within your ActionServlet take a look at http://struts.apache.org/api/org/apache/struts/action/ActionServlet.html#dataSources HTH, Martin- - Original Message - From: "Thibaut L." <[EMAIL PROTECTED]> To: Sent: Friday, May 27, 2005 7:49 AM Subject: Dat

DataBase connection

2005-05-27 Thread Thibaut L.
hi, i'd like to access mysql from the my own controller init method. I usually do : |dataSource = getDataSource(request); myConnection = dataSource.getConnection(); but i have no request object in my init method. Any idea ? thanks. | -

Nesting business beans inside form beans

2005-05-27 Thread Nils Liebelt
Hi all, could I speed up my development by placing "business" beans inside a form bean using delegating methods to set it. I could init the "business" bean with a none bean method and only expose certain attributes of course validating the way i need it. I am interested if I place such a construc

Nesting business beans inside form beans

2005-05-27 Thread Nils Liebelt
Hi all, could I speed up my development by placing "business" beans inside a form bean using delegating methods to set it. I could init the "business" bean with a none bean method and only expose certain attributes of course validating the way i need it. I am interested if I place such a construc

2 parallel requests from one user

2005-05-27 Thread Jürgen Liesche
Hi all, we have a struts action which runs in some cases very long (> 1min). In this case, a firewall between client and server cuts the connection due to inactivity. To avoid this timeout, we execute the core action in a thread, while the wrapper action polls the result of the action thread. I

Re: Popup

2005-05-27 Thread ahmet hassan
When you pass the value from the pop up window's form to the main jsp's form, then yo have it in your ActionForm.When you submit the form in the main jsp, you will get the value in your ActionForm also. --- Rafael Taboada <[EMAIL PROTECTED]> wrote: > Thanks, it's cool... But is it possible to > c

How to use ?

2005-05-27 Thread minhnguyet
Hi all. I want to link from a section to another section in the same page . Some thing like this viewlink to the section in the same page Description . ( like html : viewand Description ) But it really not works .I don't know how to do this ? Thanks