Re: [OT] RE: J2EE certified

2003-08-15 Thread Alen Ribic
Just create a noise box and dump things like this in it. Does the job well. ;) Subjects aint standardised anyway. Some read [OT] other [OFF TOPIC], [???nothing???], etc. I can't really filter this so I just read first 1 or two threads and decide if it's relevant info to the reason I subscribed to

[OT] RE: J2EE certified

2003-08-15 Thread Micael
This discussion has gotten a little wonky. Let me suggest you add [OT] to this stuff. At 02:09 AM 8/16/2003 +0400, message message wrote: Also if somebody logged on Sun Microsystems' mailing list using tomcat or JBOSS, I guess he/she would be treated some hostility because he could write appl

Re: persisting session id

2003-08-15 Thread Billy Ng
Can I put the JSESSIONID in the persistent cookie? When user hit the page, will the serlvet pick up the JSESSIONID from the cookie instead of memory? Billy Ng This mailbox protected from junk email by Matador from MailFrontier, Inc. http://inf

Re: Saving as CSV

2003-08-15 Thread Max Cooper
I would recommend against creating a temp file, unless it will be created, streamed back to the browser, and then deleted all within the scope of a single request. Creating files often leads to security holes (who can request the created file?), and not doing everything in one request leads to the

Re: persisting session id

2003-08-15 Thread Max Cooper
You will lose the session when you close the browser. The session cookie is not persistent, which means your browser will "forget" the session id when it shuts down. In addition to that, the app server will destroy old sessions after a timeout period that can be set in web.xml (usually 90 minutes o

How to use DispatchAction ? (cont.)

2003-08-15 Thread Erez Efrati
To make it clearer, if I have the following methods: create - just displays the form with empty fields. edit - reads registration data from db and displays the form save - save registration data to/back to the db The RegAction (a DispatchAction) implements all three methods. In the JSP I have

How to work with DispatchAction ?

2003-08-15 Thread Erez Efrati
I am trying to work with the DispatchAction that everybody is saying is such a good type of action. Say I have a 'RegAction' sub-classing DispatchAction with the following methods: edit, create, and save. I use

Re: where is JSESSIONID?

2003-08-15 Thread Koni Roth
If the browser does not accept cookies it is stored in the URL. If the browser accepts cookies it is stored in the memory (session). Koni Billy Ng wrote: Hi folks; Anybody knows where is the JSESSIONID cookie is? I search the whole Cookies folder, I can't find it. Billy Ng ---

where is JSESSIONID?

2003-08-15 Thread Billy Ng
Hi folks; Anybody knows where is the JSESSIONID cookie is? I search the whole Cookies folder, I can't find it. Billy Ng This mailbox protected from junk email by Matador from MailFrontier, Inc. http://info.mailfrontier.com

Re: From prepopulation, validation and reset

2003-08-15 Thread Ted Husted
If you forward to an input action (with validate=false set), then reset would be called, but the autopopulation would fire too, so the form is repopulated with the same values the user entered (which are still in the request). What would be lost is any ActionForm values you changed in validate,

Re: persisting session id

2003-08-15 Thread Koni Roth
As far as I know there is not really an easy way to keep the session if you close the browser. If you really want to keep it persistent you would have to save it somehow in a file or in a database. Search at google for more information. Koni Billy Ng wrote: Hi folks, This is really a tomcat r

Re: PropertyMessageResources - have I outgrown it?

2003-08-15 Thread Sgarlata Matt
You have definitely outgrown PropertyMessageResources ;-) You would be much better off with some sort of object-to-relational mapping tool. I use Torque, but I have heard a lot of talk about Hibernate on this list. Good luck, Matt - Original Message - From: "Sasha Borodin" <[EMAIL PROTE

PropertyMessageResources - have I outgrown it?

2003-08-15 Thread Sasha Borodin
Howdy, I'd like to pose a design question to the web-developers using Struts, concerning the functionality and proper usage of MessageResources. This is a really cool out of the box feature - I love the ease with which one can maintain libraries of messages, and the seamless integration of these

Re: From prepopulation, validation and reset

2003-08-15 Thread Jing Zhou
- Original Message - From: "Craig Margenau" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 15, 2003 2:33 PM Subject: From prepopulation, validation and reset > The prepopulation of form offered through ActionForms and the html:form tag is great, the only problem is tha

Re: From prepopulation, validation and reset

2003-08-15 Thread K.C. Baltz
I'd like an answer to this one too. (It's fortuitous--I just ran into this problem today) K.C. Craig Margenau wrote: The prepopulation of form offered through ActionForms and the html:form tag is great, the only problem is that when the validate method returns errors, and your input page is ca

RE: J2EE certified

2003-08-15 Thread message message
Also if somebody logged on Sun Microsystems' mailing list using tomcat or JBOSS, I guess he/she would be treated some hostility because he could write applications using J2EE without paying for the J2EE compliancy fee. From: "message message" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing

Re: validation - phone, state, & zipcode

2003-08-15 Thread David Thielen
Hi; I figure you can do something that does the best it can for each country. And it gets improved over time. For example, the first rev would probably only actually check 4 or 5 countries and all others would be "approved." But over time it would be added to. But it does require passing a locale

testing

2003-08-15 Thread Emerson Cargnin
just testing... -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: [OT] Text editor usage (was RE: [OT]: What is vim?)

2003-08-15 Thread Thorbjørn Ravn Andersen
Sundar Narasimhan wrote: a lot more benefits. I think an open "plugin-based" IDE like Eclipse can do much, much more.. by actually embedding Emacs within the IDE as a true component plugin, much like it allows the embedding of multiple HTML/JSP editors, viewers or VCM tools etc. Emacs is most

Re: DynaActionForm and nesting

2003-08-15 Thread Hary
--- Hary <[EMAIL PROTECTED]> wrote: > Hi, > I am trying to build on the example problem given in > > Succeeding with Struts: Indexed properties and Beans > by James Turner. > http://www.developer.com/java/ejb/article.php/2233591 > I have Purchase Order PO.java that has array of > POLine > items.

RE: J2EE certified

2003-08-15 Thread message message
There was a dispute by IBM over the specification so IBM's websphere 3.5 wasn't j2ee compliant ? From: "Brian Lee" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: RE: J2EE certified Date: Fri, 15 Aug 2003 13:32:47 -0400 The main advanta

Re: Struts Wiki

2003-08-15 Thread Ted Husted
The wiki was set up for the whole of Apache, and, AFAIK, there are no limits. http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsProjectPages%20 A wiki is great for making comments, but it's not such a good vehicle for transporting the documentation and maintaining it over time. A good project

Re: Stuts Tags Syntax Question

2003-08-15 Thread David Erickson
Solved my own question.. the second one i listed below is the correct one.. had to dig through some api stuff and realized my error was caused by another problem on my page.. with a similar name, hate that =) - Original Message - From: "David Erickson" <[EMAIL PROTECTED]> To: "Struts Mail

From prepopulation, validation and reset

2003-08-15 Thread Craig Margenau
The prepopulation of form offered through ActionForms and the html:form tag is great, the only problem is that when the validate method returns errors, and your input page is called again, the reset() method is called thus nullifying any user inputed values. So if a user screws up 1 field on a

Stuts Tags Syntax Question

2003-08-15 Thread David Erickson
Hi I have a form bean named edituserForm which has a getter method getUser() which returns my custom User class bean, and I'm trying to render the value returned by my User Beans getId() method.. what syntax would I use? here's what ive tried with no luck.. Both return error [ServletExceptio

Re: validation - phone, state, & zipcode

2003-08-15 Thread Bruce Geerdes
I'd be happy with just a standard mechanism for doing validation by country. Struts has a locale for the view, but what if we want to do validation by country instead? I worked together a prototype for an old 1.1 beta that used a second locale for validation but it wasn't every elegant and thu

Re: Struts Wiki

2003-08-15 Thread Adam Hardy
This is something I'm also interested in. I believe self-improving documentation can help greatly. I don't know who put the wiki up there or what they intended to use it for, or even if there is a limit on the amount of info that the wiki will take. I'll try to look at it at some point soon si

Re: Newbie Nested Tag Question

2003-08-15 Thread Lynda Brown
Thanks for the suggestion, late last night I finally found my problem. I needed to delete the old nested-tags.jar file from my libs folder. When I downloaded the keyboard monkey tutorial it came with that jar file - but since I am using Struts 1.1 - I don't need it and it actually causes proble

Re: How to keep session info??

2003-08-15 Thread Jacek Zoch
- Original Message - From: "Steve Raeburn" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, August 15, 2003 4:04 PM Subject: RE: How to keep session info?? > > But if redirect to another web application your session is lost > > That's by design.

persisting session id

2003-08-15 Thread Billy Ng
Hi folks, This is really a tomcat related question, but I have no luck in tomcat ailing list. My question is I will lose the session everytime I close the browser. Is there a way to persist the session even I close the browser? Thanks! Billy Ng

RE: validation philosophical question

2003-08-15 Thread Yansheng Lin
I think Ted was way off his mind when he said validator framework was just a convinience. Validator was introduced to address the redundancy issue in terms of how struts handles different levels of validation. Also I got a good laugh when you say you can compensate a slow design with a faster har

Re: validation - phone, state, & zipcode

2003-08-15 Thread Adam Hardy
Do you want one that makes you coffee at the same time? ;) I don't think that there is even a java.util.Locale property for postcode format or phone number length (which judging by British Telecom can be random!). Are there any ISO standards for that? Adam On 08/14/2003 06:52 PM David Thielen

Re: Newbie Nested Tag Question

2003-08-15 Thread Adam Hardy
Hi Lynda, your code looks fine, I can't see anything wrong with it. From the exception message it seems that the nested iterate tag is looking for something in the page context but is providing a null name for it - I assume it is looking for the form bean. You don't include your form tag - perh

Re: validation philosophical question

2003-08-15 Thread Adam Hardy
The logical extension to what Ted is suggesting is a combination of DynaValidatorForm and BeanUtils.CopyProperties which I assume would do the whole validation and conversion at once. This implies that you would specify the class for your DTO or value bean that you want BeanUtils.CopyPropertie

Re: html:checkbox, iterate and a value

2003-08-15 Thread David Erickson
Here's how I'm doing it: PermissionDescription My form contains a getter for indexedBeans that returns an ArrayList, and it iterates through each item of that storing my custom bean in indexedBean. IndexedBean has getters and setters for available, id, description. My

Re: html:checkbox, iterate and a value

2003-08-15 Thread Gregory F. March
On Aug 15, 2003, "Ben Anderson" <[EMAIL PROTECTED]> wrote: |have you looked at multibox? No, I haven't. But, I have now... :-) It has the same issues as combobox however. Also, I was aware of your solution with non struts tags, but I was hoping for a "struts only" solution. Another soluti

Re: Action mapping 'inputForward'

2003-08-15 Thread Jing Zhou
- Original Message - From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, August 15, 2003 11:05 AM Subject: Re: Action mapping 'inputForward' > On Fri, 15 Aug 2003, Erez Efrati wrote: > > > Date: Fri, 15 Aug 2003 18:49:25 +020

RE: J2EE certified

2003-08-15 Thread Brian Lee
The main advantage is marketing. Since only a few apps are verified, you can tell your clients "My product is j2ee verified by sun, but company x is not. Who knows what it will do?" Not much of an advantage. But remember all the fud that bea threw back when IBM didn't certify their app server?

Re: Building Struts 1.1 against servlet 2.2/2.3

2003-08-15 Thread Craig R. McClanahan
On Fri, 15 Aug 2003 [EMAIL PROTECTED] wrote: > Date: Fri, 15 Aug 2003 18:09:58 +0100 > From: [EMAIL PROTECTED] > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Building Struts 1.1 against servlet 2.2/2.3 > > Hi, > > I am creating a build of the Struts 1.

Building Struts 1.1 against servlet 2.2/2.3

2003-08-15 Thread kosh.podder
Hi, I am creating a build of the Struts 1.1 source distribution for use by development teams, where their applications are based on either servlet 2.2 or 2.3. The build instructions indicate that Struts can be built against either the 2.2 or 2.3 servlet.jar. Can the same build built with either

Re: html:checkbox, iterate and a value

2003-08-15 Thread Ben Anderson
have you looked at multibox? this produces something like:

Populating an ArrayList in an ActionForm from with in a iterate tag

2003-08-15 Thread Meka Struts
Hi, I am browsing an ArrayList from a view, it contains questions. The arraylist is called questionAL. Now i am iterating the questionAL using logic:iterate as below I am trying to take answers from the user using a text area that is right below every question. I want to read all the

java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource

2003-08-15 Thread Ashish Kulkarni
Hi i am using struts 1.1 and i just copied all the jar files from struts-blank application, but i keep getting this error i have defined a datasource in struts-config file what am i missing Ashish __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site de

html:checkbox, iterate and a value

2003-08-15 Thread Gregory F. March
What is the "proper" way to build html:checkbox's inside of an logic:iterate loop? It seems that the html:checkbox's value parameter can't reference a property from the bean of the iterate loop. I have something close to: ... ... ... The html:link works great. I just don't know

Re: Saving as CSV

2003-08-15 Thread Mark Zeltser
Chirag, Take a look at display tag: http://edhill.its.uiowa.edu/display-examples/ Mark. Chirag Mehta <[EMAIL PROTECTED]> wrote: > >Hi again, > >Does anyone know how you would save a dynamically generated table as a >csv file? > >Is there a method that will do it from the generated HTML or wou

Re: Will Pop-Up Window Share The Same Session?

2003-08-15 Thread K.C. Baltz
Glad we could help :) Hohlen, John C wrote: I've answered my own questions: 1) Yes - It will share the session. 2) The reason I was getting a blank screen was due to some missing "<" and ">" in the struts config. Doohhh!! It should have been: type="com.erac.edge.presentation.custome

Saving as CSV

2003-08-15 Thread Chirag Mehta
Hi again, Does anyone know how you would save a dynamically generated table as a csv file? Is there a method that will do it from the generated HTML or would you have to do it from the database resultset? If so, how would you do it? where would you create a temp file? Thanks a million Chirag -

RE: Action mapping 'inputForward'

2003-08-15 Thread Erez Efrati
Lately I've been posting some messages regarding writing Wizards using Struts and asked a lot of question, to which none of them I got any answer... sad but true. I solved it but still I would like to hear what is your point of view. In my case I have a Registration wizard using a form on a sessi

RE: No getter method -- Please HELP!

2003-08-15 Thread Mitesh Kapadia
Thanks, Erez -- it worked! --- Erez Efrati <[EMAIL PROTECTED]> wrote: > Yep, it is case sensivite.. in your JSP it's > orgid.. not orgId as > should be. > > Erez > > -Original Message- > From: David Graham > [mailto:[EMAIL PROTECTED] > Sent: Friday, August 15, 2003 6:06 PM > To: Struts

RE: validation philosophical question

2003-08-15 Thread Yansheng Lin
You misunderstood me. I didn't presume that all my clients will run javascript(that's one of the issue addressed by the validator framework), but most of them are anyway(aren't u?). For those ones who are running js, they wouldn't have to wait for 5 seconds for an error msg telling them that th

RE: No getter method -- Please HELP!

2003-08-15 Thread Erez Efrati
Yep, it is case sensivite.. in your JSP it's orgid.. not orgId as should be. Erez -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 6:06 PM To: Struts Users Mailing List Subject: Re: No getter method -- Please HELP! You need to use the proper

RE: No getter method -- Please HELP!

2003-08-15 Thread Nail, Evan Burke
I think its the orgid vs OrgId thats throwing you off. your getter method should be getOrgid bn -Original Message- From: Mitesh Kapadia [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 11:03 AM To: [EMAIL PROTECTED] Subject: No getter method -- Please HELP! Hello. I have bee

Re: Action mapping 'inputForward'

2003-08-15 Thread Craig R. McClanahan
On Fri, 15 Aug 2003, Erez Efrati wrote: > Date: Fri, 15 Aug 2003 18:49:25 +0200 > From: Erez Efrati <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: Action mapping 'inputForward' > > Hi all, > > Is it rec

Re: No getter method -- Please HELP!

2003-08-15 Thread David Graham
You need to use the property name "orgId" in your JSP because your getter method is getOrgId(). David --- Mitesh Kapadia <[EMAIL PROTECTED]> wrote: > Hello. > > I have been having some problems when trying to render > my jsp. I get the following error message: > > org.apache.jasper.JasperExce

RE: Iterate Tag Question

2003-08-15 Thread Jones, Marty B.
Matt, Yes it does. I was hoping to get rid of scriplets if possible. I cannot use JSTL yet because our jsp container does not support the jsp 1.2 spec. (Jrun 3.1). We are going to migrate to Jrun 4 soon which supports the jsp 1.2 spec so I will be able to use JSTL then. Guess I will have to us

html:select Not 'Selecting' My Item

2003-08-15 Thread Hunter Hillegas
I have an html:select tag that isn't playing along... I pre-populate a form in an action. I also create a TreeMap and add it to the request scope. I have the following in my JSP: The problem is not that the map doesn't display as options, they do, that is fine. The problem is that the corr

RE: Global Forwards and Tiles

2003-08-15 Thread Hue Holleran
Hi David, I think the fundamental problem here is that global-forwards are not available to be called from outside the server. If one considers the URL one might use to call global-forwards, e.g.: http://myHost/myApp/myForward ... then this will not be passed-to struts - and will instead

No getter method -- Please HELP!

2003-08-15 Thread Mitesh Kapadia
Hello. I have been having some problems when trying to render my jsp. I get the following error message: org.apache.jasper.JasperException: No getter method for property orgid of bean org.apache.struts.taglib.html.BEAN My web.xml file has the following entry for servlet-mapping: actio

RE: Will Pop-Up Window Share The Same Session?

2003-08-15 Thread Hohlen, John C
I've answered my own questions: 1) Yes - It will share the session. 2) The reason I was getting a blank screen was due to some missing "<" and ">" in the struts config. Doohhh!! It should have been: -Original Message- From: Hohlen, John C Sent: Friday, Augus

Re: Iterate Tag Question

2003-08-15 Thread Sgarlata Matt
You can implement this just as you would in any other programming environment: by saving the previous and the current value in different variables. You can do this using scriptlets, as I see you doing here. You can also do this using the JSTL (for more info, see the Jakarta Taglibs project), w

RE: Iterate Tag Question

2003-08-15 Thread Jones, Marty B.
Does anyone have any suggestions on how I can compare the previous object's parameters to determine when my object's category has changed? -Original Message- From: Jones, Marty B. Sent: Friday, August 15, 2003 7:07 AM To: [EMAIL PROTECTED] Subject: Iterate Tag Question I am using an ite

Action mapping 'inputForward'

2003-08-15 Thread Erez Efrati
Hi all, Is it recommended to use the 'inputForward'=true in the configuration? Thanks, Erez - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Will Pop-Up Window Share The Same Session?

2003-08-15 Thread Hohlen, John C
I'm trying to launch a pop-up window for displaying read only data from my main application window. I'm currently having a problem getting the new pop-up window to display anything. It's just blank, so I'm unable to answer the subject question. Here is how I'm launching the new window using t

RE: J2EE certified

2003-08-15 Thread message message
what is the point of verified application ? Assuming you are referring to the verifier tool which comes with the j2ee bundle from java.sun.com From: "Brian Lee" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: RE: J2EE certified Date: F

RE: Form Post to HTTPS (yes, a little OT)

2003-08-15 Thread David G. Friedman
I will have the need to send out an HTTPS Post (PayFlow Link or PayPal) and read the returned page. PayPal has an unsupport page of CGI's which include Java code for doing that. You might be able to customize it for yourself. I'll be trying it in the next two weeks or so I hope http://www

get data source in servlet

2003-08-15 Thread Ashish Kulkarni
Hi, I am using struts 1.1 and have defined a data source for connection pooling, in my Action class i get the data source by using simple DataSource dataSourceA = getDataSource(request, "A"); Connection myConnection = dataSourceA.getConnection(); But now i need to get the data source in a servl

RE: validation philosophical question

2003-08-15 Thread Adam Levine
and.. the follow up.. If you have the validation only in the presentation tier (reiterate: BAD design), you're going to have to duplicate that validation for all other presentation layers that may access your business tiers. Replication of work.. hrmm.. sounds like a bad design pattern to m

RE: Global Forwards and Tiles

2003-08-15 Thread Witbeck, Shane
My solution to this problem is not to define any global forwards and route everything through an Action. If you are forwarding to a simple JSP defined by a tile then define an action-mapping using a ForwardAction. HTH, Shane -Original Message- From: David Holtzhouser [mailto:[EMAIL PROT

included xml can not be resolved without a base URI?

2003-08-15 Thread Michael Muller
I'm trying to break by tiles defs into smaller files, but I'm getting the following error at tomcat startup: SEVERE: Parse Fatal Error at line 6 column -1: Relative URI "community-conf/demo/GrassyKnoll-tiles.xml"; can not be resolved without a base URI. My tiles-defs.xml looks like this:

RE: validation philosophical question

2003-08-15 Thread Adam Levine
The fallacy in your logic is that you presume *all* clients will support javascript, and thusly will run the client-side validation routines. If you rely only on this happening, and don't do a double-check in the business layers, you're asking for trouble. caveat emptor. From: "Yansheng Lin"

RE: validation philosophical question

2003-08-15 Thread Yansheng Lin
When both JavaScript and server-side validations are being used, the properties end up being cast three times, twice by the Validator and a third time when it finally gets to the business tier. No, I have to disagree. Suppose there is a required field and user didn't enter anything. With cli

RE: J2EE certified

2003-08-15 Thread Brian Lee
They force you to buy their testing prog at $2k. The bare minimum to verify your app as a j2ee app is $17k for the first year, $15k for each additional. They'll also charge $10k if you need any support during the verification process. It's just a way for sun to make money. Sun doesn't verify yo

Handling Data Submission and Prepopulation

2003-08-15 Thread Paul Martin (Developer NLW)
There is various advice to not chain Action classes. However, say have 2 pages, page A that when submitted leads on to page B, and want to prepopulate B. Should the prepopulation of page B, done by prepopulating it's associated ActionForm bean, be done in the Action class that handles page A's su

RE: How to keep session info??

2003-08-15 Thread Steve Raeburn
> But if redirect to another web application your session is lost That's by design. Sessions belong to a single web application. The Servlet Spec says: ... SRV.7.3 Session Scope HttpSession objects must be scoped at the application (or servlet context) level. The underlying mechanism, such

Global Forwards and Tiles

2003-08-15 Thread David Holtzhouser
I've attached a discussion with a fellow developer regarding Global Forwards and Tiles. The tiles-defs are in xml if that makes any difference. * Here's the delima. I can configure a Global Forward that maps to my tiles definition. If I refer to this

Re: validations it would be really nice to have

2003-08-15 Thread David Graham
--- David Thielen <[EMAIL PROTECTED]> wrote: > It would require using the locale but 3 really nice validations would > be: > > state, zip code, and phone number. Zip code and phone number can be done with regular expressions in a mask validation. State could be done with a database lookup from a

RE: Dumbo Question

2003-08-15 Thread Mehta, Chirag (IT)
Thanks mate. I got it working. In my DbConnect class I was using a for statement. I changed it to a while loop like yours and god knows why, but that sorted out my scope problem!! -Original Message- From: Nicholas L Mohler [mailto:[EMAIL PROTECTED] Sent: 15 August 2003 12:09 To: Struts

RE: [OT] Determining Class Type of Action

2003-08-15 Thread Kris Schneider
if (DispatchAction.class.isAssignableFrom(c)) { ... } No chaser needed...except for the Friday variety... Quoting "Hibbs, David" <[EMAIL PROTECTED]>: > Just a question to start with... what exactly are you passing into the > isInstance method? > c.isInstance(org.apache.struts.actions.DispatchA

RE: Dumbo Question

2003-08-15 Thread Nicholas L Mohler
I'm not sure what is wrong then...I've pasted some code snippets from my working code. There really isn't anything special that you need to do. As long as the data is constructed correctly, and the data/context names correclty line up, it should work... :-) Hope that you see something helpf

Re: and validationForm?

2003-08-15 Thread Jacek Zoch
- Original Message - From: "Terje Hopsø" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, August 15, 2003 1:49 PM Subject: RE: and validationForm? Thanks!! Now it works! Three days of trying and crying is over. Where can I find this bug list? -

RE: [OT] Determining Class Type of Action

2003-08-15 Thread Hibbs, David
Just a question to start with... what exactly are you passing into the isInstance method? c.isInstance(org.apache.struts.actions.DispatchAction) doesn't work in my compiler. =) Why not just instantiate it and use instanceof? if( Class.newInstance() instanceof org.apache.struts.actions.DispatchActi

RE: How to keep session info??

2003-08-15 Thread Jerry Jalenak
You're right - my mistake. Redirect does cause a new request, not a new session. Jerry Jalenak Team Lead, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] > -Original Message- > From: Steve Raeburn [mailto:[EMAIL PROTECTED] > Sent

RE: Dumbo Question

2003-08-15 Thread Mehta, Chirag (IT)
DOH! That's exactly what I have done. Is there anywhere were I have to state that the tabledata contains ojects of type List? And is there anything I might have to configure in my config.xml or my ActionClass. The weird thing is that the first iterate works fine - for the column headings. And

Iterate Tag Question

2003-08-15 Thread Jones, Marty B.
I am using an iterate tag to iterate over a List of items that have a given category. I need to be able to determine when a given category has changed when iterating and push out a header row in a table that I am generating. Is there a way that I can look back a row or save the category from the p

RE: and validationForm?

2003-08-15 Thread Terje Hopsø
Thanks!! Now it works! Three days of trying and crying is over. Where can I find this bug list? - Terje -Original Message- From: Jacek Zoch [mailto:[EMAIL PROTECTED] Sent: 15. august 2003 10:46 To: Struts Users Mailing List Subject: Re: and validationForm? - Original Message -

TILES ERROR when using more than one directory

2003-08-15 Thread Cameron Hickey
I am having a problem storing portions of a TILES layout in different directories. When using TILES definitions This works: BUT, this doesn't: The only difference is that I ha

RE: ValidatorForm NoClassDefError every other Tomcat reload

2003-08-15 Thread struts
Hi- I fixed the problem by changing: User user = new User(); to User user = (User)form; If anyone could tell me what why"User user = new User();" doesn't work or is incorrect and "User user = (User)form;" does work I'd greatly appreciate it. BTW "User user = new User();

RE: Dumbo Question

2003-08-15 Thread Nicholas L Mohler
Chirag, I looked at your code, and it looks right. It makes me think that something must be wrong with the data. Your data should look like this: - You have an object called Results in scope that has a collection property called tabledata (tbdata). - Each object in the tbdata collection i

RE: Dumbo Question

2003-08-15 Thread Mehta, Chirag (IT)
Ok. Got a step further but spent the last 2 hours trying to figure this out. This is my code in my JSP page. I get an error of org.apache.jasper.JasperException: Cannot find bean rowData in any scope. The second logic iterate is on a 2D Collection. It will display tbdata if I ask it too but the wh

Re: MVC2 way to stick a collection in page scope?

2003-08-15 Thread jack beany
Thanks for the offer Keith :) Seems to be like getting blood from many stones at times hehe. Not sure if I want to venture into pure EJB's just yet - think I'll just code it how I'm comfortable, using frameworks as and when I need. Dont spose you know the answer to the question below, gone awf

RE: J2EE certified

2003-08-15 Thread message message
It is in your own benefit to do the J2EE tutorials. I don't think it is very clever to send messages with your opinions with out actually doing the tutorials. Struts being model neutral means you can also use it with EJBs/JMS etc. Going around reading books from o'reillys and mastering EJBs etc.

Tiles trouble: exception: Error 500: /tiles/index.jsp(0,4) Die Anweisung ist ungültig.

2003-08-15 Thread Alex Müller
Hi, i am trying a simple tiles example under WSAD 5.0 using struts 1.1 (same problem with 1.0.x using before) Error 500: /tiles/index.jsp(0,4) Die Anweisung ist ungültig. It means 'invalid statement' Any comments? thanks, alex # index.jsp # <%@ tablib uri="/WEB-INF/struts-ti

RE: Dumbo Question

2003-08-15 Thread Mehta, Chirag (IT)
I've done all this. Still no luck. Does anyone have any other suggestions. My problem again, I have a Action class that initiallises a databaseaccess class. The DBAccess class populates a Results Action form. Now when I iterate in my JSP page over the properties in my Results Form, I get "Resu

how to pass property value to javascript

2003-08-15 Thread deepaksawdekar
How to pass the propery value to javascript function. I am trying to do some thing like this, I have number of images in the from, now on click of image i want the name of image to set in some session variable. I was not able to set the name of image in to session variable directly. So i used t

Re: How to keep session info??

2003-08-15 Thread Jacek Zoch
- Original Message - From: "Steve Raeburn" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, August 15, 2003 5:22 AM Subject: RE: How to keep session info?? > Redirect causes a new request, not a new session. But if redirect to another webapplication

Re: and validationForm?

2003-08-15 Thread Jacek Zoch
- Original Message - From: "Terje Hopsø" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, August 15, 2003 12:32 AM Subject: RE: and validationForm? I have both and only the one I mentioned is called. - Terje You can`t have both! Just one - with

RE: Form Post to HTTPS

2003-08-15 Thread Andrew Hill
No. doGet() and doPost() are for processing of requests from the browser to the servlet, where you are the server and the borwser is the client, and the servlet container takes care of all the nasty details of decoding the http request stream and gives you a nice friendly HttpServletRequest object

RE: Form Post to HTTPS

2003-08-15 Thread rajendra . x . yadav
Thanks for the prompt reply Andrew. :) I am afraid that I will not be able to use any 3rd party libraries. Considering, I do the POST from the servlet in the doPost() method, so it's my assumption that I will get the response in the doGet method.. is that correct ? thanks -raj

RE: Form Post to HTTPS

2003-08-15 Thread Andrew Hill
Take a look at the HttpClient project. That might have what you need. http://jakarta.apache.org/commons/httpclient/features.html You would do the posting from the servlet or action. (Its no good setting up a jsp to render a pafe that is used to post the data as it would be the users browser that a

property to javascript

2003-08-15 Thread deepaksawdekar
How to pass the propery value to javascript function. I am trying to do some thing like this, I have number of images in the from, now on click of image i want the name of image to set in some session variable. I was not able to set the name of image in to session variable directly. So i used th

  1   2   >