Re: Stxx opencode

2002-07-17 Thread Konstantina Stamopoulou
Hi, The packages that I have in my lib dir are the following: Xerces.jar,xalan.jar,stxx-.1.0.0.jar,struts.jar,servlet.jar,orion.jar,logkit .jar,jdom.jar,jaxp.jar,fop.jar,batik.jar,avalon.jar. I had to rename some of these because they had a different name from the ones that it was refered in th

RE: Re[2]: Pre-Populating Form

2002-07-17 Thread Mahesh Kumar K G
Hi, "- Your user submits a form to an action that takes a long time, but gets impatient, presses STOP, and submits the form again. You now have two simultaneous requests to deal with." But is there any specific set of methods to deal with the Multiple requests simultaneously from a user ?

RE: Model 2 and Caching

2002-07-17 Thread Andrew Hill
lol Reminds me of something I heard a year or two back (from a friend of a friend...) about how one of the state governments in Australia paid a consultant $30k or some such ridiculous figure to study how government departments could improve their service. The resulting reports main recomendation

Model 2 and Caching

2002-07-17 Thread Jacob Hookom
Hey, For a prelude: I was chatting with my dad over a beer about how the company he works for is training all of their HR people on how to use Dreamweaver to generate content for their internet/intranets. Appalled, I asked him whose bright idea was it; to which he responded some independent cons

RE: Arrgh!!! my property has been cursed and my bean doesnt like the field on my farm , uhh form I mean

2002-07-17 Thread Andrew Hill
Ah well now, its funny you should be mentioning that. As it happens Old Mc Andrew did once have a method to set the field with a boolean, but changed it to take a string instead as he is quite set in his ways and has never liked booleans (as he learnt from a young age that providing a certain tru

RE: Arrgh!!! my property has been cursed and my bean doesnt like the field on my farm , uhh form I mean

2002-07-17 Thread Andrew Hill
Sigh. Still no closer to figuring it out! Did find a problem in my code to output all the parameters of a request, fixed it, but it didnt help me pin down the problem. :-( Ive resorted to adding code to the effect of: form.setHeaderTransformation( request.getParameter("headerTransformation" ); t

RE: Clearing error

2002-07-17 Thread Adarsh
Hi James Its in the index.jsp I am storing error in the eRROR oBJECT what i am trying to do is Enter some value in the text box click the submit button go to next page next page will have a link.When i click on that link i am again directed to the first page with the value of that form element in

Re: Arrgh!!! my property has been cursed and my bean doesnt likethe field on my farm , uhh form I mean

2002-07-17 Thread Craig R. McClanahan
On Thu, 18 Jul 2002, Andrew Hill wrote: > Date: Thu, 18 Jul 2002 13:23:02 +0800 > From: Andrew Hill <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Arrgh!!! my property has bee

RE: Form not keeping changed values

2002-07-17 Thread James Mitchell
This will work just fine if forwarding to a jsp and not another action. James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://www.open-tools.org/struts-atlanta > -Original Message- > From: Wilinski, Pamela M. [mailto:[EMAIL PROT

Re: Struts/Container-Managed Authentication Question

2002-07-17 Thread Craig R. McClanahan
On Wed, 17 Jul 2002, Mete Kural wrote: > Date: Wed, 17 Jul 2002 18:32:17 -0700 (PDT) > From: Mete Kural <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Struts/Container-Managed Authentication Question > > Hi, > > My Struts-based w

RE: Clearing error

2002-07-17 Thread James Mitchell
What are you talking about? #1 How did you get to the first page? From an Action or is in the index.jsp? #2 Why are you even linking directly to a jsp that appears to be dependent on some objects in some scope? #3 How do you get "error messages embedded"??? (Is this some result of storing actione

Clearing error

2002-07-17 Thread Adarsh
Hi All, I have done some validations on a text box.If value is entered correctly it gets redirected to a new page.On the next page i have given a hyperlink to the first page..On clicking the link it gets redirected to the first page but with error messages embedded.Is there any way to clear it Tha

Re: Processing Slow

2002-07-17 Thread Craig R. McClanahan
On Thu, 18 Jul 2002, Sudhir wrote: > Date: Thu, 18 Jul 2002 09:05:58 +0800 > From: Sudhir <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Processing Slow > > Hi, > > Can anybody tell me why the processi

RE: Processing Slow

2002-07-17 Thread Andrew Hill
For much the same reason that a car seems slow when compared to a motorcycle... ;-) -Original Message- From: Sudhir [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 09:06 To: Struts Users Mailing List Subject: Processing Slow Hi, Can anybody tell me why the processing is very s

Re: Processing Slow

2002-07-17 Thread Eddie Bush
Here here! Andrew Hill wrote: >Id still be back in the stone age with my project if I hadnt got struts to >build on. >(And Im not even using JSP and taglibs - struts isn't just view only!) > >thanks++; > >:-) > -- To unsubscribe, e-mail: For additional commands, e

Arrgh!!! my property has been cursed and my bean doesnt like the field on my farm , uhh form I mean

2002-07-17 Thread Andrew Hill
Or to be a little bit more specific... Old Mc Andrew had a form and on that form he had a field with the name "headerTransformation" but naughty Mr Struts simply would NOT call the method setHeaderTransformation in his ActionForm even though it had not been a problem yesterday! No matter what An

RE: Processing Slow

2002-07-17 Thread Andrew Hill
Id still be back in the stone age with my project if I hadnt got struts to build on. (And Im not even using JSP and taglibs - struts isn't just view only!) thanks++; :-) -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 13:11 To: Struts Use

Re: Processing Slow

2002-07-17 Thread Eddie Bush
LOL - do you do stand-up on the weekends, James? ;-) James Mitchell wrote: >Yes, because Struts is a framework that is built on established J2EE >Technologies, and not just a big fat servlet. > >If you only need a servlet to produce a page or setup some beans to use in a >jsp, then you are bette

RE: Processing Slow

2002-07-17 Thread James Mitchell
Yes, because Struts is a framework that is built on established J2EE Technologies, and not just a big fat servlet. If you only need a servlet to produce a page or setup some beans to use in a jsp, then you are better off writing your own servlet. It's a lot faster. Then, when your boss says to

error

2002-07-17 Thread Adarsh
Hi all, I am facing a problem. I have a jsp file in which i have user an passw text boxes.On submitting the form when i go to the next page.I have written the logic for pagination i.e Hyperlink.onclicking of that hyperlink i am showed data.For pagination purpose i am submitting the same form again

Re[4]: getting nested tags to work with DynaActionForm???

2002-07-17 Thread Craig R. McClanahan
On Wed, 17 Jul 2002, Rick Reumann wrote: > Date: Wed, 17 Jul 2002 20:57:26 -0400 > From: Rick Reumann <[EMAIL PROTECTED]> > To: Craig R. McClanahan <[EMAIL PROTECTED]> > Cc: Roman Fail <[EMAIL PROTECTED]>, > Struts Users Mailing List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > Subject:

RE: What does locale="true" really do?

2002-07-17 Thread Craig R. McClanahan
On Wed, 17 Jul 2002, Kurosaka, Teruhiko wrote: > Date: Wed, 17 Jul 2002 17:49:31 -0700 > From: "Kurosaka, Teruhiko" <[EMAIL PROTECTED]> > To: Craig R. McClanahan <[EMAIL PROTECTED]> > Cc: Struts Users Mailing List <[EMAIL PROTECTED]>, > "Kurosaka, Teruhiko" <[EMAIL PROTECTED]> > Subject: R

RequestProcessor.processForward( request, response, mapping ) ... has a bug when running sub-applications with Tiles...

2002-07-17 Thread Trieu, Danny
This might have been reported before, but if not I hope what I point is really a bug. Int the RequestProcessor.processForward( request, response, mapping ) { . String uri = appConfig.getPrefix() + forward ; } shouldn't you need to check if f

Re: Struts/Container-Managed Authentication Question

2002-07-17 Thread Max Cooper
Mete, With contained-managed security, you have to let the container process the login form submittal (j_security_check). There is no method you can call to process the login yourself. The container makes the info like the user name and if a user is in a particular role through methods on the req

Re: Struts in WSAD

2002-07-17 Thread Eddie Bush
http://www.posportal.com/StrutsOverview.html That link was posted just today. You might have a look at it. I didn't read it in super-great depth, but it looks like a good resource for a newcomer. GL, Eddie vivraji wrote: >Hello All > >This is my first time here. >I just started working w

Re: Struts event sequence (WAS: getting nested tags to work withDynaActionForm???)

2002-07-17 Thread Eddie Bush
Hey - I wish I'd had that when I started with Struts! I don't personally agree with your philosophy on setting autoCommit to true, but I liked the page other than that :-) Add Bookmark I just feel having autoCommits off is a good thing. That way you have explicit control over the transaction

Re: Struts/Container-Managed Authentication Question

2002-07-17 Thread Eddie Bush
I'd recommend putting it to the Tomcat guys, but I'm just about positive you'd have to use j_security_check (ie FORM-based authentication). Mete Kural wrote: >Hi, > >My Struts-based webapp has two sub-apps. > >In the first sub-app, anybody can surf through without >having to be logged in, but

Struts/Container-Managed Authentication Question

2002-07-17 Thread Mete Kural
Hi, My Struts-based webapp has two sub-apps. In the first sub-app, anybody can surf through without having to be logged in, but if you are logged in, some special features are enabled (ex: "Hello Mr. .."). In the second sub-app, you have to be logged in to access the pages therein. For the e

Display tag library/font size in tables?

2002-07-17 Thread Dave Hodson
I'm using the display tag library (cool thing) and would like to change the font size of the output. As far as I can tell, the taglib doesn't support anything like the tag and wrapping around the tag does nothing (it is ignored). Example http://localhost:8080/something.jsp";>

Processing Slow

2002-07-17 Thread Sudhir
Hi, Can anybody tell me why the processing is very slow if I use struts when compared without using struts. Thanks and Best Regards, -- To unsubscribe, e-mail: For additional commands, e-mail:

Re[4]: getting nested tags to work with DynaActionForm???

2002-07-17 Thread Rick Reumann
On Wednesday, July 17, 2002, 7:39:23 PM, Craig wrote: >> Agreed, that does walk into the realm of Big Brother code. I guess >> it's just going to be a rough spot for DynaNewbies. CRM> Not any rougher than it is for people trying to understand standard CRM> ActionForms :-) Correct me if I

RE: Re[2]: getting nested tags to work with DynaActionForm???

2002-07-17 Thread Craig R. McClanahan
On Wed, 17 Jul 2002, Roman Fail wrote: > Date: Wed, 17 Jul 2002 16:17:49 -0700 > From: Roman Fail <[EMAIL PROTECTED]> > To: Craig R. McClanahan <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] > Subject: RE: Re[2]: getting nested tags to work with DynaActionForm??? > > >Counter-in

CachedRowset with logic:iterate tag

2002-07-17 Thread aps olute
How to iterate over a CachedRowSet using tags? I have filled the CachedRowset with a select statement and am able to iterate using the crs.getString(1) or the crs.getString(colname) methods, but no am ready to use Struts tags but dont know how. Do I need to convert it a Collection type? but that

RE: Re[2]: getting nested tags to work with DynaActionForm???

2002-07-17 Thread Roman Fail
>Counter-intuitive to whom? Do standard JavaBean indexed properties act >like this? :-) You've got a great point there. You actually made me realize why it is counter-intuitive though: non-indexed standard JavaBean properties don't do anything on their own either. You have to write the c

Re: sub-apps and templates

2002-07-17 Thread Troy Hart
Never mind, I figured it out. It turns out the the and tags do not prefix the sub-app name to the given URI (which is a relief). I had a problem in my struts-config that made it look like this was happening. Thanks, Troy On Wed, 2002-07-17 at 15:50, Troy Hart wrote: > Is there way to tell the

Re[2]: getting nested tags to work with DynaActionForm???

2002-07-17 Thread Craig R. McClanahan
On Wed, 17 Jul 2002, Roman Fail wrote: > Date: Wed, 17 Jul 2002 15:23:23 -0700 > From: Roman Fail <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED], [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re[2]: getting nested tags to work with DynaActionForm??? > > What do you think of Arron's idea, Cr

Metatags for multi-language pages

2002-07-17 Thread LFung
Hi everybody! I'm workin' with struts1.1 I have a website ( www.caribeinside.com ) with two languages,( for this very moment, at least ) Right now, I can not submit my website to the search engines becouse some of them are asking to me for my main pages for each language. I have only one main

[ANNOUNCE] StrutsTestCase v1.8 Released

2002-07-17 Thread Deryl Seale
StrutsTestCase v1.8 improves support for Struts 1.1, provides several requested enhancements, and fixes many reported defects. The project home page can be found here: http://strutstestcase.sourceforge.net Notes for this release can be found here: http://sourceforge.net/project/shownotes.php

RE: Problem with session ojects: memory size, updates

2002-07-17 Thread Dave Hodson
Looks like you already found the link at Sun (disregard my prev email :-)) I look at Value Objects as such -- implementing an EJB for the particular app I work on is overkill (not to mention that EJBs tend to slow everything down quite a bit, IMO). If for example, you have a wizard GUI that ta

Re: weirdness in Websphere 3.5.5

2002-07-17 Thread @Basebeans.com
Subject: Re: weirdness in Websphere 3.5.5 From: "Reginald Ister" <[EMAIL PROTECTED]> === Keith, thanks for your input. The funny thing is that it works fine within the VisualAge test environment. I just ran into this problem during deployment. Haven't tried WebSphere 4.0 yet. As I work around,

RE: Problem with session ojects: memory size, updates

2002-07-17 Thread Dave Hodson
or check out http://java.sun.com/blueprints/patterns/j2ee_patterns/value_object/ Dave --- Dave Hodson MessageCast, inc. Email: [EMAIL PROTECTED] www.messagecast.net > -Original Message- > From: Manish_Purang [mailto:[EMAIL PROTECTED]] > Sent: Monday, July

Re[2]: getting nested tags to work with DynaActionForm???

2002-07-17 Thread Roman Fail
What do you think of Arron's idea, Craig? It would be ten times more intuitive to have DynaForms work more like an ArrayList - you instantiate the form, call an indexed setter and it just works - no exceptions. Rick and I are merely the first of many who will hit this annoying, counter-intuit

RE: Struts tags not generating XHTML text

2002-07-17 Thread Gupta, Priyank x57787
Thanks Matt. I will try it and let you know the result. -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 6:10 PM To: [EMAIL PROTECTED] Subject: Re: Struts tags not generating XHTML text Subject: Re: Struts tags not generating XHTML te

Struts event sequence (WAS: getting nested tags to work with DynaActionForm???)

2002-07-17 Thread Roman Fail
This is the very basic outline of Struts events (with some helpful comments) that I worked up when I was using Struts 1.0, although most of it is still the same. Basically I've just expanded steps 3 & 4 of Dan's diagram a bit. Chapter 5 of Chuck's book is much more detailed than this, and an

Re: Struts tags not generating XHTML text

2002-07-17 Thread @Basebeans.com
Subject: Re: Struts tags not generating XHTML text From: "Matt Raible" <[EMAIL PROTECTED]> === You can do something like this: This will work for most form elements. If you are setting tokens to prevent form submission, you will also have to do the following: Since a hidden input tag is re

Mapped property

2002-07-17 Thread @Basebeans.com
Subject: Mapped property From: "Senén de Diego" <[EMAIL PROTECTED]> === I've seen that, if I have a class declared as: class SomeBean { .. java.util.Map getValues(){..}; .. } and foo is a bean of this class, I can use this syntax: which is equivalent to:

RE: Latest Nightly build - corrupt Class-Path entry in manifest.mf

2002-07-17 Thread Craig R. McClanahan
On Thu, 18 Jul 2002, Matt Johnson wrote: > Date: Thu, 18 Jul 2002 07:25:06 +1000 > From: Matt Johnson <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: RE: Latest Nightly build - corrupt Class-Path entry

sub-apps and templates

2002-07-17 Thread Troy Hart
Is there way to tell the template tag libs to treat URIs as context relative? I am working on a large struts application that has been split into multiple sub-apps. We are using the template tag libs and I would like to be able to share some of the templates/content across all the sub-apps. Howev

RE: Form not keeping changed values

2002-07-17 Thread Wilinski, Pamela M.
public ActionForward perform( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws ServletException { KRLogger.addContext(KRActionUtil.getUserId(request)); ActionForward forward = mapping.findForward("success")

Struts tags not generating XHTML text

2002-07-17 Thread Gupta, Priyank x57787
Hi, Is there a workaround to generate a well formed HTML using struts tags? Thanks Priyank ADP Inc

RE: Latest Nightly build - corrupt Class-Path entry in manifest.m f

2002-07-17 Thread Matt Johnson
Sun's JAR File Specification has a note on line length under "Notes on Manifest and Signature Files". Ant behaves according to spec. http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#Notes%20on%20Manifest%2 0and%20Signature%20Files Matt -Original Message- From: Craig R. McClanahan

RE: Form not keeping changed values

2002-07-17 Thread James Mitchell
What do you mean it didn't work? Can you provide a few snippets of code? James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://www.open-tools.org/struts-atlanta > -Original Message- > From: Wilinski, Pamela M. [mailto:[EMAIL PR

RE: Form not keeping changed values

2002-07-17 Thread Wilinski, Pamela M.
I tried that and it didn't work. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 4:04 PM To: Struts Users Mailing List Subject: RE: Form not keeping changed values Are you saving the form in the request (or session) before forwarding? J

RE: bean tag vs html tag

2002-07-17 Thread Galbreath, Mark
Make sure you have nested inside and Mark -Original Message- From: Bugra Cakir [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 8:03 AM Hi, The code is; name is the property of my form bean. but it is empty in this case. If I use with property "name" it is o.k -- To uns

RE: infinite loop

2002-07-17 Thread Galbreath, Mark
To where are you forwarding the request? Mark -Original Message- From: Kadambi, Srivatsa [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 1:32 AM I am working on a very tight project and have myself proposed struts implementation. The proposal is accepted and i am in the proces

RE: infinite loop

2002-07-17 Thread Joseph Barefoot
He means it should be like this (drop the jsp): or anything you like for the path, for that matter: > -Original Message- > From: James Mitchell [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 17, 2002 1:57 PM > To: Struts Users Mailing List > Subject: RE: infinite lo

RE: Form not keeping changed values

2002-07-17 Thread James Mitchell
Are you saving the form in the request (or session) before forwarding? James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://www.open-tools.org/struts-atlanta > -Original Message- > From: pmwilinski [mailto:[EMAIL PROTECTED]] > S

RE: Adventures in Vonderland - Part II - Security Concerns and More Hassles

2002-07-17 Thread Joseph Barefoot
Damn, when I first saw this, I thought you were talking about another hash all together. That would be a tad difficult to arrange in this country though. To each his own, I say, and 3 cheers to your liver! :) peace, Joe > -Original Message- > From: Bruce Gulde [mailto:[EMAIL PROTECTED]

RE: infinite loop

2002-07-17 Thread James Mitchell
>path="/adminmain.jsp" ^ This is probably causing you the most grief. James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://www.open-tools.org/struts-atlanta > -Original Message- > From: Kada

extending struts model

2002-07-17 Thread Emmanuel Bridonneau
Using Struts as the base for a IU framework I come to think that one of the (best) place to start extending Struts is through its configuration file. This approach uses existing foundation components and extend them. I want to extend the dtd so as to pass more information to build the solution.

Form not keeping changed values

2002-07-17 Thread pmwilinski
Hi all, I have a problem with changes that are made in the action to values in my form being thrown out when it forwards to the next page. Does anyone know why this might be happening and how to make the changes stick??? Thanks, Pam -- To unsubscribe, e-mail:

RE: bean tag vs html tag

2002-07-17 Thread Bugra Cakir
Hi, The code is; name is the property of my form bean. but it is empty in this case. If I use with property "name" it is o.k On Wed, 17 Jul 2002, Galbreath, Mark wrote: > See the "property" attribute of the tag at > > http://jakarta.apache.org/struts/struts-html.html#text > > Mark > >

Form not keeping changed values

2002-07-17 Thread pmwilinski
Hi all, I have a problem with changes that are made in the action to values in my form being thrown out when it forwards to the next page. Does anyone know why this might be happening and how to make the changes stick??? Thanks, Pam -- To unsubscribe, e-mail:

RE: using form-tag in iteration

2002-07-17 Thread Rooms, Christoph
Hi, What you should do is use the nested tag library ... Create your form object, and add to this form object an ArrayList of Product beans. With the nested tag library struts will automatically refill the ArrayList ... http://www.keyboardmonkey.com/index.jsp for good tutorials and examples .

infinite loop

2002-07-17 Thread Kadambi, Srivatsa
I am working on a very tight project and have myself proposed struts implementation. The proposal is accepted and i am in the process of designing the existing application to make it struts aware.I am running into a peculiar problem. Here are the details: My homepage is located under /administr

RE: Adventures in Vonderland - Part II - Security Concerns and More Hassles

2002-07-17 Thread Bruce Gulde
H. Makes me glad I am driving the 1000 miles to Colorado InviHASHional from Southern California. I might even consider driving to Costa Rica for IAH 2003. Now, if I could just figger out how to drive to Maui for the alternative to ... ooops, don't wanna go negative on anyone. I don't want

Re: Adventures in Vonderland - Part II - Security Concerns and More Hassles

2002-07-17 Thread Alan Holden
Damned pityiful tale - you have my sympathies, however you really must stop travelling with those "I'm an international terrorist" T-shirts on! - Original Message - From: "Galbreath, Mark" <[EMAIL PROTECTED]> To: "Wankers (E-mail)" <[EMAIL PROTECTED]> Cc: "Struts (E-mail)" <[EMAIL PROTECT

RE: What does locale="true" really do?

2002-07-17 Thread Kurosaka, Teruhiko
Thank you for reply, Craig. > The implementation of this tag grabs the current locale from > the session So it is up to the servlet container? -kuro -- To unsubscribe, e-mail: For additional commands, e-mail:

Struts in WSAD

2002-07-17 Thread vivraji
Hello All This is my first time here. I just started working with Struts with very min help from books. The thing is we are using WSAD. Can someone help me to understand how to start using struts - especially creating classes. Thank you All -- To unsubscribe, e-mail:

StrutsTestCase v1.8 Released

2002-07-17 Thread Deryl Seale
StrutsTestCase v1.8 improves support for Struts 1.1, provides several requested enhancements, and fixes many reported defects. The project home page can be found here: http://strutstestcase.sourceforge.net Notes for this release can be found here: http://sourceforge.net/project/shownotes.p

Re: Long property defaulting to zero

2002-07-17 Thread Craig R. McClanahan
The new version of ConvertUtils (from commons-beanutils) changed this behavior from what was observed in Struts 1.0. To restore the previous default, you need to download a very recent nightly build of 1.1 and set up a servlet initialization parameter "convertNull" with value "true" for the contr

Long property defaulting to zero

2002-07-17 Thread Brian Knorr
We just upgraded from struts 1.0 to struts1.1beta and are encountering an issue with some properties on our forms. If the value being set and returned is a wrapper type like Long, struts is setting the default value to zero instead of null... for example: public Long getAccountNumber() {

RE: Tiles exceeding JSP size limit

2002-07-17 Thread Greg Hess
I have been able to correct this error by using the IBM Jikes1.15 compiler. I had been creating an address input form and was using struts to create the State and Country drop down. It would not run using the javac compiler but works fine using jikes. Greg -Original Message- From: Jerry

RE: Tiles exceeding JSP size limit

2002-07-17 Thread Jerry Jalenak
I've tried the second option, that of splitting the page up, but have had problems with it. We are basing all of our JSP on Tiles; for some reason, when I try to the various sections, I get messages indicating the HTTP response has already been committed. I'll look at the tag and see if it wil

RE: Tiles exceeding JSP size limit

2002-07-17 Thread Martin Cooper
One option (pardon the pun!) is to use the tag instead of using many separate tags. That would be my first choice. Another alternative is to split the page up into multiple JSP pages, and reconstruct the page using . -- Martin Cooper > -Original Message- > From: Jerry Jalenak [mailto

Tiles exceeding JSP size limit

2002-07-17 Thread Jerry Jalenak
Hi All, I've got a JSP with multiple drop downs with 50-60 options per drop down. Along with the other 30 or so text boxes I have, I'm exceeding the JSP size limit. How have others handled this? I looked at the mailto:[EMAIL PROTECTED]> For additional commands, e-mail:

Re: RES: Objects In Session

2002-07-17 Thread Craig R. McClanahan
On Wed, 17 Jul 2002, julio wrote: > Date: Wed, 17 Jul 2002 16:08:34 -0300 > From: julio <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RES: Objects In Session > > Hi Craig, > > How do you solve this

Handling runtime tag exceptions?

2002-07-17 Thread Greg Hess
Hi All, I have a jsp page that is building the UI using a bunch of / and tags. The first action that processes the request to the application populates the session with some required attribute used throughout the application. I would like to avoid having all my actions check for the existence of

RE: Changes to form lost on forward

2002-07-17 Thread Craig R. McClanahan
On Wed, 17 Jul 2002, Martin Cooper wrote: > > > > I agree with James that the current design is the right one, > > but perhaps > > feel more strongly than he does about the reason -- IMHO, > > chaining Actions > > is not a particularly good design choice. And it should not > > be necessary > >

RES: Objects In Session

2002-07-17 Thread julio
Hi Craig, How do you solve this problem for your site(like yahoo) with 1000 users?? Julio Cesar -Mensagem original- De: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Enviada em: quarta-feira, 17 de julho de 2002 15:38 Para: Struts Users Mailing List Assunto: RE: Objects In Session

Re: Action classes: Controller or Model.. or are the lines blurry?

2002-07-17 Thread Mete Kural
Hello Craig, --- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > For the "small applications" case where you really > do embed the business > logic in your Actions, you can make a case that the > Action is part of the > model. The preferred case for any reasonable sized > app, however, is tha

Tomcat -> JNDI -> LDAP -> Netware

2002-07-17 Thread wbchmura
Hey All, We've been talking alot about container authentication so I thought I would drop this note out here... I got an modified Tomcat JNDIRealm to work by connecting with Netware 5. I am pretty sure my solution stinks for several reasons which would become apparent. It does however veri

RE: Re[2]: Pre-Populating Form

2002-07-17 Thread Craig R. McClanahan
On Wed, 17 Jul 2002, Joseph Barefoot wrote: > Date: Wed, 17 Jul 2002 11:50:48 -0700 > From: Joseph Barefoot <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: Struts Users Mailing List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > Sub

RE: Re[2]: Pre-Populating Form

2002-07-17 Thread Craig R. McClanahan
On Wed, 17 Jul 2002, Joseph Barefoot wrote: > > [snip] > > Session attributes, on the other hand, can be accessed by multiple threads > > at the same time. You don't have to synchronize the servlet API calls > > like session.getAttribute() or session.setAttribute() -- the container > > takes c

Re: Stxx opencode

2002-07-17 Thread Jeff Pennal
Konstantina, What JAR's do you have in the stxx-example webapp lib folder? You not only need stxx-1.0.0.jar but also every other JAR listed on stxx's download page. Jeff Konstantina Stamopoulou wrote: > Hi Jeff, > I have tried everything. I used Tomcat4.0.4 and I got the error that I wote > i

RE: Changes to form lost on forward

2002-07-17 Thread Martin Cooper
> -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 17, 2002 9:04 AM > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: RE: Changes to form lost on forward > > > > > On Wed, 17 Jul 2002, James Mitchell wrote: > > > Date: Wed

RE: Re[2]: Pre-Populating Form

2002-07-17 Thread Joseph Barefoot
Okay, I think I have a *potential* answer to my own question: You would have more than one thread per session if mutiple frames in a browser send simultaneous requests, or if two browser windows were open, with the same sessionID, and someone was submitting requests from both of them at the same

RE: Re[2]: Pre-Populating Form

2002-07-17 Thread Galbreath, Mark
Yep, got that one backwards (part of mind remains in Amsterdam). The variables in an actionform are instance variables and need protection in certain instances (no pun intended), and though synchronizing inside a set method is better form (no pun intended) as Craig notes (and I actually do this

Re: Action classes: Controller or Model.. or are the lines blurry?

2002-07-17 Thread Craig R. McClanahan
For the "small applications" case where you really do embed the business logic in your Actions, you can make a case that the Action is part of the model. The preferred case for any reasonable sized app, however, is that you encapsulate your business logic in external classes (either EJBs or regul

RE: Re[2]: Pre-Populating Form

2002-07-17 Thread Joseph Barefoot
> > In general, you don't have to worry about synchronizing variables that are > either local variables in your Action, or things that are in request > attributes. This is because there will only be one thread accessing these > objects at one time. > > The exception to this general principle is w

RE: Objects In Session

2002-07-17 Thread Craig R. McClanahan
On Wed, 17 Jul 2002, Kamholz, Keith (corp-staff) USX wrote: > Date: Wed, 17 Jul 2002 14:22:45 -0400 > From: "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: Ob

Re: CSS Question

2002-07-17 Thread Jan Fetyko
Or you can checkout : www.cross-browser.com I use it everyday and works in Mozilla,IE,Netscape,Opera J Struts Newsgroup (@Basebeans.com) wrote: > Subject: Re: CSS Question > From: "Matt Raible" <[EMAIL PROTECTED]> > === > If you want to get away from "fat client" you pages will load faster

RE: Re[2]: Pre-Populating Form

2002-07-17 Thread Joseph Barefoot
An Action is definitely a singleton, but an ActionForm most certainly is not. If you declare an ActionForm as session scope, and then 5 sessions are initiated, you will have 5 ActionForm instances, one in each HttpSession object. How else would you be able to maintain 5 separate sets of values?

RE: Re[2]: Pre-Populating Form

2002-07-17 Thread Craig R. McClanahan
On Wed, 17 Jul 2002, Galbreath, Mark wrote: > Date: Wed, 17 Jul 2002 14:13:50 -0400 > From: "Galbreath, Mark" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: Re[2]: Pre-Populating Form > > Because

Action classes: Controller or Model.. or are the lines blurry?

2002-07-17 Thread Mete Kural
Hello, I came to the point while developing my Struts web-app that I am confused if I'm doing things the right way. My Action classes: 1) Retrieve the values submitted through html forms via ActionForm beans. 2) Make calls to a DAO (data access object) in order to make changes to the database an

RE: Objects In Session

2002-07-17 Thread Kamholz, Keith (corp-staff) USX
I have a couple action classes that are used frequently for several different processes. Just as a check, I take the objects that I don't need out of the session every time the action is executed, in case they were not taken out previously. This seems like it should take un-needed objects out of

Re[2]: Pre-Populating Form

2002-07-17 Thread Craig R. McClanahan
On Wed, 17 Jul 2002, Rick Reumann wrote: > Date: Wed, 17 Jul 2002 14:01:40 -0400 > From: Rick Reumann <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>, > Rick Reumann <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re[2]: Pre-

RE: Re[2]: Pre-Populating Form

2002-07-17 Thread Galbreath, Mark
Because an actionform is a singleton - there is only one instance existing in the application at any given moment and local variables or not, two or more threads could mutate its state concurrently, returning unpredictable values to a calling thread. Local variables in an Action class, however, a

Re: getting nested tags to work with DynaActionForm???

2002-07-17 Thread Craig R. McClanahan
On Wed, 17 Jul 2002, Struts Newsgroup wrote: > Date: Wed, 17 Jul 2002 10:55:01 -0700 > From: Struts Newsgroup <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: getting nested tags to work with DynaActionForm??? > > Subject: Re:

RE: Pre-Populating Form

2002-07-17 Thread Joseph Barefoot
Sure, sure, but the ActionForm passed in to an Action class is unique for that thread, so you don't have to synchronize access to it unless you are storing a shared resource there. You definitely don't have to synchronize on a newly created method-scope object, because it's impossible for another

  1   2   >