R: validator NullPointer- please help

2002-06-03 Thread daniele rizzi
hi, have you enclosed the jakarta regexp library? (it's required by validator only, so everything else works as usual) bye, d.rizzi -Messaggio originale- Da: Peter Onthrops [mailto:[EMAIL PROTECTED]] Inviato: venerdi 31 maggio 2002 18.47 A: [EMAIL PROTECTED] Oggetto: validator

Getting Struts 1.1 beta to work with WLS6.1 SP2: commons-logging's ClassNotFoundException

2002-06-03 Thread @Basebeans.com
Subject: Getting Struts 1.1 beta to work with WLS6.1 SP2: commons-logging's ClassNotFoundException From: zaxy [EMAIL PROTECTED] === Hi, I did find this issue on www.mail-archive.com but no clear solution was submitted. Would like to know if this was resolved? and if so, how? From reading the

RE: Getting Struts 1.1 beta to work with WLS6.1 SP2: commons-logging's ClassNotFoundException

2002-06-03 Thread Arik Levin ( Tikal )
Does your project, includes log4j or other logger? -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 11:25 AM To: [EMAIL PROTECTED] Subject: Getting Struts 1.1 beta to work with WLS6.1 SP2: commons-logging's ClassNotFoundException Subject:

Where to put the code for filling an ArrayList

2002-06-03 Thread hans albers
Hi there I want a dropdown-box filled by a bean. I fill the Arrraylist inside the jsp as you can see, but I don't want to have this code in the jsp because the data later comes from a database. Where and how do I have to write this code (a...b) for the list be accessed by the show.jsp? In the

Using hidden variable without form

2002-06-03 Thread Yaman Kumar
Hi, I have a jsp file without a form and has got one image and target of this is one action class which requires 2 parameters, When i click on this button i do not want these parameternames and values to appear in querystring in browser address location, Can i avoid these showing in

Multipart request and special characters

2002-06-03 Thread Philippe Van Der Gucht
Hello struts users, I have a weird problem with struts v1.0.2 We use a multipart html form for sending text and files. The enctype attribute is set to 'multipart/form-data'. When the euro curreny symbol or any other special character is entered into a text field we get this:

several jsps using 1 action class and avoiding several action statements in struts-config.xml

2002-06-03 Thread Yaman Kumar
Hi, I have 4 jsp files using one action class and action class forwards to the page which called this action class.Becoz i would like user to go back to same page from which he visited. Can i avoid writing 4 action mappings and all 4 mappings have only same action class but forward value is

RE: several jsps using 1 action class and avoiding several action statements in struts-config.xml

2002-06-03 Thread Arik Levin ( Tikal )
If your wish is to have a different URI for each call, first.do, second.do... you have to declare an actions for each. If you have one call, general.do with one action type class and some forward in it. One action will do. Like this: action path=/general type=MyCentral forward

Re: Design Advice - Relational Databases Java Objects

2002-06-03 Thread Ted Husted
(1) Is it best for the data access layer to throw exceptions on error to be picked up by the business objects then struts actions, or would it be good to use a struts-type message object and use strings in the application resources file (I'm just worried my exceptions' text would not be

Problem with GenericDataSource

2002-06-03 Thread Lise Frengen
I am using Struts 1.0.2 and I have a problem with the GenericDataSource object: when I try to close the source, everything hangs. What am I doing wrong? try{ GenericDataSource dataSource = new GenericDataSource(); dataSource.setAutoCommit(false);

Validator in struts 1.1 by radhika

2002-06-03 Thread Radhika Nadkarni
hi, I am using Validator of Struts 1.1 My jsp has 2 text boxes. Upon click of the submit button, validation.xml file which I have written must be parsed, so that it will carry out the validations which i have written. However, im getting the foll. error : - java.lang.NoSuchFieldError:

RE: a newbie question on iterate

2002-06-03 Thread Galbreath, Mark
The answer, unfortunately, is all of the above. The iterate tag iterates through both maps and collections in any form and in any scope, and you display the contents of map and collection values with the bean:write tag. A typical map would be key-value pairs placed in memory as

RE: Need Help!!! Pls

2002-06-03 Thread Galbreath, Mark
Much better! It appears obvious that the bean you are attempting to create from rendering the XML through Digester is either not being created or is not being set in scope properly. Can you post that/those particular section(s) of code? Mark -Original Message- From: Stephen

RE: Newbie Question To Experts

2002-06-03 Thread Galbreath, Mark
What you are asking for is, essentially, for someone to post a tutorial for you on this list. Your question is of a very basic and general nature and much too broad to be appropriate here. You need to go through the documentation more thoroughly and do a couple of tutorials - there are several

need some help ..

2002-06-03 Thread Rajesh Thota
This may look silly but my lack of knowledge with struts is making me ask this question. Let us say I have a HTML form which retrieves a set of records from database depending upon the number of records the jsp will have to display HTML form field elements. How do i have to design my form

RE: Does anyone know Digest class library?

2002-06-03 Thread Galbreath, Mark
http://jakarta.apache.org/commons/digester/api/index.html -Original Message- From: Liang Chen [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 01, 2002 9:51 PM I can not find any infomation in Google. Thanks in advance. LC -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: Advice: how strutty should I be??

2002-06-03 Thread Galbreath, Mark
Steve Jobs? -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 02, 2002 11:22 PM What the heck! Ok. Who leaked our requirements document? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 22:34 How

bean:write

2002-06-03 Thread mhanel
Is there a possibility to write some values from the session to the jsp, without having a bean for this value? Hanel Matthias Fachinformatiker (Anwendungsentwicklung) in Ausbildung Logistik World GmbH

RE: Advice: how strutty should I be??

2002-06-03 Thread Andrew Hill
Damn! I told em we couldnt trust him to keep mum, but did they listen? sigh/ -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 20:56 To: 'Struts Users Mailing List' Subject: RE: Advice: how strutty should I be?? Steve Jobs? -Original

Re: [ANN] Struts Wizard v1.0.2 for JBuilder - Now Eclipse

2002-06-03 Thread Will Jaynes
. I just don't get it. Given the same Eclipse version and installation procedure as John, I still don't get the Struts to show in my File-New-Other menu. Must be some glitch somewhere in my setup, but I can't see what. Will Rajesh Kalluri wrote: After you extract the plugin into plugins

Re: [ANN] Struts Wizard v1.0.2 for JBuilder - Now Eclipse

2002-06-03 Thread emmanuel.boudrant
Hi, Every week, a new Eclipse is released, it is called 2.0 Freeze/Test/Fix Master Schedule, this week it is F2 release. We are waiting for June 28, the official release date for Eclipse 2. ;) For the wizard (JBuilder/Eclipse), I will release soon a new version renamed Easy Struts with

Using formbean effectively.

2002-06-03 Thread Yaman Kumar
Hi, I have an frist.java (action class) and that would keep so much info in several attributes and bound them to request object, and then in first.jsp page i would retrieve all of them and display in FristForm.java controls. I have got an idea to keep all the information in FirstForm bean

RE: [Struts Tips] #2 - Template Method Dispatch Action?

2002-06-03 Thread Molitor, Stephen
Why are the Framework and Dispatch approaches mutually exclusive? It seems like you could do both -- have a base action with extension points (hot spots), and the main hotspot method (i.e. 'executeLogic') could optionally be a dispatch method. This would help with create/update/delete

Re: How does the framework ensure any action to have self control ?

2002-06-03 Thread @Basebeans.com
Subject: Re: How does the framework ensure any action to have self control 1 2 3 4 5 6 7 8 9 From: Sanjib Islam [EMAIL PROTECTED] === Mark, I am extremely sorry for the repost. It was just that I was posting for the first time in this group and I wasn't sure if my first post made it. My

RE: How does the framework ensure any action to have self control ?

2002-06-03 Thread Galbreath, Mark
Hey, no big deal, dude. It's not like you are going to be tied to a post and fed X-Lax or anything! :-) My response was simply to make you aware that you were double-posting in the event that something was awry with your ISP or you were trying to post to a different list. Cheers (only 28 days

Re: bean:write

2002-06-03 Thread Jonathan Fuerth
On Mon, Jun 03, 2002 at 02:58:45PM +0200, [EMAIL PROTECTED] wrote: Is there a possibility to write some values from the session to the jsp, without having a bean for this value? Yes, with standard JSP: %= session.getAttribute(mySessionAttr) % See

How i can execute the tag bean:write ../ inside the tag html:hidden

2002-06-03 Thread Ferran Parra
Hi I'm using strtus 1.0.2 and Jrun 3.1, and my jsp page look like this: html:hidden property=id value='bean:write name=usuario property=id/'/ and produces this output in the web browser: input type=hidden name=id value=lt;bean:write name=quot;usuarioquot;

RE: Where to put the code for filling an ArrayList

2002-06-03 Thread Anders Rosén
As a custom tag? I do this in one of my applications, when populating selects from a table in a database. %@ taglib uri=/WEB-INF/myTagLib.tld prefix=custom % custom:myTag name=list/ html:select property=aProperty html:options collection=list property=value

RE: How i can execute the tag bean:write ../ inside the tag html:hidden

2002-06-03 Thread Galbreath, Mark
html:hidden property=id value=bean:write name=\usuario\ property=\id\ / / -Original Message- From: Ferran Parra [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 11:28 AM html:hidden property=id value='bean:write name=usuario

Re: How i can execute the tag bean:write ../ inside the tag html:hidden

2002-06-03 Thread Nicolas De Loof
JSP tags use XML syntax and so they cannot be nested as attribute values this way. You can use scriptlet notation to define tags attributes at run time : html:hidden property=id value='%= myData % / So you just have to define a scripting variable to handle your datas bean:define id=myData

Re: Using formbean effectively.

2002-06-03 Thread @Basebeans.com
Subject: Re: Using formbean effectively. From: Vic C [EMAIL PROTECTED] === If it is defined in action mappings then: MyFormBean fb = (MyFormBean) formbean; // passed from execute(); fb.populate(); return mapping.findforward(sucess); Yaman Kumar wrote: Hi, I have an frist.java (action

Re: Newbie Question

2002-06-03 Thread @Basebeans.com
Subject: Re: Newbie Question From: Vic C [EMAIL PROTECTED] === You have a property in your from bean called getRowCount() Rajesh Thota wrote: This may look silly but my lack of knowledge with struts is making me ask this question. Let us say I have a HTML form which retrieves a set of

Nested iterate name

2002-06-03 Thread David Morris
I am using the 1.1b1 nested tags and ran into something that seems inconsistent. When I specify a form like: html:form action=myform nested:iterate name=mybean property=mybeanproperty nested:text property=mybeanpropertyproperty ... I get an error that mybeanproperty, which is an ArrayList is

RE: Websphere 4.02 Struts Deployment

2002-06-03 Thread Benson, Mike
Danny, Just wanted to say thanks, everything seems to be working once I replaced the Xalan/Xerces binaries. Thanks, Mike -Original Message- From: Danny Mui [SMTP:[EMAIL PROTECTED]] Sent: Saturday, June 01, 2002 2:07 AM To: Struts Users Mailing List Subject: Re: Websphere

commons ConvertUtils error?

2002-06-03 Thread Peter Onthrops
I have a form with a Timestamp attribute. The value of the timestamp can be an empty. I am getting a ConversionException because a call is being made to ConvertUtils and then SqlTimestampConverter with the empty value - which throws the exception when the value is null or not in the proper

Using redirect=true with tiles component

2002-06-03 Thread Raffy_Lata
I have the following entry in my config action path=/login type=com.ffic.training.LoginAction name=logonForm scope=session input=/Login.jsp forward name=success path=welcome.page redirect=true/ /action My tiles definition xml is as follows definition name=welcome.page

Global-Forwards Question

2002-06-03 Thread Jerry Jalenak
Hi All, Is it possible to use the mapping.findForward method to forward to another ActionServlet? I have two ActionServlets that both need to forward to a third, common ActionServlet. In my struts-config, I have the following line: global-forwards forward

maybe someone knows. Desesperated

2002-06-03 Thread Adolfo Miguelez
Has any of you, by chance, inserted an java.sql.Struct (which holds an OracleConnection) data into an Oracle DB by using a connection obtained from a WTE datasource (instance of OracleConnectionProxy)? Is it possible? TIA, Adolfo.

Re: Global-Forwards Question

2002-06-03 Thread Vincent Aumont
Have you tried: global-forwards forward name=thirdAction path=/thirdAction.do / /global-forwards or global-forwards forward name=thirdAction path=/do/thirdAction / /global-forwards -vincent. Jerry Jalenak wrote: Hi All, Is it possible to use

forward to a tile definition.........

2002-06-03 Thread Trieu, Danny
Hi all, Does anyone know why ActionForward can't find my Tiles' definition? When I used:forward name=success path=my.tile.definition.page / it is giving me the HTTP 500 Internal server error. I guess it couldn't find my definition or doesn't have a clue what path is.

RE: Global-Forwards Question

2002-06-03 Thread Jerry Jalenak
Yeah, I have. Still doesn't seem to find the ActionServlet. Since the path parameter is for a relative path, I'm wondering if I need to further qualify the path to the servlet (however I don't get any errors from Tomcat...) Jerry -Original Message- From: Vincent Aumont [mailto:[EMAIL

Re: forward to a tile definition.........

2002-06-03 Thread Raffy_Lata
Do you have the following entry in your struts-config.xml? !-- Tiles -- controller processorClass=org.apache.struts.tiles.TilesRequestProcessor / Trieu, Danny [EMAIL PROTECTED] on 06/03/2002 10:45:10 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL

RE: forward to a tile definition.........

2002-06-03 Thread Trieu, Danny
damm I forgot thanks so much ... -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 10:54 AM To: Struts Users Mailing List Subject: Re: forward to a tile definition. Do you have the following entry in your

RE: Global-Forwards Question

2002-06-03 Thread Jerry Jalenak
Further clarification I do get a 'Page cannot be found' when I use the path='/thirdAction.do' format. Jerry -Original Message- From: Vincent Aumont [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 12:47 PM To: Struts Users Mailing List Subject: Re: Global-Forwards Question

RE: forward to a tile definition.........

2002-06-03 Thread Trieu, Danny
do you know where in the tiles distribution that Cedric talk about this? -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 10:54 AM To: Struts Users Mailing List Subject: Re: forward to a tile definition. Do you have

servlet context/Action class - performance question.

2002-06-03 Thread sgouris
The requirement is to display a page with some categories just like the yahoo homepage. The link of each main category will have to show the subcategories of that category in a similar page. The level of this tree goes one more level inside. All this information is built ofcourse by retrieving

Re: Global-Forwards Question

2002-06-03 Thread Bharat Nagwani
have you defined the servlet in web.xml At 10:46 AM 6/3/2002 -0700, you wrote: Have you tried: global-forwards forward name=thirdAction path=/thirdAction.do / /global-forwards or global-forwards forward name=thirdAction path=/do/thirdAction /

Re: Global-Forwards Question

2002-06-03 Thread Craig R. McClanahan
Trying to run multiple ActionServlet instances in the same web application is going to cause you no end of grief, and is not a supported configuration. You should organize your app so that it uses a single instance of the controller. Craig McClanahan On Mon, 3 Jun 2002, Jerry Jalenak wrote:

RE: Global-Forwards Question

2002-06-03 Thread Jerry Jalenak
No, I haven't. Now that I think about this, my first two ActionServlets are defined through the action ./ tags in struts-config. There is no place where I define thirdAction. Can I create a 'dummy' action../ definition that only defines the path, name, and scope for the action? Jerry

Re: servlet context/Action class - performance question.

2002-06-03 Thread Bharat Nagwani
We store much more information that in our application context and dont have any performance issues. We store all our master data (static) on startup. The performance is enhanced. Again it depends on how much data you have and how much it is supposed to grow over time. That you should consider.

RE: Global-Forwards Question

2002-06-03 Thread Jerry Jalenak
Craig, Sorry for the confusion - this is a bad use of terminology on my part. I'm not using multiple ActionServlets (i.e. controllers) - rather multiple Actions as defined in struts-config by the action.. / tags. Jerry -Original Message- From: Craig R. McClanahan [mailto:[EMAIL

RE: Global-Forwards Question

2002-06-03 Thread Jerry Jalenak
Figured it out. I needed to define the Action via a action .. / tag in struts-config.xml. I only specified the path and type parameters. Thanks for everyones input! Jerry -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 1:08 PM

RE: How to Install Struts on WebSphere 4 ?

2002-06-03 Thread Benson, Mike
The following link has helped me greatly: http://marc.theaimsgroup.com/?l=struts-userm=102142014616118w=2 Mike -Original Message- From: eilison Lee [SMTP:[EMAIL PROTECTED]] Sent: Sunday, June 02, 2002 7:23 AM To: [EMAIL PROTECTED] Subject: How to Install Struts on

Re: Configurable UI Design

2002-06-03 Thread James Mitchell
I'm pulling this over to the Struts list from servlet interest. Have you signed up for the struts-users list at apache yet? It's a pretty high-volume list, so make your choice wisely ;-) Either way, we should be able to finish this thread and anyone at struts-users please give comments/insults

Button pressed

2002-06-03 Thread Carlos Fernandez
Hi guys, I'd like to know if there is a way that I will know which button was pressed. I have two buttons in the JSP (Edit and Continue). In my action class I need to know which one of those was pressed. Thanks in advance. Carlos. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

RE: Button pressed

2002-06-03 Thread Leonardo Maciel
set the property on JSP file: html:submit property=edit value=Edit/ on action class: if (request.getParameter(edit) != null ) { // means edit was pressed } -Original Message- From: Carlos Fernandez [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 2:27 PM To: Struts

RE: Button pressed

2002-06-03 Thread Sri Sankaran
You could use the DispatchAction class. See http://jguru.com/faq/view.jsp?EID=897290. Of course, this is doing more than what you have asked for -- however I suspect (going by the button names) that that's what you want. Sri -Original Message- From: Carlos Fernandez [mailto:[EMAIL

Re: Button pressed

2002-06-03 Thread Bharat Nagwani
one more alternative create a hidden field and assign a value to it (edit or continue) using javascript and check that hidden field in request.getParameter... At 02:26 PM 6/3/2002 -0400, you wrote: Hi guys, I'd like to know if there is a way that I will know which button was pressed. I have

RE: Button pressed

2002-06-03 Thread Carlos Fernandez
Thanks guys, but...as a company policy, we are not suppose to use java script. -Carlos. -Original Message- From: Bharat Nagwani [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 2:39 PM To: Struts Users Mailing List Subject: Re: Button pressed one more alternative create a hidden

RE: Button pressed

2002-06-03 Thread Christian Velez
This can be placed in URL. e.g. EditFormAction.do?action=Edit EditFormAction.do?action=Continue Test the request parameter value. Christian -Original Message- From: Carlos Fernandez [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 2:27 PM To: Struts Subject: Button

Re: Button pressed

2002-06-03 Thread Bharat Nagwani
Dont know if this will work Try using IMG SRC=URL instead of regular button with the URL having a different query string for edit and continue. eg ...?action=edit At 02:26 PM 6/3/2002 -0400, you wrote: Hi guys, I'd like to know if there is a way that I will know which button was pressed. I

RE: Button pressed

2002-06-03 Thread Galbreath, Mark
That's a joke, right? This reminds me of a client I consulted last year who insisted on interactive graphing with Active X rather than Java applets because of security concerns. And it's JavaScript, not java script. -Original Message- From: Carlos Fernandez [mailto:[EMAIL PROTECTED]]

RE: Button pressed

2002-06-03 Thread Ady Das-O'Toole
Assign a name to the button object, then in your action class iterate through all the form attributes, the pressed button will show up with it's corresponding name and a suffix of .X or .Y, it's a tedious way to do it especially if you have a large number of form elements, I prefer using

RE: Button pressed

2002-06-03 Thread Galbreath, Mark
Another kludgey way around not using JavaScript would be to put the buttons in different forms. -Original Message- From: Christian Velez [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 2:49 PM To: 'Struts Users Mailing List' Subject: RE: Button pressed This can be placed in URL.

RE: Configurable UI Design

2002-06-03 Thread Galbreath, Mark
If James thinks it's crazy, I'm not going to touch it(though the invitation for insults was tempting) ;-) -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 2:24 PM Either way, we should be able to finish this thread and anyone at

Servlets do NOT refresh after recompile

2002-06-03 Thread Ryan Norman
Hi, I am Norman. I am running Tomcat 4.0, Struts 1.02, JDK 1.3 When I recompile my servlets after making some changes to them, they do not refresh immediately. I have to stop and restart tomcat to do this. Can somebody throw some lights on what is missing in my configuration?. Thanks in

Re: Servlets do NOT refresh after recompile

2002-06-03 Thread Marcelo Vanzin
Ryan Norman wrote: I have to stop and restart tomcat to do this. Can somebody throw some lights on what is missing in my configuration?. You need to read tomcat's configuration to see how to configure the reloadable option in server.xml, or how to use the manager app to reload your

Re: Servlets do NOT refresh after recompile

2002-06-03 Thread Marcelo Vanzin
Marcelo Vanzin wrote: You need to read tomcat's configuration to see how to configure the Tomcat's documentation, I mean. -- []'s Marcelo Vanzin Touch Tecnologia [EMAIL PROTECTED] Life is too short to drink cheap beer -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: [MVC-Programmers] CachedRowSet - updates limited to single table

2002-06-03 Thread @Basebeans.com
Subject: Re: [MVC-Programmers] CachedRowSet - updates limited to single table From: Vic Cekvenich [EMAIL PROTECTED] === A good use for Cached Row Set is as a disconnected collection of rows. I use it to store the data after I do a Select (instead of a collection) A nice feature of RowSet is

Re: A common problem: Cannot find ActionMappings or ActionFormBeans?

2002-06-03 Thread @Basebeans.com
Subject: Re: A common problem: Cannot find ActionMappings or ActionFormBeans? From: Jesper Lindholt Ottosen [EMAIL PROTECTED] === This is a multi-part message in MIME format. --68C26815A99A3A9AB79375FC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi

Pros and Cons of Struts

2002-06-03 Thread @Basebeans.com
Subject: Pros and Cons of Struts From: Sanjib Islam [EMAIL PROTECTED] === I am presently evaluating struts as a presentation framework for our upcoming project. Could anyone please provide a list of some of the pros and cons that they might have experienced in their projects? Thanks. -- To

Re: Design Advice - Relational Databases Java Objects

2002-06-03 Thread Adam Hardy
As mentioned elsewhere, getting a database connection from the web tier is not a good practice. The Struts framework does try to encourage best practice but sometimes takes a dip in the pool of pragmatism. The Generic Connection pool is one example of this. The data access objects should take

NullPointerException in Validator v1.0 GenericValidator.isDate

2002-06-03 Thread Bielby, Randy J
I am using the Validator pre Struts 1.1. I am getting a null pointer when validating a date via the GenericValidator.isDate(String, Locale). It looks like the formatter that is used to parse the string value is never intialized. The variable formatter is there but is never initialized via

Re: Handling check for logged-inness using a tag?

2002-06-03 Thread Adam Hardy
What does the forward to a jsp that's in the WEB-INF look like? Adam James Mitchell wrote: Assuming that the location of the jsp were decided for you, I would think that you wouldn't want anyone hitting a 'struts-ified' jsp regardless of authentication. I think these are separate issues. I

Re: multiple frames

2002-06-03 Thread Adam Hardy
Hi Matthias, the frames issue is totally meaningless to struts - each frame acts as an individual page, therefore struts thinks of the requests as normal browser windows. If your index.html has a frameset tag in it, it can't have any other html - it supports the pages in the frames. Your

RE: Pros and Cons of Struts

2002-06-03 Thread Galbreath, Mark
Well, I have worked with a number of pros in the course of my present Struts project, but I don't know if any are felons. -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 3:55 PM I am presently evaluating struts as a presentation framework

Re: Design Advice - Relational Databases Java Objects

2002-06-03 Thread Kevin . Bedell
As mentioned elsewhere, getting a database connection from the web tier is not a good practice. The Struts framework does try to encourage best practice but sometimes takes a dip in the pool of pragmatism. The Generic Connection pool is one example of this. The data access objects should

Re: Configurable UI Design

2002-06-03 Thread James Mitchell
I was hoping you wouldn't start a James Mitchell is rude and ignorant thread :-) James - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, June 03, 2002 3:03 PM Subject: RE: Configurable UI Design If James

Re: Button pressed

2002-06-03 Thread James Mitchell
I think (based on at least 3 similar threads) that the best approach is to have a field on your bean named 'action' and figure out later in the action class which was pushed (e.g. form.getAction()) If you have concerns about i18n, there is a work-around for that using the same technique.

RE: Configurable UI Design

2002-06-03 Thread Galbreath, Mark
Nah...you just suck. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 5:16 PM I was hoping you wouldn't start a James Mitchell is rude and ignorant thread :-) James - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To:

Re: Pros and Cons of Struts

2002-06-03 Thread Bharat Nagwani
referring to the four taglibs - bean, html, logic and template we make use of all. All work very nice. thats the pro. For cons, i think these taglib's can make the app slower since there are now more classes being instantiated/re-used compared to using straight scriptlets or html. At 12:55 PM

Need Advice on dynamic variable substitution

2002-06-03 Thread Paul Idusogie
I have the following within a jsp page that uses a template. In this page I assign values to variables that are used within the template clause template: .. /template:... but it does not work For example the title page (title.jsp) does not set the window title with the value stored in %=

RE: Button pressed

2002-06-03 Thread Joseph Barefoot
'tis no joke, unfortunately. JavaScript is disallowed for any customer applications by company policy here as well (but okay for internal apps.). The argument is that JavaScript is not evenly supported amongst different browsers. Try the counter-argument that only certain features of JavaScript

RE: Button pressed

2002-06-03 Thread Galbreath, Mark
No argument here...Marketing has no clue, but controls the money. -Original Message- From: Joseph Barefoot [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 6:07 PM To: Struts Users Mailing List Subject: RE: Button pressed 'tis no joke, unfortunately. JavaScript is disallowed for

RE: Pros and Cons of Struts

2002-06-03 Thread Dan Cancro
I have an Excel file full of notes from the mailing lists on various frameworks and other web development products. I update it every day as I read about other peoples' experiences. You can download a fairly current version from here:

nested tag issue

2002-06-03 Thread Chen, Dean (Zhun)
Hi, I am trying to use the nested tag. It's giving me a null pointer exception if I try access a method of the nested tags by itself. However, if I enclose it in a html:form... then it'll work. Any ideas? Thanks, This works, where filter.do maps to the form that holds myCollection: html:form

ValidatorPlugin and Dynamic Action Forms?

2002-06-03 Thread Rick Reumann
Not trying to be a pest re-posting but maybe some gurus missed the post.. I'm curious if anyone knows how to get a DynaActionForm configured to uses struts validation? I searched the archives here but only found someone else with the same question which no one answered, so maybe it can't be

Any link to get the details of Using Struts Framework with Jbuilder6

2002-06-03 Thread Metla, Suri
Any link explains Using Struts Framework with Jbuilder6 Regards Suri -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Any link to get the details of Using Struts Framework with Jbuild er6

2002-06-03 Thread emmanuel.boudrant
@see http://jakarta.apache.org/struts/resources.html#tutorials -Emmanuel Metla, Suri [EMAIL PROTECTED] a écrit : Any link explains Using Struts Framework with Jbuilder6 Regards Suri -- To unsubscribe, e-mail: For additional commands, e-mail: - Yahoo!

RE: Configurable UI Design

2002-06-03 Thread Chappell, Simon P
Feel the Lurve! :-) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 4:34 PM To: 'Struts Users Mailing List' Subject: RE: Configurable UI Design Nah...you just suck. -Original Message- From: James Mitchell [mailto:[EMAIL

Re: nested tag issue

2002-06-03 Thread David Morris
Dean, This is like the blind leading the blind. I wonder why you don't want to declare a form but something like this should work: nested:root name=attributeNameOfBeanContainingYourCollection nested:nest property=myCollection nested:iterate property=myCollection nested:write property=myDate/

Re[2]: ValidatorPlugin and Dynamic Action Forms?

2002-06-03 Thread Rick Reumann
On Monday, June 3, 2002, 7:21:03 PM, Mark wrote: GM Not ignoring you, Rick...I haven't used DynaActionForm (yet). he he no problem:) I didn't think you were... well unless it was Friday :) -- Rick mailto:[EMAIL PROTECTED] One thing kids like is to be tricked. For instance, I was going to

RE: ValidatorPlugin and Dynamic Action Forms?

2002-06-03 Thread Honman Lee
Hello, Does struts have a taglib that will provide the functionality for a user to download from an output stream? Thanks for you assistance. -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 4:21 PM To: 'Struts Users Mailing List'

validation behavior

2002-06-03 Thread Richard Murphy
Hi All: I just wanted to confirm some behavior I'm seeing with validation and hopefully get a recommendation or two. I'd like to have action perform pass either the form values from a post or the request parameters from a get to a facade. It seems like there's no way to validate the post but

Options Tag, Property Attribute and Accessor Consumption.

2002-06-03 Thread hemant
Comrades, Here is a Scenario. Let us say we have 2 kinds of value objects extending a base ValueObject. AVo and BVo extend BaseVo and BaseVo has a method getKey() Now I have a collection of AVo's and another collection of BVo's. I want to provide the descriptions of these VO's in a dropdown

Re: Any link to get the details of Using Struts Framework with Jbuild er6

2002-06-03 Thread James Holmes
The Struts Console software plugs into JBuilder to make managing Struts config files very easy. http://www.jamesholmes.com/struts/ -james [EMAIL PROTECTED] --- Metla, Suri [EMAIL PROTECTED] wrote: Any link explains Using Struts Framework with Jbuilder6 Regards Suri -- To

RE: Button pressed

2002-06-03 Thread Andrew Hill
Yes. Surely 'java script' is what goes in jsp scriptlets to be killed, uh.. executed on the server. And of course on the client, its only JavaScript if your using Nutscraper. IE calls it JScript, and the standards blessed name is ECMAScript. (Of course the variants arent identical between

Re: related to: Re: #2 - Use DispatchAction to organize related operations

2002-06-03 Thread Chuck Cavaness
Rick, Let me mention something. One potential problem with this approach is that by the time the action is called, may be too late. You really need to catch this earlier. I had implemented something along these lines awhile back and soon remembered that the ActionForm is populated and the

RE: ValidatorPlugin and Dynamic Action Forms?

2002-06-03 Thread Craig R. McClanahan
On Mon, 3 Jun 2002, Honman Lee wrote: Date: Mon, 3 Jun 2002 16:43:59 -0700 From: Honman Lee [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: ValidatorPlugin and Dynamic Action Forms? Hello, It's much

Re[2]: related to: Re: #2 - Use DispatchAction to organize related operations

2002-06-03 Thread Rick Reumann
On Monday, June 3, 2002, 10:58:07 PM, Chuck Cavaness wrote: CC What I suggest is to look at the processPreprocess() method in the CC RequestProcessor and possibly override this to do your checks. It's called CC for every request and long before ActionForm's are populated and Action's CC are

  1   2   >