RE: Struts + MVC Philosophical question

2002-07-11 Thread Ade Barkah
To nitpick... In a strictly philosophical terms, in MVC, the View *may* (and should!) directly access the Model, and on startup one *may* go straight to a View without passing through a Controller. Also, the Model *may* populate its own data without the help of a Controller. Of course when

RE: Using Reset to Load Drop Downs?

2002-07-11 Thread Jesse Alexander (KADA 11)
Hi, I usually do it within an action called to prepare a form I want to show. Instead of forwarding to FORM_B from ACTION_A processing the input from FORM_A I forward to ACTION_B_PREPARE setting up all FORM_B needs and then from there go to FORM_B. I can now add the contents of the collections

RE: Checkbox Issues

2002-07-11 Thread Jesse Alexander (KADA 11)
Hi, a bit of peace, please (less than a day and already stressing...). The documentation and the mailing list archives clearly state, that checkboxes must be set to false (if boolean) or space (if string), and nothing else. Obvioulsy this only happens if you are going through an action. hth

RE: Struts 1.1 Final - Just asking!

2002-07-11 Thread Daniel J. D'Cotta
Eddie, I tried asking that before.. Some simple advice: 'Just wait for it patiently, and DON'T ask when it will be coming out!'. Regards, Daniel -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 11:05 AM To: [EMAIL PROTECTED] Subject: Struts

Re: Tiles 'getAsString' in included Tile

2002-07-11 Thread Cedric Dumoulin
Hello, How have you declared your definition ? When you write tiles:insert attribute=header/, it means that the value of the attribute from surounding tiles is used by insert. Maybe you have misunderstood the usage of tiles:insert If you want to insert a definition, write

Re: Problems running struts 1.1b1 with Jbuilder 6

2002-07-11 Thread emmanuel.boudrant
Hi, Did you run your project under Tomcat 4 ? Struts 1.1 require Tomcat 4. -Emmanuel --- [EMAIL PROTECTED] a écrit : Hi, I'm upgrading my project from struts 1.0 to struts 1.1 but am having a few problems when I run it from Jbuilder. (everything works fine from JBoss). Is there

struts and javascript document.write(...)

2002-07-11 Thread Barbara Post
Hello, I am playing with this : http://www.mail-archive.com/struts-user@jakarta.apache.org/msg16093.html but have troubles with document.write(...) in a .js file that does not write on my jsp but on a new page. guess I have all the javascript functions to be in .jsp files ? (see the link

RE: struts and javascript document.write(...)

2002-07-11 Thread Adarsh
hi documnt.write always erase the contents and starts as new -Original Message- From: Barbara Post [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 1:05 PM To: [EMAIL PROTECTED] Subject: struts and javascript document.write(...) Hello, I am playing with this :

RE: Struts dependencies

2002-07-11 Thread Arnaud HERITIER
I'll send some bug reports to bugzilla if it is not yet done. Arnaud Heritier -Message d'origine- De : Martin Cooper [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 10 juillet 2002 17:34 À : 'Struts Users Mailing List' Objet : RE: Struts dependencies There was an extensive

RE: Controller UML class diagram

2002-07-11 Thread Arnaud HERITIER
very good, struts team. You do it manually or you use a tool ?? -Message d'origine- De : Martin Cooper [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 10 juillet 2002 17:41 À : 'Struts Users Mailing List' Objet : RE: Controller UML class diagram FYI, if you pick up the latest

RE: Struts dependencies

2002-07-11 Thread Arnaud HERITIER
Thx Craig. All components are night builds except ORO. I'll open bugzilla entries for projects which not set correctly their Manifest files Arnaud H -Message d'origine- De : Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 10 juillet 2002 18:10 À : Struts Users

RE: Migration from 1.0.2 to 1.1

2002-07-11 Thread Arnaud HERITIER
Thanks Martin. I'm happy to see that I used a method that others used. It's not so bad. I think I will follow your explanations to use your new method. It seems better. Thx a lot for your help and your ideas. Thx also to Craig for his explanation about the RequestProcessor. Arnaud H.

custom tags accessing database (MVC model review)

2002-07-11 Thread Adolfo Miguelez
Hi All, some of our development teams has implemented view helpers as custom tags, which in turn access directly to database. However, we guess that such an approach is not correct since it does not match Struts/MVC models. We suggest that a better aproach would be leaving an Action to deal

change an Actionform

2002-07-11 Thread Efftinge, Sven
Hi, this is relative fundamental, but I haven't seen an answer in any documentation or tutorial. My Question is 'How can I change the Actionform in an Action?' Description: I do a request to findEntity.do and submit a SearchEntityForm. With the values in it I try to find an entity in the backend

RE: change an Actionform

2002-07-11 Thread Jon.Ridgway
Hi Sven, At as guess, you are not putting the form back into scope, try something like this in your findEntity action... if (mapping.getName() != null) { if (request.equals(mapping.getScope())) { request.setAttribute(mapping.getName(), form); } else {

switching sub-application issues

2002-07-11 Thread Troy Hart
I have recently started using the new sub-application feature of struts-1.1 and I think it is an excellent addition. However, the standard SwitchAction does not seem to work as advertised. I am currently able to work around this issue by defining global forwards (with the contextRelative

Path question HELP!!!

2002-07-11 Thread Keith Wong
Hi all, I'm newbie on struts and I am getting problem on URL path problem, any help will be appreciated. I am trying to creating a seperate directory on old app. and try to bring struts in. The old app. URL is www.myapp.com/apps and the new one I like to create is www.myapp.com/apps/admin,

WG: Re: Struts + EJB ?

2002-07-11 Thread Manfred Wolff
Hi Brian. Yes, we use the @struts:form tag from xdoclet, to generate a form that corespondens to an entitybean. But it is not nessesary to do that all time. Only if the form-data correponds to the bean, that is a good idea, I think. A second method to match form-bean data to a data value object

[ANNOUNCE] Easy Struts v0.4 for Eclipse / JBuilder

2002-07-11 Thread emmanuel.boudrant
Hi, Easy Struts v0.4 is now out. Provide a full support for JBuilder IDE. Provide a full support for Eclipse IDE. Changes in v0.4 (2002-07-11) - Support now for JBuilder IDE (without Resources Wizard). - Add runtime facility for JBuilder, no need removeStrutsJar opentool - Add confirm

[ANNOUNCE] Scioworks Camino v2.0

2002-07-11 Thread John Yu
Dear Struts Users, We are pleased to announce the release of Scioworks Camino v2.0, a visual tool for Struts application development. You can download Camino v2.0 from: http://www.scioworks.net/servlets/Redirect?pid=15dp=2 What's new in v2.0: * Supports Struts 1.1 features - Manages

AW: change an Actionform

2002-07-11 Thread Efftinge, Sven
Thank you Jon. Your solution is good, but I don't understand why my way doesn't work. Can someone tell me where the data gets lost? The EditEntity.jsp has definetly access to an EditEntityForm, but there is no Data in it! why can I change the type but can't fill it? Sven -- To unsubscribe,

Re: struts and javascript document.write(...)

2002-07-11 Thread Barbara Post
thanks Adarsh, so what's the workaround to add some content with a javascript on a jsp ? Babs - Original Message - From: Adarsh [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, July 11, 2002 10:26 AM Subject: RE: struts and javascript document.write(...)

log4J CANNOT FIND LO4J.DTD due to new version of Xerces

2002-07-11 Thread Sudhir S. Shetty
Hi Everybody, I have a web application , in which I am using struts 1.02, log4j1.2.5, Xerces 2.02 I am facing problems while initailizing logging my Configuration XML file for log4J is logconfig.xml inside my Jsp I have the following code. String ls_path =

html:errors

2002-07-11 Thread mhanel
How do I check on the jsp if some error occured? If an error occured I wanna display a Dialog with the errormessages inside when the page gets reloaded. Hanel Matthias Fachinformatiker

Re: Struts 1.1 Final - Just asking!

2002-07-11 Thread Ted Husted
Anyone's guestimation is *not* going to be worth the pixels they are published on, and it's pointless to disappoint people with speculations. The honest truth is that we ship when we run out of bugs to fix. Since we don't know what bugs people will find in the upcoming beta 2 release, we can't

keeping the old debate open...

2002-07-11 Thread Barbara Post
Hi Ted, just a question about how open-source projects are managed at apache's : how do you know you run out of bugs to fix ? what's the way the projects are tested ? thanks, since my boss wonders about open-source and fears it a bit... we must ensure we know exactly what we can rely upon or not

RE: html:errors

2002-07-11 Thread Kamholz, Keith (corp-staff) USX
Hey, This kinda depends on what errors you are looking for. If you are using automatic form validation, then make the validate() method simply return an ActionErrors object with any error messages. If there are no errors, return null or an empty ActionErrors. Struts will automatically take the

[OT] Display tag pbs

2002-07-11 Thread @Basebeans.com
Subject: [OT] Display tag pbs From: Andrej Sobkowski [EMAIL PROTECTED] === All, sorry to post this message here but apparently the display tag has been designed (initially) as a Struts-related tag (BTW, I AM using Struts on my project). Please don't hesitate to point me to other resources. -

AW: html:errors

2002-07-11 Thread mhanel
Yes I know. Probably my question was wrong. Can I use the html:errors/ tag with some html:present/html:present tags? like html:present properties=errors Do Some stuff for errors. /html:present -Ursprüngliche Nachricht- Von: Kamholz, Keith (corp-staff) USX

Re: DynaActionForm and JSTL (was RE: DynaActionForm Advantages)

2002-07-11 Thread @Basebeans.com
Subject: Re: DynaActionForm and JSTL (was RE: DynaActionForm Advantages) From: Serge Shikov [EMAIL PROTECTED] === Vic C. wrote: I like to unit test my beans... and am also looking to design a propertyChangedEvent() and even SOAP to my beans; so no maps for me. propertyChangedEvent, and SOAP,

unsubscribe me

2002-07-11 Thread Anjali Jain
unsubscribe me NIIT Technologies 'Trust Us to Find the Way'. For details visit our website http://www.niit.com ___NOTICE This electronic mail transmission contains confidential information intended only for the person(s) named. Any use,

Re: [ANNOUNCE] Scioworks Camino v2.0

2002-07-11 Thread Developer
How about support for Tiles Validator? - Original Message - From: John Yu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 11, 2002 6:46 AM Subject: [ANNOUNCE] Scioworks Camino v2.0 Dear Struts Users, We are pleased to announce the release of Scioworks Camino v2.0, a

unsubscribe me

2002-07-11 Thread deepak . konale
Deepak Konale -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: keeping the old debate open...

2002-07-11 Thread Ted Husted
We run out of bugs to fix when everything in Bugzilla is marked resolved, later, or won't fix. =:0) We publish the current development version each and very night. Many developers download this and try it against their own products, which is where the bug reports come from. We do have a few

FormFile/DiskFile and form validation/redisplay during file upload

2002-07-11 Thread Galpin, Charles
(20020711) to get past other file upload problems under weblogic 7.0. Thanks charles

Problem with session ojects: memory size, updates

2002-07-11 Thread Heligon Sandra
Sorry, my english level isn't very good. I read that the Struts framework doesn't make (oblige) to use one particular model implementation (EJB, JavaDataObject, JavaBean, ...). But the JavaBean solution is understood or greatly recommended, isn't it ?

Re: keeping the old debate open...

2002-07-11 Thread Kevin . Bedell
just a question about how open-source projects are managed at apache's : how do you know you run out of bugs to fix ? what's the way the projects are tested ? thanks, since my boss wonders about open-source and fears it a bit... One of fundamental advantages of Open Source is that

RE: custom tags accessing database (MVC model review)

2002-07-11 Thread Jacob Hookom
I developed what I call the JFuse library which uses an action/map setup for taking result sets and mapping them to objects as per an xml config file: jfuse-config data-sources jndi-source alias=cp path=java:comp/env/jdbc/colorpath life=20

RE: keeping the old debate open...

2002-07-11 Thread wbchmura
I cant get more than 15 bugs to be displayed and half of those are enhancements... On the summary page I can see a bunch, but under a query forget it! -Original Message- From: Kevin.Bedell [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 10:18 AM To: struts-user Subject:

Should I bother to try and handle this with struts?

2002-07-11 Thread Rick Reumann
I'm confused how I can/should handle this in Struts... What I need to build (and long story why) is a User Administration utility and where I'm having trouble fitting this in with struts is in regard to the following: Picture a case where you want to give user's certain roles based on certain

Re: Struts + MVC Philosophical question

2002-07-11 Thread Alex Hayley
Strictly following MVC, how can I populate the input page with model info I need? Any ideas? You might want to take a look at creating a global forward that forwards to an Action. Create a global forward to an Action that does the stuff you need and then forward to the input page. Take a look

Re: Problems running struts 1.1b1 with Jbuilder 6

2002-07-11 Thread Craig R. McClanahan
On Thu, 11 Jul 2002, emmanuel.boudrant wrote: Date: Thu, 11 Jul 2002 10:07:45 +0200 (CEST) From: emmanuel.boudrant [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Problems running struts 1.1b1 with

RE: keeping the old debate open...

2002-07-11 Thread Craig R. McClanahan
On Thu, 11 Jul 2002 [EMAIL PROTECTED] wrote: Date: Thu, 11 Jul 2002 10:55:14 -0400 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: keeping the old debate open... I cant get more than 15 bugs to be displayed and half of

Re: dynabeans as value objects in struts 1.0.X

2002-07-11 Thread Craig R. McClanahan
On Thu, 11 Jul 2002, Adolfo Miguelez wrote: Date: Thu, 11 Jul 2002 13:33:24 + From: Adolfo Miguelez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: dynabeans as value objects in struts 1.0.X Hi All, I quick question with a

RE: [ANNOUNCE] Easy Struts v0.4 for Eclipse / JBuilder

2002-07-11 Thread James Ward
I tried to do an update from within Eclipse, but it doesn't seem to work? Any ideas? BTW: Eclipse + EasyStruts is awesome!!! Thank you! -James -Original Message- From: emmanuel.boudrant [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 4:48 AM To: Struts Users Mailing List

Re: Should I bother to try and handle this with struts?

2002-07-11 Thread Eddie Bush
Use container-managed authentication. For your role names, prepend a unique identifier for the application: BackOfficeApp Roles: BOA_USER BOA_ADMIN JoeBlowApp Roles: JBA_USER JBA_ADMIN DumbApp Roles: DAP_USER DAP_ADMIN I think that covers your needs, doesn't it? You could

Re: keeping the old debate open...

2002-07-11 Thread Craig R. McClanahan
On Thu, 11 Jul 2002 [EMAIL PROTECTED] wrote: Date: Thu, 11 Jul 2002 10:17:33 -0400 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: keeping the old debate open... just a question about how

RE: Struts + MVC Philosophical question

2002-07-11 Thread Dan Cancro
My favorite reason for insulating the view from the model is because otherwise, you could encounter errors in the middle of serving a page and the users would see a half-finished page. With insulation (via controller), you can make sure that all data retrieval by a page is foolproof. When you

Re: AW: html:errors

2002-07-11 Thread @Basebeans.com
Subject: Re: AW: html:errors From: Eric Rizzo [EMAIL PROTECTED] === [EMAIL PROTECTED] wrote: Yes I know. Probably my question was wrong. Can I use the html:errors/ tag with some html:present/html:present tags? like html:present properties=errors Do Some stuff for errors.

Re: html:errors

2002-07-11 Thread @Basebeans.com
Subject: Re: html:errors From: Eric Rizzo [EMAIL PROTECTED] === [EMAIL PROTECTED] wrote: Like so? logic:messagesPresent font color=Redhtml:errors//font /logic:messagesPresent For that why not just put the font... and /font elements as the value of errors.header and errors.footer in your

RE: Problems running struts 1.1b1 with Jbuilder 6

2002-07-11 Thread andrew . cochrane
I'm using Tomcat 3.2.3 within JBuilder... -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 9:02 AM To: Struts Users Mailing List Subject: Re: Problems running struts 1.1b1 with Jbuilder 6 On Thu, 11 Jul 2002, emmanuel.boudrant

Re: struts and javascript document.write(...)

2002-07-11 Thread Virga
hi babs, you could also use 'innerHTML', but it will not work in 'not-so-dhtml' browser like netscape 4.7.x :-( e.g.: create a function to display the error message and call the function on your validation script. script language=Javascript function displayError(theMessage) {

Re[2]: Should I bother to try and handle this with struts?

2002-07-11 Thread Rick Reumann
On Thursday, July 11, 2002, 12:22:57 PM, Eddie wrote: EB Use container-managed authentication. Eddie, thanks for your info on container management but actually my question really isn't about how to manage authentication. (I should have been more clear). It is how do you use Struts to generate

RE: [ANNOUNCE] Easy Struts v0.4 for Eclipse / JBuilder

2002-07-11 Thread emmanuel.boudrant
It's normal, i didn't update the web site coming soon. I make it this night ;) Thanx, -Emmanuel James Ward [EMAIL PROTECTED] a écrit : I tried to do an update from within Eclipse, but it doesn't seem to work? Any ideas? BTW: Eclipse + EasyStruts is awesome!!! Thank you! -James

Re: Tiles fowarding from struts-config

2002-07-11 Thread Developer
Apparently this problem was fixed on the 20020711 nightly build. Thank you. - Original Message - From: Developer [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, July 10, 2002 1:26 PM Subject: Tiles fowarding from struts-config Greetings, I'm

Re: ActionServlet question

2002-07-11 Thread rainer juenger
Hi Craig, thanks a lot for your pations! I think we are getting confused over terminology. The action servlet is configured in web.xml, not struts-config.xml action elements. You are write! I am actually not talking about the ActionServlet but about the Class Action that is a Servlet as well

Why not have tags specify simple field validation?

2002-07-11 Thread struts-user
One of the key uses of ActionForm classes is to do field validation. Often, this validation is simple data-type checking, or verifying that fields are non-null. It seems like 80% of the validation tasks could be done by adding one or two simple optional parameters to form tags. This would

Re: Why not have tags specify simple field validation?

2002-07-11 Thread Craig R. McClanahan
On Thu, 11 Jul 2002 [EMAIL PROTECTED] wrote: Date: Thu, 11 Jul 2002 13:10:16 -0400 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Why not have tags specify simple field validation? One of the key uses

tiles as attribute's value - is it possible ?

2002-07-11 Thread Arik Levin ( Tikal )
Hi all. I have some tag which I want it to be like this: html:mytag value=tiles:getAsString name=title / / As I saw after some searching I saw that some of you out there did it like this:

RE: keeping the old debate open...

2002-07-11 Thread wbchmura
Okay, if I do that and further refine it by: All SEVERITY except enhancement Versions 1.1b1, Nightly Build, Unknown I am down to 23 bugs. Is this an accurate representation of what has to happen before the next beta release? Are Enhancements planned to be done before the next beta?

RE: keeping the old debate open...

2002-07-11 Thread James Holmes
That's correct. Enhancements are just that. They will not prevent beta 2 from going out. Once those 23 bugs are knocked it's likely that beta 2 will be released. If you have time jump in and fix a bug or two and submit patches and we'll be that much closer to beta 2 being ready. -james

RE: keeping the old debate open...

2002-07-11 Thread wbchmura
Sure, I try to help where I can -Original Message- From: jholmes612 [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 1:41 PM To: struts-user Subject: RE: keeping the old debate open... That's correct. Enhancements are just that. They will not prevent beta 2 from going out.

Really dynamic forms

2002-07-11 Thread olschmeltzer
Hi ! Contrary to DynaActionForm which are rather declarative forms than dynamic forms, I have a need for building forms that are parametric. For instance, the Internet user specifies the number of elements he requires, and the system builds dynamically a JSP form containing as many fields as the

WEB-INF/web.xml hardcoded in initServlet() [struts 1.0.2]

2002-07-11 Thread olschmeltzer
Hi ! I am using Struts 1.0.2 under Visual Age for Java 3.5.3 and Websphere Test Environment ; the architecture is not fully J2EE. In particular, WTE does not parse the WEB-INF/web.xml file but another file with a similar syntax (xxx_app.webapp) : this is where it finds the mappings for the

Re: [jetty-support] Struts html:base problem

2002-07-11 Thread Eric Rizzo
Greg Wilkins wrote: I think that the path elements refer to getContextPath, getServletPath and getPathInfo. I believe that getRequestURI should always return the URI of the original request, unless wrapped by a user. However!!! Craig McClanahan know a thing or two about servlets so

Re: [jetty-support] Struts html:base problem

2002-07-11 Thread Greg Wilkins
Eric, The opinions that I have got on this matter have been split. But Craigs point about 8.4 is good, so I will change the next releases of Jetty. I'll also ask the watchdog folks to add a test for it. I assume from section 4.4 that the URI will also have to be re-encoded so that

Using the same Action for GET and POST?

2002-07-11 Thread @Basebeans.com
Subject: Using the same Action for GET and POST? From: George Su [EMAIL PROTECTED] === Hi, I'm still trying to get up to speed on Struts, and I'm trying to set up an edit form. I'm wondering, is it possible to use the same action mapping (same jsp page, action, actionform) to handle both the

Re: dynabeans as value objects in struts 1.0.X

2002-07-11 Thread Adolfo Miguelez
cheers Craig From: Craig R. McClanahan [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: dynabeans as value objects in struts 1.0.X Date: Thu, 11 Jul 2002 09:10:35 -0700 (PDT) On Thu, 11 Jul 2002, Adolfo

Re: WEB-INF/web.xml hardcoded in initServlet() [struts 1.0.2]

2002-07-11 Thread Craig R. McClanahan
On Thu, 11 Jul 2002 [EMAIL PROTECTED] wrote: Date: Thu, 11 Jul 2002 17:40:38 +0200 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: WEB-INF/web.xml hardcoded in initServlet() [struts 1.0.2] Hi ! I am using Struts 1.0.2 under

RE: html:errors

2002-07-11 Thread Kamholz, Keith (corp-staff) USX
Yeah, that's what I do. I make the font part of the header/footer, as well as tags for a list. Then the individual error messages are list items. It creates a very nice display. Some consider it bad practice to use html in your properties file, but others such as myself don't have a problem

Re: Validator error

2002-07-11 Thread David Winterfeldt
I think you may have upgraded the Commons Validator jar, but not Struts. The SERVLET_CONTEXT_KEY was removed from this class to try to completely separate it from Struts and the web layer. Try using the Commons Validator that comes in the nightly download for the version you are using. David

RE: Validator

2002-07-11 Thread David Winterfeldt
You can go to my site to. I have older downloads and revision notes posted. The version 1.0 under the downloads (same as July 2001 release) was the last version developed with Struts 1.0, but you can get some later versions working with a little more effort (getting all the extra jars).

RE: ActionServlet question

2002-07-11 Thread Martin Cooper
-Original Message- From: rainer juenger [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 10:10 AM To: Struts Users Mailing List Subject: Re: ActionServlet question Hi Craig, thanks a lot for your pations! I think we are getting confused over terminology. The

Altering Configuration from command line

2002-07-11 Thread Brian Kirsch
Does any one know of a way to reload the struts-config.xml from a command line interface with out rebooting the servlet container. Can new features be added to a struts application ( action mappings, form beans, and jsp templates ) through an automated command line script? Brian -- To

Re: WEB-INF/web.xml hardcoded in initServlet() [struts 1.0.2]

2002-07-11 Thread Tim T. Young
Yes VAJ/WTE is a pain, but it is ok to have the same configuration in the webapp file and the web.xml file. Like this... servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping and the actual servlet definition, etc. If you deploy WAS 3.5.x

RE: html:errors

2002-07-11 Thread wbchmura
If you have the HTML in the resources file, you are stuck with that font across the whole application I would think. For a form or something its not bad because you are only going to use that error in one place. But with general errors or messages, you may want the information to be

where can caching help performance?

2002-07-11 Thread Jamie J
I'm wondering how people speed up their MVC webapps. Taglibs for caching parts of jsps seem like a good way of improving the speed of a web app (see: http://jakarta.apache.org/taglibs/doc/cache-doc/intro.html, http://www.opensymphony.com/oscache/tags.html, the one that comes with weblogic etc).

RE: where can caching help performance?

2002-07-11 Thread Chappell, Simon P
We have found that the biggest bang for the buck comes with pre-fetching data out of the database and building our business objects ahead of time and storing them in an in-memory cache. This means that we have a very large cache (we estimate at least a gig when we get fully ramped up for phase

RE: html:errors

2002-07-11 Thread Kamholz, Keith (corp-staff) USX
True, putting the html in the resources file does cut down a little bit on customization, but sometimes it's nice. I'm doing an entire application on my own, so I don't really have to worry about what other programmers will need to do. I know it fulfills my needs just fine, so I have no

RE: html:errors

2002-07-11 Thread wbchmura
I've been struggling lately with one of the methodologies practice of not progamming for the future, but coming back and refactoring when you need to do that. Much self beating going on... -Original Message- From: kkamholz [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 4:09

RE: where can caching help performance?

2002-07-11 Thread wbchmura
Hi Simmon, Can you point me at any docs on building the objects ahead of time and caching them? Thanks Bill -Original Message- From: Simon.Chappell [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 4:07 PM To: struts-user Subject: RE: where can caching help performance? We

Display Tag Library

2002-07-11 Thread wbchmura
You mentioned that you had a bunch of features You dont happen to have one that works with the multicheckbox control? I want to add a delete checkbox to each row... -Original Message- From: lists [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 04, 2002 12:29 AM To:

RE: where can caching help performance?

2002-07-11 Thread Chappell, Simon P
Bill, There are no docs that I know of to point you at. We designed this ourselves when we were given our requirements. We have a backend Database subsystem that contains two sub-subsystems, one for caching and one for data access. The API for the Database subsystem always looks in the cache

RE: where can caching help performance?

2002-07-11 Thread wbchmura
Pretty good thanks! -Original Message- From: Simon.Chappell [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 4:41 PM To: struts-user Subject: RE: where can caching help performance? Bill, There are no docs that I know of to point you at. We designed this ourselves when we

Re: Altering Configuration from command line

2002-07-11 Thread Craig R. McClanahan
On Thu, 11 Jul 2002, Brian Kirsch wrote: Date: Thu, 11 Jul 2002 12:17:41 -0700 From: Brian Kirsch [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Altering Configuration from command line Does any one know

RE: Altering Configuration from command line

2002-07-11 Thread Mark Nichols
-Original Message- From: Brian Kirsch [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 2:18 PM To: Struts Users Mailing List Subject: Altering Configuration from command line Does any one know of a way to reload the struts-config.xml from a command line interface with

RE: where can caching help performance?

2002-07-11 Thread Jacob Hookom
-Original Message- From: Jamie J [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 2:51 PM To: [EMAIL PROTECTED] Subject: where can caching help performance? What approaches do people use to speed up such apps? Is caching really only an option in the model, rather than the

RE: Altering Configuration from command line

2002-07-11 Thread Brian Kirsch
Thanks for the responses, I did see the reload feature of the ActionServlet. However, we are looking to avoid going through an http interface to do the reload. For security reasons we want the reload functionality to only be run from the local system console. We also want a way if possible to

RE: where can caching help performance?

2002-07-11 Thread Jamie M
on the topic of cache freshness, one idea that I thought was interesting was something IBM was reportedly doing for the Olympics (or some other very high-traffic) website. Changes to the data in the database triggered messages to the cache to invalidate certain cached objects. This removes then

RE: Altering Configuration from command line

2002-07-11 Thread Craig R. McClanahan
On Thu, 11 Jul 2002, Brian Kirsch wrote: Date: Thu, 11 Jul 2002 13:59:06 -0700 From: Brian Kirsch [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: Altering Configuration from

RE: unsubscribe me

2002-07-11 Thread James Mitchell
Never!!! All your base are belong to us!! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network

RE: unsubscribe me

2002-07-11 Thread Nelson, Laird
-Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] All your base are belong to us!! In A.D. 2002 Struts v1.1 was beginning. Craig: What happen ? Ted: Somebody set up us the struts-config.xml ActionServlet: We get incoming HTTP request Craig: What ! ActionServlet:

locating DTD when upload an xml file

2002-07-11 Thread Yi-Xiong Zhou
Dear helper, I am using Digester to parse an xml file from web upload. The DTD file is also in the same directory of the xml file and specified in the xml file as !DOCTYPE Certificate SYSTEM BRSUCofA.dtd. Could anyone tell me the best way to handle this problem? One way I think about is to

RE: Re: Struts + EJB ?

2002-07-11 Thread Adam Young
Seems to me the real solution would be to put a session layer between the entity and session beans. The sesion layer would expose a serializable JavaBean that the form could wrap, and the session bean would be reponsible for building and processing the serialiable bean. Trying to get struts to

Re: FormFile/DiskFile and form validation/redisplay during fileuploa d

2002-07-11 Thread Joe Germuska
I don't know of any browser which actually does anything with the value field of an input type file. The fact that the html:file tag puts a value in is just a side effect of FileTag extending BaseFieldTag. Sorry. This isn't a Struts thing, it's a browser thing. Try making a static HTML

Re: Display Tag Library

2002-07-11 Thread @Basebeans.com
Subject: Re: Display Tag Library From: Matt Raible [EMAIL PROTECTED] === You can do this with a decorator. I created my own ListWrapper.java decorator class: snip public class ListWrapper extends TableDecorator { /** * Creates a new Wrapper decorator who's job is to reformat some of the *

RE: Re: Struts + EJB ?

2002-07-11 Thread Craig R. McClanahan
On Thu, 11 Jul 2002, Adam Young wrote: Date: Thu, 11 Jul 2002 12:10:34 -0700 From: Adam Young [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Re: Struts + EJB ? Seems to me the real solution would be to

RE: where can caching help performance?

2002-07-11 Thread Chappell, Simon P
Yeah. We wanted to do that, but we couldn't get the JMS to work between servers in JRun 4. We have it working in JBoss, but we're not certain that we'll get approval to go live with JBoss. Simon -Original Message- From: Jamie M [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002

RE: Calls another action from one action?

2002-07-11 Thread I-Sampige, Srinivas
If I understood your question right you want to forward to another from within an action. You can do this like this (after reading the code pastings read the explanation right at the bottom)- -struts-config.xml- action path=/singleSearch

dynamic mapping to specific page

2002-07-11 Thread Mutiso, Anthony
Hi, A the following action class configuration: ListUsersAction - EditUserAction(userId) - ListUsersAction - CreateUserAction- ListUsersAction ListProjectsAction - ProjectDetailAction(projectId) - AddUserToProjectAction(projectId) -

  1   2   >