Re: tiles ForwardAction

2004-09-09 Thread Michael McGrady
McGuire you are a hoot! I did not mean the only way to forward was to forward to a Tiles definition. That would be really stupid and really wrong. Notice I said that this is "the only way you can get to a page"? Building a response is not getting to a page at all so that hardly counts. I k

Re: tiles ForwardAction

2004-09-09 Thread Janne Mattila
Hmmm, I thought that you could use Struts just fine even if you did not use Tiles at all? From: Michael McGrady <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: tiles ForwardAction Date: Thu, 09 Sep 2004

Re: Preventing Page Caching

2004-09-09 Thread Ovidiu EFTIMIE
I ussualy use this <% response.setHeader("Expires", "Sat, 6 May 1995 12:00:00 GMT"); response.setHeader("Cache-Control", "no-store, no-cache, must-revalidate"); response.addHeader("Cache-Control", "post-check=0, pre-check=0"); response.setHeader("Pragma", "no-cache"); %> On Wed, 8 Sep 2

Single sign-on

2004-09-09 Thread Prasad, Kamakshya
Hi, We have lot of web application built on struts for which we need to provide single sign-on. Please advise me how to implement the same. We are using Weblogic 8.1 as the app server. Regards, KP - To unsubscribe, e-mail: [

Offtopic: Best book J2EE Design patterns

2004-09-09 Thread Janarthan Sathiamurthy
Hi, Can any one suggest a good book for Design patterns in J2EE? Regards, Janarthan S

Re: Offtopic: Best book J2EE Design patterns

2004-09-09 Thread Hari Haran
I always use this one http://java.sun.com/blueprints/corej2eepatterns/Patterns/index.html On Thu, 9 Sep 2004 13:52:29 +0530, Janarthan Sathiamurthy <[EMAIL PROTECTED]> wrote: > Hi, > > Can any one suggest a good book for Design patterns in J2EE? > > Regards, > > Janarthan S > > -- -Ha

Actionform backed by Map for use in Struts-Faces

2004-09-09 Thread Karsten Krieg
Hi List! I'm using an Map-based Actionform for generating a number of input fields based on the result of a database query. The actionform is implemented as follows public class MapForm extends ActionForm { private Map values = new HashMap(); public void setValue(String key, Object valu

Re: Offtopic: Best book J2EE Design patterns

2004-09-09 Thread Deepak
http://www.corej2eepatterns.com/Patterns2ndEd/index.htm - Original Message - From: "Janarthan Sathiamurthy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, September 09, 2004 1:52 PM Subject: Offtopic: Best book J2EE Design patterns Hi, Can an

RE: Offtopic: Best book J2EE Design patterns

2004-09-09 Thread Matthias Wessendorf
Or you may look at one of that: http://www.springframework.com/books/ Matthias > -Original Message- > From: Hari Haran [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 10:44 AM > To: Struts Users Mailing List > Subject: Re: Offtopic: Best book J2EE Design patterns > > >

Problem getting content of indexed fields

2004-09-09 Thread Haertfelder, Michael
I have problems retrieving the content of entry fields generated by a JSP iterator: In my JSP page I declared an iterator and multiple html:text fileds similar to: ... The resulting sour

Re: strange random problem

2004-09-09 Thread calandraca
Ok, thank you Jim and David. This is the way I manage database access, its approach is inherited from the previous application version and I'm planning to change it: We use JDBC via JTurbo 4 type driver (no ODBC connectivity). We have a ConnectionObject with a java.sql.Connection attribute, the n

Re: Single sign-on

2004-09-09 Thread lixin chu
open source Yale CAS could be one possible choice. --- "Prasad, Kamakshya" <[EMAIL PROTECTED]> wrote: > Hi, > > We have lot of web application built on struts for > which we need to > provide single sign-on. > Please advise me how to implement the same. > > We are using Weblogic 8.1 as the app

Struts-Config.XML and script variables

2004-09-09 Thread Varley, Roger
Hi As a "newbie" to Struts I apologise in advance if this is a really stupid question. I am surprised that I am encouraged to use pre-defined constants for my action forwards in my java actions, but I cannot use these constants in the tag of the struts-config.xml. Indeed, everything within the

J2EE application - Upload one or more files on client to server

2004-09-09 Thread Dao Xuan Nam
Hi all, In our application, I have to implement a function to upload one or more files on client's machine to server? But i do not know how to implement it using J2EE technologies such as JSP, Servelet? Thank you very much Nam ---

Re: tiles ForwardAction

2004-09-09 Thread Michael McGrady
Janne Mattila wrote: Hmmm, I thought that you could use Struts just fine even if you did not use Tiles at all? Of course you can. You can also use Tiles without Struts. Nothing to see here. Just move along. LOL Michael - T

Re: J2EE application - Upload one or more files on client to server

2004-09-09 Thread Henrique VIECILI
Well, this is what we call CROSS-POSTING - Original Message - From: Dao Xuan Nam To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] ; [EMAIL PROTECTED] ; [EMAIL PROTECTED] ; [EMAIL PROTECTED] ; [EMAIL PROTECTED] ; [EMAIL PROTECTED] ; [EMAIL PROTECTED] Sent: Thursday, September 0

RE: J2EE application - Upload one or more files on client to serv er

2004-09-09 Thread Kailash Vasani
Hi, In case u r using Struts 1) In HTML / JSP page use , this field is where user would be interacting and setting file path. The form containing this button, must have encoding type set to multipart/form-data i.e. enctype="multipart/form-data" 2) Create an action class that gets invoked t

Re: J2EE application - Upload one or more files on client to server

2004-09-09 Thread Dao Xuan Nam
Hi Kailash: Thank you very much for your suggestion. I am sure do upload one file to server but are you sure when end user want upload more files to server at the same time? Thank you very much for your help, Nam - Original Message - From: "Kailash Vasani" <[EMAIL PROTECTED]> To: "'Stru

RE: [OT]: Best book J2EE Design patterns

2004-09-09 Thread Nail, Evan Burke
Another good book is J2EE Design and Development by Rod Johnson http://www.amazon.com/exec/obidos/tg/detail/-/0764543857/qid=1094730665/sr=8-1/ref=pd_cps_1/102-7925651-9470545?v=glance&s=books&n=507846 It references the core patterns book and gives some real world examples of a few of the most c

ActionForm pooling

2004-09-09 Thread Antony Paul
Hi all, How the ActionForm is pooled. It is pooled only if the scope is session or application. rgds Antony Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT]: Best book J2EE Design patterns

2004-09-09 Thread Robert Taylor
+1. Both Johnson books are top notch. I highly recommend them to any J2EE developer. robert > -Original Message- > From: Nail, Evan Burke [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 7:57 AM > To: Struts Users Mailing List > Subject: RE: [OT]: Best book J2EE Design patte

Struts Studio - Anyone using it?

2004-09-09 Thread Paul Kirkley
Anyone have any critique on Exadel Struts Studio 6.0 in a WSAD 5.1 environment? I am new to struts and I thought this tool looked interesting. Thanks for any input. Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

RE: Single sign-on

2004-09-09 Thread Fought,Tom
check out the single sign on valve for your app server. might be your answer. -Original Message- From: Prasad, Kamakshya [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 3:53 AM To: Struts Users Mailing List Subject: Single sign-on Hi, We have lot of web application built o

RE: Single sign-on

2004-09-09 Thread Prasad, Kamakshya
HI, Actually client wants a solution which is not dependant on application server. Is something not available in pure java. Regards, KP -Original Message- From: Fought,Tom [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 9:22 PM To: 'Struts Users Mailing List' Subject: RE:

Re: Single sign-on

2004-09-09 Thread Vic
There are many: http://www.manageability.org/blog/stuff/single-sign-on-in-java/view .V Prasad, Kamakshya wrote: HI, Actually client wants a solution which is not dependant on application server. Is something not available in pure java. Regards, KP -Original Message- From: Fought,Tom [mailto

RE: Single sign-on

2004-09-09 Thread Seaman, Sloan
We use JNDI to hit our MS Active Directory server. Works rather well :) -- Sloan -Original Message- From: Prasad, Kamakshya [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 8:30 AM To: Struts Users Mailing List Subject: RE: Single sign-on HI, Actually client wants a solu

Re: J2EE application - Upload one or more files on client to server

2004-09-09 Thread Giacomo Veneri
Oreilly http://www.servlets.com/cos/ Apache http://jakarta.apache.org/site/binindex.cgi - Original Message - From: "Dao Xuan Nam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[E

[OT] Java Charting API's

2004-09-09 Thread Seaman, Sloan
Sorry to go off topic, but can anyone suggest a good free charting package for Java? It needs to be able to generate a pretty wide variety of charts (bar, pie, etc) and render them as some image format that I can post to the web. Thanks! -- Sloan

PlugIn's init(...) method is called multiple times in Linux

2004-09-09 Thread Uma Yarakaraju
Hi, I have 3 struts based applications running in Tomcat 4.1.18. I have deployed them in Red Hat Linux Advanced Server 3.0 platform. In all my 3 apps, I have implemented the Struts's PlugIn interface for doing the initialization tasks and configured them in the struts-config.xml as shown below (

Re: [OT] Java Charting API's

2004-09-09 Thread Henrique VIECILI
JFreeChart, follow the tutorial and look also on SourceForge.net for more info. You can use JFreeChart with Apache Batik to generate the graphics in SVG (Scalable Vector Graphics) http://www.jfree.org/jfreechart/index.html http://xml.apache.org/batik http://sourceforge.net/projects/jfreechart

RE: [OT] Java Charting API's

2004-09-09 Thread Matthias Wessendorf
look http://cewulf.sf.net Matthias > -Original Message- > From: Seaman, Sloan [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 2:49 PM > To: 'Struts Users Mailing List' > Subject: [OT] Java Charting API's > > > Sorry to go off topic, but can anyone suggest a good free >

Re: [OT] Setting up a struts project in IDEA

2004-09-09 Thread David Durham
Rick Reumann wrote: David Durham wrote: Now you're forced into choosing from their "modules." You can basically almost always just choose the "java module" and then do as you say add what you need.. very easy. So you aren't really 'forced' into anything and can always do things like you were used t

[OT] Re: Single sign-on

2004-09-09 Thread David Durham
Seaman, Sloan wrote: We use JNDI to hit our MS Active Directory server. MS Active Directory is for weenies. Are you browsing with Internet Explorer too? Works rather well :) Until you get fined by the worm police. BTW, this e-mail was typed from an XP workstation. Not *my* workstation, mind yo

ArrayList Inside ActionForm (IndexOutOfBound)

2004-09-09 Thread Eduardo Rodrigues de Oliveira
Anyone could let me know why when I try to add a new Item in one ArrayList defined inside a ActionForm, it throws IndexOutOfBound? Thanks a lot, Eduardo Deloitte Brazil ___ Yahoo! Acesso Grátis - navegue de

RE: ArrayList Inside ActionForm (IndexOutOfBound)

2004-09-09 Thread Slattery, Tim - BLS
> Anyone could let me know why when I try to add a new > Item in one ArrayList defined inside a ActionForm, it > throws IndexOutOfBound? I'd guess it's because you used ArrayList.add(int, Object). That form of "add" assumes that the element of the ArrayList specified by the int argument already ex

Re: Single sign-on

2004-09-09 Thread Tuncay Baskan
On Thu, 9 Sep 2004 16:53:21 +0900, Prasad, Kamakshya <[EMAIL PROTECTED]> wrote: > Hi, > > We have lot of web application built on struts for which we need to > provide single sign-on. > Please advise me how to implement the same. We use JCIFS from samba.org (http://jcifs.samba.org/src/docs/ntlmht

Re: Struts Studio - Anyone using it?

2004-09-09 Thread Bryce Fischer
I bought a previous version (5.0). It works as advertised. But in reality, I find Struts pretty easy to use, and thought that it was just as easy to had configure everything. Its nice to see the diagrams to visualize what's going on. The only complaint about the diagrams is that it was difficul

RE: Preventing Page Caching

2004-09-09 Thread Jim Barrows
> -Original Message- > From: Ovidiu EFTIMIE [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 12:15 AM > To: Struts Users Mailing List > Subject: Re: Preventing Page Caching > > > I ussualy use this > > <% > response.setHeader("Expires", "Sat, 6 May 1995 12:00:00 GMT");

Re: html:cancel usage

2004-09-09 Thread andy wix
Hi, Sorry to harp on about this but I am sure html:cancel must work, as it is fundamental to the way sites flow! It says the following about the html:cancel 'property' attribute in the Html Tag Developer Guide: "WARNING - If you set this attribute to a value other than the default, this will N

Best practices for localization of exception messages

2004-09-09 Thread bmf5
I'm learning and building as I go and have run into a situation that I'm not sure if I'm handling right. I've started using chained exceptions per the suggestion in Struts in Action. I'm also trying to localize the messages. What I'm not sure of is the best way to get the locale down to the

RE: Proper place for validation

2004-09-09 Thread Jim Barrows
> -Original Message- > From: Janne Mattila [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 08, 2004 11:57 PM > To: [EMAIL PROTECTED] > Subject: RE: Proper place for validation > > > > I am fully aware that this is probably not the "accepted" way > of doing this. > All advice

Struts Web Service Enablement Project .03 now available

2004-09-09 Thread Frank Zammetti
I just wanted to let everyone know that version .03 of the Struts Web Services Enablement Project has just been released. I hadn't done much on it in a while, but a couple of people said they were actually using it (or thinking about using it), so I felt obligated to continue it to at least so

RE: ActionForm pooling

2004-09-09 Thread Jim Barrows
> -Original Message- > From: Antony Paul [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 5:14 AM > To: Struts > Subject: ActionForm pooling > > > Hi all, > How the ActionForm is pooled. It is pooled only if the > scope is session > or application. It's not pooled.

RE: Single sign-on

2004-09-09 Thread Jim Barrows
> -Original Message- > From: Prasad, Kamakshya [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 5:30 AM > To: Struts Users Mailing List > Subject: RE: Single sign-on > > > HI, > > Actually client wants a solution which is not dependant on application > server. > > Is so

RE: Best practices for localization of exception messages

2004-09-09 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 9:01 AM > To: [EMAIL PROTECTED] > Subject: Best practices for localization of exception messages > > > > > > > > I'm learning and building as I go and have run into a > si

Re: Best practices for localization of exception messages

2004-09-09 Thread Brett Connor
[EMAIL PROTECTED] wrote: I've started using chained exceptions per the suggestion in Struts in Action. I'm also trying to localize the messages. What I'm not sure of is the best way to get the locale down to the lower layers where the chained exception originates. I haven't passed the session or

Re: html:cancel usage

2004-09-09 Thread Chuck Chopp
andy wix wrote: Hi, Sorry to harp on about this but I am sure html:cancel must work, as it is fundamental to the way sites flow! It says the following about the html:cancel 'property' attribute in the Html Tag Developer Guide: "WARNING - If you set this attribute to a value other than the defau

Struts London Networking BOF #3 / 13 Sept 2004 / Venue [THE GRIFF IN]

2004-09-09 Thread Pilgrim, Peter
Hi I am pleased to announce that the Third Birds of Feather Struts London Networking is taking place in the West End, London at "The Griffin" pub. Event is starting at around 19:15 (1) "The Griffin", just off The Strand, short walk down from Charing Road or walk up the hill from Embankmen

Struts DTDs fail to validate on WebLogic8.1

2004-09-09 Thread ddylla
I am using WebLogic8.1 sp3 and am trying to deploy an application that uses struts-blank.war from the Struts 1.2.2 binary distribution. The .EAR that I built errors when deploying and fails to run, complaining that it cannot connect to jakarta.apache.org to validate some XML files. I downloaded

RE: Best practices for localization of exception messages

2004-09-09 Thread bmf5
snip > I'll catch an SQLException, put it in a DAOFailureException ( which > inherits from DaoException typically), throw it. BO catches, rolls > it into an DataStoreFatalApplicationException (which inherits from > FatalApplicationExcpetion, which inherits from BOException), and > throws it

Re: Best practices for localization of exception messages

2004-09-09 Thread bmf5
Brett Connor <[EMAIL PROTECTED]> wrote on 09/09/2004 12:22:39 PM: > [EMAIL PROTECTED] wrote: > > > >I've started using chained exceptions per the suggestion in Struts in > >Action. I'm also trying to localize the messages. What I'm not sure of is > >the best way to get the locale down to

RE: Best practices for localization of exception messages

2004-09-09 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 9:52 AM > To: Struts Users Mailing List > Subject: RE: Best practices for localization of exception messages > > > > > > > snip > > > > I'll catch an SQLException, put it

Re: [OT] How to sort with ?

2004-09-09 Thread Craig Dickson
I understand this suggestion. However, in the particular scenario I am dealing with, the Collection is not part of the business layer. For example, we want to print out the request headers on an error page for debugging purposes. We want the headers to print out in name order for ease of readin

Re: Gracefully handling invalid paths

2004-09-09 Thread Craig Dickson
This is correct. However I have never been able to get it to work if the value of the location tag pointed to an action. For example: 404 /do/error If anyone knows how to make this work properly then I would love to hear about it. My particular problem (posted previously

RE: Best practices for localization of exception messages

2004-09-09 Thread bmf5
"Jim Barrows" <[EMAIL PROTECTED]> wrote on 09/09/2004 01:00:11 PM: > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Thursday, September 09, 2004 9:52 AM > > To: Struts Users Mailing List > > Subject: RE: Best practices for localization of ex

RE: Best practices for localization of exception messages

2004-09-09 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 10:16 AM > To: Struts Users Mailing List > Subject: RE: Best practices for localization of exception messages > > > > > > > > > > "Jim Barrows" <[EMAIL PROTECTED]> wrote

Re: Actionform backed by Map for use in Struts-Faces

2004-09-09 Thread Craig McClanahan
What you are running into is not an issue with the Struts-Faces integration library. There are significant issues interoperating between JSTL and JSF -- in particular, you will need to use something like the UIData component (using either the standard tag, or with some other renderer) to do repea

Re: found difficult in displaying hashtable in view

2004-09-09 Thread Rick Reumann
Can you please fix your computer's system time. Time goes by fast enough. I don't want to think it's October before I need to:) babu said the following on 10/9/2004 12:33 AM: herewith i enclosed the file which contains the actionclass,form bean,view part in this enclosed file the attachment and

RE: Validator exception

2004-09-09 Thread Betty Koon
Hi Nail, I did upgrade the validation-rules.xml. I used to use struts 1.2.1 and it works fine. But then I am getting this after I upgraded to 1.2.3. I don't think I need to change any code since ActionErrors hasn't been deprecated, it's just the methold signature has changed. That's why I real

Re: [OT] How to sort with ?

2004-09-09 Thread Kris Schneider
The newer versions of the Display taglib (http://displaytag.sourceforge.net/) appear to be EL-enabled, so perhaps it could help with a taglib-only sorting solution. Quoting Craig Dickson <[EMAIL PROTECTED]>: > I understand this suggestion. However, in the particular scenario I am > dealing with,

Re: [OT] How to sort with ?

2004-09-09 Thread Bill Siggelkow
Okay -- I don't know of a way to do this JSTL but you can do it with the display tags (this may have been already suggested). http://www.displaytag.org/example-sorting.jsp -Bill Siggelkow Craig Dickson wrote: I understand this suggestion. However, in the particular scenario I am dealing with, t

Re: Best practices for localization of exception messages

2004-09-09 Thread Brett Connor
[EMAIL PROTECTED] wrote: Brett Connor <[EMAIL PROTECTED]> wrote on 09/09/2004 12:22:39 PM: Taking a step back though, the locale is required for presentation only (in this example), it belongs in the view rather than any business components. It is not the job of the business layer to be decidin

cannot get validatorplugin to load

2004-09-09 Thread daynelltrent
I'm running jboss-3.2.5 with struts 1.2.2. When deploying my war file to jboss I keep getting error like this. 12:00:09,145 INFO [ValidatorPlugIn] Loading validation ules file from '/WEB-INF/validator-rules.xml' 12:00:09,148 INFO [ValidatorPlugIn] Loading validation ules file from '/WEB-INF/

Trying to come up with Mapping-Dispatch-Combo Action?

2004-09-09 Thread Rick Reumann
Not sure which list this question/topic really belongs on so posting to both. (I'm bringing it up on the dev list because I'm thinking maybe the base MappingDispatchAction could/should be modified). Some design background. I like to keep related tasks belonging in one Dispatch Action class (fla

Re: Best practices for localization of exception messages

2004-09-09 Thread bmf5
Brett Connor <[EMAIL PROTECTED]> wrote on 09/09/2004 02:03:00 PM: > [EMAIL PROTECTED] wrote: > > >Brett Connor <[EMAIL PROTECTED]> wrote on 09/09/2004 12:22:39 PM: > > > > > > > > Yep. The error code in whatever form it is in (depending on your company > standards and convesions) can be u

RE: Best practices for localization of exception messages

2004-09-09 Thread bmf5
"Jim Barrows" <[EMAIL PROTECTED]> wrote on 09/09/2004 01:23:12 PM: snip > > Yep, that's it. I know what went wrong in general, and can drill > down to the specifics if I need to for error reporting. > In general I always at least include the PK in a message, even for > an exception that

can i get ".do" from struts?

2004-09-09 Thread Woodchuck
hihi, does struts have a built-in way to get the literal ".do" (or whichever extension URL ending pattern you specify) string? or put another way, can anyone suggest an elegant way to forward to another action? ie. when creating an ActionForward object, it needs "/myAction.do" instead of "/myAct

Re: Trying to come up with Mapping-Dispatch-Combo Action?

2004-09-09 Thread Jason King
Rick, I'm new to struts but the environment I'm coming from Oracle Designer Web PL/SQL generator has a way to deal with this sort of thing that I'm likely to be using in Struts. Every form has a hidden field in it named z_action and the buttons all have some js in the onclick that populates z_

Re: can i get ".do" from struts?

2004-09-09 Thread Rick Reumann
Woodchuck said the following on 9/9/2004 2:29 PM: i don't want to hard-code any struts-config information in my code per se, so what i'm doing is getting the desired ActionConfig based on my Action class's fqn. and then interrogating the object for the path value which gives me "/myAction", but i n

Re: Trying to come up with Mapping-Dispatch-Combo Action?

2004-09-09 Thread Rick Reumann
Jason King said the following on 9/9/2004 2:42 PM: I'm new to struts but the environment I'm coming from Oracle Designer Web PL/SQL generator has a way to deal with this sort of thing that I'm likely to be using in Struts. Every form has a hidden field in it named z_action and the buttons all h

Re: Trying to come up with Mapping-Dispatch-Combo Action?

2004-09-09 Thread Jason King
Rick, Changing the action via js is fairly straightforward and works across any 4+ version browser. Assuming your form is like so: your javascript would be: var a = document.myForm.action; // a is easier to type document.myForm.action=a.substring(0,a.lastIndexOf(".")) + "else.do" ; // replace s

Re: can i get ".do" from struts?

2004-09-09 Thread Bill Siggelkow
Why don't you use global forwards defined in your struts-config.xml. Essentially creating a logical URL referencable by name. You can even have a query string in the forward's path. In your struts-config.xml: On a JSP page: Goto Foo Or in an action: return mapping.findForward("gotoFoo"); Woodch

Re: Trying to come up with Mapping-Dispatch-Combo Action?

2004-09-09 Thread Bill Siggelkow
A slightly better way is to use the html:rewrite tag to generate the action URL in a JS function. function swapAction(control) { formAction = document.getElementById("empForm").action; if (control.checked) newAction = '';

Re: Trying to come up with Mapping-Dispatch-Combo Action?

2004-09-09 Thread Rick Reumann
Bill Siggelkow wrote the following on 9/9/2004 3:26 PM: A slightly better way is to use the html:rewrite tag to generate the action URL in a JS function. Thanks. Yea, I guess the JS solution isn't too bad. I'll create a resuable JS method that will take the form name and new action name based on

Re: can i get ".do" from struts?

2004-09-09 Thread Woodchuck
--- Rick Reumann <[EMAIL PROTECTED]> wrote: > Woodchuck said the following on 9/9/2004 2:29 PM: > > > i don't want to hard-code any struts-config information in my code > per > > se, so what i'm doing is getting the desired ActionConfig based on > my > > Action class's fqn. and then interrogatin

Re: can i get ".do" from struts?

2004-09-09 Thread Woodchuck
--- Bill Siggelkow <[EMAIL PROTECTED]> wrote: > Why don't you use global forwards defined in your struts-config.xml. > Essentially creating a logical URL referencable by name. You can even > > have a query string in the forward's path. > > In your struts-config.xml: > > > On a JSP page: > Go

RE: can i get ".do" from struts?

2004-09-09 Thread Jim Barrows
> -Original Message- > From: Woodchuck [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 1:05 PM > To: Struts Users Mailing List > Subject: Re: can i get ".do" from struts? > > > > --- Bill Siggelkow <[EMAIL PROTECTED]> wrote: > > > Why don't you use global forwards defin

RE: ArrayList Inside ActionForm (IndexOutOfBound)

2004-09-09 Thread Eduardo Rodrigues de Oliveira
It's the way I got... I've just used the add(object) direct. The first time I add, it's ok, but the second time I got the error message... Do I need to put my ActionForm in session scope? It's on request scope by now... Thanks! Eduardo

Downloads are blank...sometimes

2004-09-09 Thread Dave Bender
I'm using Struts for a file upload/download routine. All works well except that if I download (using IE 6.x), get a message box asking if I want to save or open the file, I get different results. If I save the file, then open it, it's fine. If I open it directly (using a .txt file as an examp

go one level up

2004-09-09 Thread struts lover
Hi Everyone, I am using struts nested iterate tag. Is there any way to go one level up inside the iterate. Any help would be appreciated. Thanks __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.

Updating select list...

2004-09-09 Thread Amin Lalji
Hey All, I have a slightly complex problem: I have a dynaform which creates a set of input boxes (address information etc.) to be filled in based upon a number the user specifies at runtime: E.G Choose how many addresses you would like to add? (assume user chooses 3) Three sets of input box

can i put in "VALUE" property of CHECKBOX a listing value in the LOGIC:ITERATE

2004-09-09 Thread Milson Fredy Cardona Echeverri
HI i have a problem, i have following code in a JSP page can i put in "VALUE = x" property of CHECKBOX the value of field "codigoFormato"? I hope that they have understood me thanks in advance _ MSN Amor: busca tu ½ nara

RE: can i get ".do" from struts?

2004-09-09 Thread Woodchuck
--- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Woodchuck [mailto:[EMAIL PROTECTED] > > Sent: Thursday, September 09, 2004 1:05 PM > > To: Struts Users Mailing List > > Subject: Re: can i get ".do" from struts? > > > > > > > > --- Bill Siggelkow <[EMAI

Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

2004-09-09 Thread Caroline Jen
I got this error message: 'Cannot find bean org.apache.struts.taglib.html.BEAN in any scope' I have the struts-bean.tld in the AppName/WEB-INF/lib directory. And I have /tags/struts-bean /WEB-INF/lib/struts-bean.tld in the AppName/WEB-INF/web.xml file (in the correct locatio

Re: can i put in "VALUE" property of CHECKBOX a listing value in the LOGIC:ITERATE

2004-09-09 Thread Wendy Smoak
From: "Milson Fredy Cardona Echeverri" <[EMAIL PROTECTED]> > > > > can i put in "VALUE = x" property of CHECKBOX the value of field > "codigoFormato"? If you have multiple checkboxes with the same name, you probably want the 'multibox' tag, not the 'checkbox' tag. And if you're trying to d

RE: can i put in "VALUE" property of CHECKBOX a listing value in the LOGIC:ITERATE

2004-09-09 Thread Jim Barrows
> -Original Message- > From: Milson Fredy Cardona Echeverri > [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 1:59 PM > To: [EMAIL PROTECTED] > Subject: can i put in "VALUE" property of CHECKBOX a listing value in > the LOGIC:ITERATE > > > HI > > i have a problem, i hav

RE: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

2004-09-09 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 2:10 PM > To: [EMAIL PROTECTED] > Subject: Cannot find bean org.apache.struts.taglib.html.BEAN in any > scope > > > I got this error message: > > 'Cannot find bean org.apache.struts

RE: go one level up

2004-09-09 Thread Jim Barrows
> -Original Message- > From: struts lover [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 1:47 PM > To: [EMAIL PROTECTED] > Subject: go one level up > > > Hi Everyone, > I am using struts nested iterate tag. Is there any way > to go one level up inside the iterate. Huh?

RE: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

2004-09-09 Thread Caroline Jen
It is really a weird error message I got. I am not using any bean in my JSP page. The page I am building is a form. I am not even ready to submit that form. Therefore, I took out the tags. I just want to display some text fields, text area in the browser for testing purpose. I do not know

Re: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

2004-09-09 Thread Wendy Smoak
From: "Caroline Jen" <[EMAIL PROTECTED]> > The page I am building is a form. I am not even ready > to submit that form. Therefore, I took out the > tags. I just want to display > some text fields, text area in the browser for testing > purpose. > I do not know why I got 'cannot find bean in an

RE: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

2004-09-09 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 2:38 PM > To: Struts Users Mailing List > Subject: RE: Cannot find bean > org.apache.struts.taglib.html.BEAN in any > scope > > > It is really a weird error message I got. I am not

could not deploy struts-blank.war to jboss

2004-09-09 Thread daynelltrent
I got these error when deploying struts-blank.war to jboss-3.2.5 server. I downloaded from jakarta-struts-1.2.2 distro. Did anybody successfully deploy it using jboss. 16:40:58,258 INFO [TilesPlugin] Tiles definition factory loaded for module ''. 16:40:58,349 INFO [ValidatorPlugIn] Loading v

RE: go one level up

2004-09-09 Thread struts lover
I am using nested iterate. Now I want to check the value of a bean(other than the part of the collection) inside the iteration. I can't use because the way my logic is designed, wont allow to use tag. Thanks, --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > Fr

RE: go one level up

2004-09-09 Thread Jim Barrows
> -Original Message- > From: struts lover [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 3:05 PM > To: Struts Users Mailing List > Subject: RE: go one level up > > > I am using nested iterate. Now I want to check the > value of a bean(other than the part of the collectio

Re: can i get ".do" from struts?

2004-09-09 Thread Bill Siggelkow
IMO its more likely that the URL is going to change and not the name that you pick. When all's said and done; it your choice -- Woodchuck wrote: --- Jim Barrows <[EMAIL PROTECTED]> wrote: -Original Message- From: Woodchuck [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 1:0

[OT]: ant + eclipse not working .. eclipse bug?

2004-09-09 Thread Lucas Gonzalez Pearson
I have a really strange problem! I made a mistake like this in a class System.out.println( ) asdfa ; after saving the file, running ant compile throws this: compile: BUILD SUCCESSFUL It seems like the javac task is not recompiling the class ( since using a ant clean, ant compile work

Imports and Form Submits

2004-09-09 Thread Tom Holmes Jr.
I have a webpage called 'default.jsp' and it has three tags. One does the header, footer, and body. The Header and Footer are fine, but the middle page is a 'jsp' page with nothing but a form in it ... I mean it starts out like It also has some taglibs designed, and a resource bundle. What I

RE: Imports and Form Submits

2004-09-09 Thread Jim Barrows
> -Original Message- > From: Tom Holmes Jr. [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 4:33 PM > To: Struts Users Mailing List > Subject: Imports and Form Submits > > > I have a webpage called 'default.jsp' and it has three > tags. > One does the header, footer, an

Re: Imports and Form Submits

2004-09-09 Thread Wendy Smoak
From: "Tom Holmes Jr." <[EMAIL PROTECTED]> > What I want to happen is when this middle page is loaded, I want the > form in the middle import to be > automatically executed when the main default.jsp page loads. Sounds like you shouldn't let them go to 'default.jsp' to begin with, you should send

Re: [OT]: ant + eclipse not working .. eclipse bug?

2004-09-09 Thread jthompson
I struck this problem with Eclipse and ant a couple a months ago. It looked as if the java compiler was generating incomplete class files. I can't advise of any known problem or fix to it though - I was only evaluating Eclipse at the time and switched to another tool. Regards, John [EMAIL PR

  1   2   >