Log4J - Log file gets overwritten

2002-02-20 Thread Praveer Mathur
Hi ! I am using Log4J version 1.1.3 downloaded from jakarta.apache.org. Everything seems to be working fine with it except that even if i set log4j.appender.R.MaxFileSize = 100KB log4j.appender.R.MaxBackupIndex = 10 I get only one log file and when it rolls over the 100K limit, it gets

where download struts javadoc?

2002-02-20 Thread @Basebeans.com
Subject: where download struts javadoc? From: zb cong [EMAIL PROTECTED] === hello where can i download struts javadoc? i only find the online version on apache website . -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: How do I init a Form bean via business logic?

2002-02-20 Thread Ian Beaumont
I've been trying to get an answer to how to initialise a form bean from this list, but with no success. See Re: Can this be done at all using Form objects within struts fram ework The reason why I don't think you can pre-populate a form from the beam (other than possibly breaking MVC) is that if

form looses valuse when validation maps back

2002-02-20 Thread Oliver Reflé
Hello All, i have for me a real strange problem. When i validate my form and there are missing fields then it is mapped back to the input page. All the error messages are shown correctly. The only thing is that my form is empty and the user has to reenter all values, which is really annoying.

How to read the application.resoureces file in JSP

2002-02-20 Thread Arun_Kumar_N
Hello, How to read the application.resources file in the JSP file. I need this urgently.Please look inot this. Regards Arun -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: How to read the application.resoureces file in JSP

2002-02-20 Thread Arik Levin ( Tikal )
What is the goal ? Maybe there's alternative. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 11:25 AM To: Struts Users Mailing List Subject: How to read the application.resoureces file in JSP Hello, How to read the

Re: Why don't tiles cascade?

2002-02-20 Thread Cedric Dumoulin
It is an expected behavior ! Tiles can be seen like functions : they takes parameters, and parameters are only visible inside the function, not outside, neither in called functions. This behavior allows to write a Tile without taking care about possible conflicts with attribute names.

Re: Displaying Test if html:errors is free of errors...

2002-02-20 Thread Sean Willson
I played with this same thing for a while, and I came up with the following tag combinations to do something what you want: html:messages id=error header=errors.header footer=errors.footerbean:write name=error filter=false//html:messages html:messages id=message header=messages.header

My problems with Struts...

2002-02-20 Thread kothapallibc
Hi, I'm a newbie to Struts and trying to fit it into an application that's modeled after Blueprints. I feel frustrated at many places...It could be just that I don't understand Struts properly yet.I feel like just using the classes that I like and leaving those features I don't prefer. I

Night Build size?

2002-02-20 Thread neil
I notice that the last 2 struts nightly builds (binaries) are about 10th of the normal size. This has happened before also. Neil -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: How do I init a Form bean via business logic?

2002-02-20 Thread Keith
IMHO - MVC means the flow of data between the presentation business layers is controlled by the controller (a struts Action). It's hard to prove this is the best way. I'm among the many people that feel struts is designed to help us write well designed MVC apps. A formBean is designed to be a

Error Messages and tags

2002-02-20 Thread Eddie Fung
We have the text for error messages declared in the ApplicationResources.properties file as per standard. We have the header and footer text as required. Now is it possible to display the error messages WITHOUT the header and footer in certain situations ? We'd like to re-use the messages and

Struts + Tiles..

2002-02-20 Thread Tuomo Syvänperä
Hi.. I know you must be sick and tired of these stupid questions about struts tiles but I have a problem (imagine that). I keep getting java.lang.IllegalStateException from tomcat when using tiles. At first I thought I had just done something wrong when using tiles, but it seems that even a

Re: FORM ELEMENTS MAPPING WITH JAVA BEAN

2002-02-20 Thread Keith
No why would you want to? Struts imposes a nice useful standard. Why not follow the capitalisation styles in the struts example ( everywhere else!). --- Amit Sharma [EMAIL PROTECTED] wrote: Hi , Struts framework says that the form element names should be same as form beam attribute names.

Re: sessions

2002-02-20 Thread Keith
Hi Bill, This has been answered but I couldn't find the answer in the archive! I'm not the expert here but - it's when a new session is created. Struts doesn't know if the browser accepts cookies (where the session id is to be stored) so puts it in the URL (URL re-writing). On the next request

Re: Error Messages and tags

2002-02-20 Thread Keith
1 - There is a new Messages tag in the nightly build. If you only need 1 mesage it's easy to code it yourself. 2 - Don't do this - Use a blank string for header/footer add your errors with a wrapper class that adds a special string for the 1st last message. The order of the errors is not

Re: Struts + Tiles..

2002-02-20 Thread Tuomo Syvänperä
Okay... Seems to be a problem with tomcat. I tried the same thing with orion and it works like a charm. Anybody now about this kind of bug in tomcat ? Or is it a bug or a feature :) /tuomo Tuomo Syvänperä wrote: Hi.. I know you must be sick and tired of these stupid questions about struts

Re: Error Messages and tags

2002-02-20 Thread Eddie Fung
Keith, not sure what you mean here re: 1- Do you mean don't bother using the ApplicationResources.properties and just return a String if we want only a single message ? 2- Can you explain how to set a special string for the 1st and last message ? The errors I have are coming out in FIFO order

Re: Night Build stable?

2002-02-20 Thread Ted Husted
The nightly builds represent the ongoing development effort; it is our actual alpha CVS, there is no other. We try to keep it in a buildable, usable state, but there can be no guarantees. The latest builds includes a number of new features which are still settling in. This includes + the

Re: How do I init a Form bean via business logic?

2002-02-20 Thread kothapallibc
Hi, How nice! I've been mulling over this for the last few days and here is a chance to discuss it! Let me try to summarize--- Option1(Struts model):- Controller updates model, retrieves the updated data and sets it in Request/Session(which JSPs use to generate the HTML). Controllers

Re: Night Build size?

2002-02-20 Thread Ted Husted
Yes, something went awry with the build Monday morning, and the WARs are not being generated. Hopefully, we can get this fixed before the builds prior to that roll off the site. [EMAIL PROTECTED] wrote: I notice that the last 2 struts nightly builds (binaries) are about 10th of the normal

Re: url to access a struts app

2002-02-20 Thread Edward Q. Bridges
nevermind. i've now had my coffee, and realized that i didn't put an entry in web.xml for the actionservlet. thanks anyway :) --e-- On Wed, 20 Feb 2002 12:58:01 +0100, Edward Q. Bridges wrote: i have a rather simple problem (i think!) . . . given an actionmapping like this: action

Re: url to access a struts app

2002-02-20 Thread Keith
Hi Edward, You haven't said what error message you got! try http://localhost:8080/ContentDB/login.do (add .do to the end). name=loginForm implies your form bean is called LoginForm.class it's called Form.class Also I'd name the action as loginAction not just Action. Ask again if this is no

Re: Night Build size?

2002-02-20 Thread Neil McBennett
Oh so is it just the example stuff that is missing? If so then it should still be ok to use right? /Neil Yes, something went awry with the build Monday morning, and the WARs are not being generated. Hopefully, we can get this fixed before the builds prior to that roll off the site. [EMAIL

Re: My problems with Struts...

2002-02-20 Thread Ted Husted
Yes, it's very true that Struts does not do anything you could not do for yourself. The point is that with Struts, you do not have to do it yourself. It's already been done, documented, and put into production. Not just by your team, but by hundreds of teams. Since the framework is closely

Struts vs Template Engine or Both

2002-02-20 Thread Crazy Dave
Hi, I'm a new JSP developer (previously been working with SilverStream pages). I've been working with Tomcat 4 Struts and find JSP's to be a little clumsy with the mixing of script code and html but I am persevering because developing my JSP skills is the best way to remain employable. I

Re: where is my commom-*.jar

2002-02-20 Thread Andrew . Goodnough
Commons jars must have been included with the Struts dist previously but you can find what you are looking for here: http://jakarta.apache.org/commons/index.html I needed the BeanUtils and Collections jars to get started. Andy Andrew Goodnough Dana Commercial

Re: My problems with Struts...

2002-02-20 Thread Arron Bates
Looking at a Struts app, the code that is outside of Struts itself you'll find is only the parts of the app that the Struts developers couldn't do for you, all split into nice little managable nuggets. Business and controlling logic being fired out of the Struts actions, and the views to

the nightly build problem

2002-02-20 Thread Christopher Cheng
I got the nightly build from Apache. Using the new iterate tag with indexed, I am able to put the form values on the page with get, but set doesn't seem to work with second level form beans logic:iterate name=form1 property=object1.object2 html:text name=object2 property=property1 indexed=true

Class reloading error in Tomcat on Sun Solaris

2002-02-20 Thread @Basebeans.com
Subject: Class reloading error in Tomcat on Sun Solaris From: Denis A.Vishniakov [EMAIL PROTECTED] === Hello! I try to use Tomcat 4.0.2 with Struts 1.0.2 on Sun Solaris. After I upload new Form class or Action class (without tomcat shutdowning) the errore occure:

How can I register a DTD in a war or jar

2002-02-20 Thread Benoit Segaert
I want to validate a XML with a DTD in a War application. I have my DTD available in the war file (or in a jar). I use a XML file like the following: ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE Application SYSTEM file:///C:/java/jakarta-tomcat-4.0.1/webapps/myapplication/WEB-INF/Ldap

Re: Error Messages and tags

2002-02-20 Thread Keith
1 - I do mean use ApplicationResources. You can look a message up from an Action as desribed here:- http://www.mail-archive.com/struts-user@jakarta.apache.org/msg21986.html Then use logic:present name=warningMessage scope=request font color=blue size=+1Your request has been accepted but with

Re: Why don't tiles cascade?

2002-02-20 Thread Jim Crossley
Hi Cedric Cedric Dumoulin [EMAIL PROTECTED] writes: It is an expected behavior ! Tiles can be seen like functions : they takes parameters, and parameters are only visible inside the function, not outside, neither in called functions. [...] I agree the potential naming conflicts could be a

Re: form looses valuse when validation maps back

2002-02-20 Thread Keith
did you search the archive? you should be able to find the solution there. --- Oliver_Reflé [EMAIL PROTECTED] wrote: Hello All, i have for me a real strange problem. When i validate my form and there are missing fields then it is mapped back to the input page. All the error messages are

RE: \No getter method\ error when using Bean:Write

2002-02-20 Thread Yu, Yanhui
Matt, It seems to me that you have case wrong for userId. Could you make a small change, then retry it? Change the following lines bean:write name=testMatt property=id / bean:write name=testMatt property=UserId / to the following lines: bean:write name=testMatt property=id / bean:write

RE: ActionForm Defaults/Updates Question

2002-02-20 Thread Dua, Amit
Hi I tried doing the same. but when there is an error in the page , it does not retreive the values from the form bean. I am validating in action class for all type of errors. Amit -Original Message- From: Jakkampudi, ChandraseKhar [mailto:[EMAIL PROTECTED]] Sent: Thursday, February

custom taglib - call tag within tag

2002-02-20 Thread Arik Levin ( Tikal )
Hi. I wanted to know if there's a possibility to call a tag within a tag and I don't mean by that to extend my tag and use findAncestorWithClass Or use the scope or something like that. Say I have some Test1Tag and Test2Tag Public Test1Tag

AW: custom taglib - call tag within tag

2002-02-20 Thread Oliver Reflé
i don't understand the question, why don't you write in your jsp tag1 tag2/ /tag1 -Ursprüngliche Nachricht- Von: Arik Levin ( Tikal ) [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 20. Februar 2002 15:44 An: 'Struts Users Mailing List' Betreff: custom taglib - call tag within tag

RE: sessions

2002-02-20 Thread Bill Page
thanks for the response. I couldn't find it in the archives either. I'm pretty new to the server side java (been client side for the last 5 years), servlets and all that so I may have some basic misunderstandings. It looks to me like any anchors in the HTML result will need to have encodeURL

RE: form looses valuse when validation maps back

2002-02-20 Thread Yu, Yanhui
Hi, Could you try to specify validate=true in the struts-config.xml instead? Yanhui Yu -Original Message- From: Oliver Reflé [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 3:22 AM To: Struts-User Subject: form looses valuse when validation maps back Hello All, i

Re: How can I register a DTD in a war or jar

2002-02-20 Thread Fernando Esteban Barril Otero
You need to implement the EntityResolver interface and write the resolveEntity() method to return a InputSource for your dtd (see EntityResolver doc). Actualy the DefaultHandler already implements this interface, so you need to overwrite the resolveEntity() method. Don't forget to set the entity

Re: Displaying recursively defined bean...

2002-02-20 Thread tom goemaes
Has any one done recursive displays using JSP? Yes and it work out fine... i just did more scope tricks :) showTree.jsp: 1. Read the root Message 2. Place root message into Request with name of message 3. display.jsp: 1. Assume there exists an object in request called message of type Message

RE: the nightly build problem

2002-02-20 Thread Yu, Yanhui
Hi, Could you use bean:define for object2 inside the logic:iterate which then needs to have propoerty=object1 only? Yanhui Yu -Original Message- From: Christopher Cheng [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 7:36 AM To: 'Struts Users Mailing List' Subject: the

RE: custom taglib - call tag within tag

2002-02-20 Thread Arik Levin ( Tikal )
This is what I need, if anybody knows how please do reply. Thanx. -Original Message- From: Oliver Reflé [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 4:41 PM To: Struts Users Mailing List Subject: AW: custom taglib - call tag within tag i don't understand the question,

ActionForm and default values

2002-02-20 Thread Dua, Amit
Hi I want to populate my page with default value So, in order to do that I have a value object (ReportData), ReportDataForm (Form Bean) I populate the Value object through one of the Action classes and then do a Action Forward to one of the Jsp namely ReportData.jsp In the ReportData.jsp I

Re: ActionForm and default values

2002-02-20 Thread Keith
try removing the value= attribute from your html: text. hope that helps. --- Dua, Amit [EMAIL PROTECTED] wrote: Hi I want to populate my page with default value So, in order to do that I have a value object (ReportData), ReportDataForm (Form Bean) I populate the Value object

RE: ActionForm and default values

2002-02-20 Thread Dua, Amit
But then how will I set the default values amit -Original Message- From: Keith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 10:36 AM To: Struts Users Mailing List Subject: Re: ActionForm and default values try removing the value= attribute from your html: text. hope

Re: Strange problem

2002-02-20 Thread keithBacon
I loop if I set up struts-config so input=SelectParty.do when it should be SelectParty.jsp. But then you would see SelectPartyAction's perform method being executed your debug msg. Is it possible you have a more complex flow of control. Stick debug messages everywhere! --- Tim Sawyer [EMAIL

RE: ActionForm and default values

2002-02-20 Thread Ian Beaumont
This question seems to be going around and around this mailing list and no one has produced an answer. -Original Message- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: 20 February 2002 15:46 To: 'Struts Users Mailing List' Cc: '[EMAIL PROTECTED]' Subject: RE: ActionForm and default

RE: form looses valuse when validation maps back

2002-02-20 Thread keithBacon
Maybe put debug mesages in your formBean getter/setters to check they are being called the values are as expected. --- Yu, Yanhui [EMAIL PROTECTED] wrote: Hi, Could you try to specify validate=true in the struts-config.xml instead? Yanhui Yu -Original Message-

Re: ActionForm and default values

2002-02-20 Thread Jim Crossley
It's pretty simple, I think. 1) The formbean is passed to the action's perform method by the Struts controller. 2) The action populates the formbean (ReportDataForm) from the value object (ReportData). 3) The action returns the appropriate ActionForm to render the view. 4) The view

RE: sessions

2002-02-20 Thread keithBacon
I never had a problem with sessions or links. It's very straightforward. Struts deals with moving around inside 1 web-app using Forwards not Redirects. A session is always there for your jsp or Action class to use. Struts handles the user denying cookies - it automatically uses URL re-writing to

java.lang.NoClassDefFoundError (class in struts.jar) on WebLogic 6.1

2002-02-20 Thread Mike Dunbar
OK, I searched through the archives and it seems I am not the first to encounter this problem. I didn't see a conclusive solution, however, so thought I would try again. All details and stack trace are given below. Any help is much appreciated. Thanks, Mike Platform WebLogic 6.1 on Windows 2000

Re: Class reloading error in Tomcat on Sun Solaris

2002-02-20 Thread keithBacon
Heavens - don't let Bill Gates find out about this. He'll start crowing. Win NT beats Solaris - oh dear. Are you saying restarting the server doesn't make it go away? I get this sort of thing after recompiling have to restart Tomcat (on Win98). As I understand I shouldn't have to. --- Struts

RE: ActionForm and default values

2002-02-20 Thread Ian Beaumont
Ok - I want to select an item on one page which will take me to another page where I can edit the selected item. How do I pre-populate the form for the edit page in the action for the selected item as the form won't exist at this point? -Original Message- From: Jim Crossley

Re: ActionForm and default values

2002-02-20 Thread keithBacon
It is that darn simple! I remember being rather confused learning struts spent a lot of time experimenting with the tags to see what happened. It's a complicated environment - the code is what i call 'dense' (no not the coder!) ie. each line requires a lot of knowledge to understand - you have

Re: ActionForm and default values

2002-02-20 Thread Jim Crossley
Ian Beaumont [EMAIL PROTECTED] writes: Ok - I want to select an item on one page which will take me to another page where I can edit the selected item. Sounds common enough. How do I pre-populate the form for the edit page in the action for the selected item as the form won't exist at this

RE: ActionForm and default values

2002-02-20 Thread Ian Beaumont
This means that in the action for the select item I need to get hold of the form bean for the next page I'm going to so I can populate it. Two problems with this: 1. How do I get hold of the form bean? Do I create it myself? 2. This all relies on me knowing the mappings of what page I'm going

Re: ActionForm and default values

2002-02-20 Thread Jonathan James
1. It gets created by the ActionServlet and passed to the action's perform method as an ActionForm. Just cast it. I don't understand what you mean by 2. - Original Message - From: Ian Beaumont [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, February

RE: ActionForm and default values

2002-02-20 Thread Corey Klaasmeyer
This is probably a common question, which should have a corresponding FAQ 'How do I pre-populate an HTML form using ActionForm?' I think the answer is you either set the values in the constructor of your ActionForm subclass implementation, but this wasn't immediately obvious to me either. You can

action and form contract

2002-02-20 Thread Carter, Steve
On husted.com, Ted Husted wrote: Do not check for null ActionForm beans in your Actions If an Action expects an ActionForm bean, then its API contact with the ActionMappings should require that this bean, or a subclass, be named in the ActionMapping. The Actions contact wit the

struts-example won't run

2002-02-20 Thread @Basebeans.com
Subject: struts-example won't run From: Wendy S [EMAIL PROTECTED] === I've searched the mailing list archive but it didn't turn up anything like this. I've downloaded Struts and dropped the .war files in $TOMCAT_HOME/webapps. I also put xercesImpl.jar and xmlParserAPIs.jar in $TOMCAT_HOME/lib.

RE: How do I init a Form bean via business logic?

2002-02-20 Thread Jakkampudi, ChandraseKhar
As long as your reset method is coded properly, all of you values should be retained. Pre-populating from a bean does not break the MVC because that is exactly how you display dynamic data which is not in a form. I am doing this and it works fine for me. JC -Original Message- From:

RE: sessions

2002-02-20 Thread Bill Page
so I take it that a redirect header doesn't count as a redirect? Have you worked without cookies? This is where it really has come up. -Original Message- From: keithBacon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 11:10 AM To: Struts Users Mailing List

RE: EJB = bad = MS.net

2002-02-20 Thread Carl Sziebert
Just a question for those of you who knock EJBs... How is it that you plan to provide transaction management and security within your applications? Going straight to the database won't provide that for you. This whole debate makes me wonder how many people really understand Java and quality

RE: EJB = bad = MS.net

2002-02-20 Thread Edward Q. Bridges
i believe that if you are using jboss as an app-server, you can shut off the ejb service and still have security and transaction management (not to mention, jndi, web application support, mail services, logging services, etc. etc.). my .2 added to your .2 --e-- On Wed, 20 Feb 2002 09:56:10

Re: EJB = bad = MS.net

2002-02-20 Thread @Basebeans.com
Subject: Re: EJB = bad = MS.net From: Vic Cekvenich [EMAIL PROTECTED] === Transaction: DBs have it; or you can have a Java Bean, that has 2 JavaBeans in it, and all have a commit() method. You use EJB for a commit()? Security? : -Menu based based on a role (using Struts-menu), some items are

RE: EJB = bad = MS.net

2002-02-20 Thread Dan Trevino
The point of EJB security and transactions is to abstract those pieces to make them vendor neutral. If you write them correctly, you'll have your security/transactions on JBoss, Weblogic, Websphere, whatever. Sure EJB's have some additional overhead, but that is the price you pay for

Re: ActionForm and default values

2002-02-20 Thread Jim Crossley
Ian Beaumont [EMAIL PROTECTED] writes: This means that in the action for the select item I need to get hold of the form bean for the next page I'm going to so I can populate it. You'll need to pass the ID of the selected item to the action. So your selection view will have something like

How to set attribute via submit

2002-02-20 Thread Alex Colic
Hi, I have a form with a couple of buttons. The form is submitted to a navigation action class that just looks at an action parameters and forwards the request. I want created a series of submit buttons with the same property but different values. If I set the value property of the tag then that

EJB = bad = MS.net

2002-02-20 Thread Vic Cekvenich
Home page of Jakarta has this http://jakarta.apache.org/site/news.html#0130.2 on this: http://www.mail-archive.com/general%40jakarta.apache.org/msg03376.html I agree. Doing EJBs is bad on many levels and creates more problems. Avoid EJB if you want to stay in Java. Alternative is to just use

RE: Strange problem

2002-02-20 Thread Tim Sawyer
Cheers Keith, It seems to be doing it somewhere in the struts framework, between the browser calling a do, and the framework calling an action. Is there any trace I can turn on? Cheers, Tim. -Original Message- From: keithBacon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20,

RE: sessions

2002-02-20 Thread keithBacon
so I take it that a redirect header doesn't count as a redirect? No idea. I never used a re-direct within struts. I guess if I specified redirect=true struts would put in the HTML exactly what you code manually in HTML. Have you worked without cookies? This is where it really has come up.

RE: sessions

2002-02-20 Thread Bill Page
thanks for your time and responses. Maybe we'll jumping in too complicated too fast. My current theory is that this stuff should be handled but there may be some problems in JRun. I've seem what seem to be similar complaints in their forum. I was able to determine that even with cookies off

RE: EJB = bad = MS.net

2002-02-20 Thread Robert
EJBs are not bad in and of themselves, and certainly not for newbies. They are easy to misuse as a lot of people have, and therefore have a bad rep. Using good design patterns can help in a good EJB solution. They solve some problems, and yes create others. Also as mentioned on the JavaLobby

RE: EJB = bad = MS.net

2002-02-20 Thread Thompson, Darryl
I STRONGLY disagree with this statement. We have been doing EJBs for 2 yrs at my shop. Our Order Entry system uses EJBs to capture customer orders in 36 cities (US) in every US timezone and we have had nothing but success. By the way there is NO reason to buy BEA weblogic unless you are running

RE: EJB = bad = MS.net

2002-02-20 Thread Cakalic, James
Hmm. And this guy claims to be training other developers using Struts. If this is the kind of ranting that goes on in his book then its no longer a wonder to me why people have blasted it so mercilessly. Ever tried to do a distributed transaction across multiple database connections? Hard enough

Re: struts-example won't run

2002-02-20 Thread keithBacon
This is such a pain - it happens lots I have no easy answer. I found http://www.mail-archive.com/struts-user@jakarta.apache.org/msg19383.html http://www.mail-archive.com/struts-user@jakarta.apache.org/msg18817.html did you search for 'remove Attributes from request' I never had this error

RE: EJB = bad = MS.net

2002-02-20 Thread Robert
Touché Jim. Touché... - Robert -Original Message- From: Cakalic, James [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 1:30 PM To: 'Struts Users Mailing List' Subject: RE: EJB = bad = MS.net Hmm. And this guy claims to be training other developers using Struts. If this

RE: EJB = bad = MS.net

2002-02-20 Thread Pu Huang
Depends on the project size. -Original Message- From: Thompson, Darryl [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 2:28 PM To: Struts Users Mailing List Subject: RE: EJB = bad = MS.net I STRONGLY disagree with this statement. We have been doing EJBs for 2 yrs at my

RE: EJB = bad = MS.net

2002-02-20 Thread keithBacon
Ever tried to do a distributed transaction across multiple database connections? Hardly ever never needed them. When we did we wished for EJB's. I'd strongly recommend putting all your data on 1 big relational database so a transaction can be managed by it. This is far simpler than EJB's. Of

submitting with link

2002-02-20 Thread Syed Niaz
Hi Iam unable to submit a form using a link function fna() { alert(document.forms[0].name); document.forms[0].submit ; } html:link href=javascript:fna()click/html:link No error is generated , but the screen simply does not move to the

Re: EJB = bad = MS.net

2002-02-20 Thread @Basebeans.com
Subject: Re: EJB = bad = MS.net From: Vic Cekvenich [EMAIL PROTECTED] === more flame I just agreed with what was on the home page of Jakarta. EJB / smejb. I am not talking about hello world ejbs. Those are features you list. To many features is sort of like building a submarine that is also

RE: Struts support for body background image??

2002-02-20 Thread Matt Raible
In that case, I'd recommend using a forward to define the path then using html:rewrite forward=name to do this. HTH, Matt --- Greg Hess [EMAIL PROTECTED] wrote: Matt, I am following Ted's struts-stub example and using a directory structure within WEB-INF to hold all my pages(jsp, html).

RE: EJB = bad = MS.net

2002-02-20 Thread Couball, James
Depends on the project requirements. Transactions across multiple data sources being a big one. Large and scalable being another. ...what are the others? Although his words say something different, maybe Vic is arguing that MS does this better/easier/cheaper than J2EE -- not that J2EE is

RE: EJB = bad = MS.net

2002-02-20 Thread keithBacon
Well done congratulations - I suspect you guys are a good quality outfit! My criticism of EJB mostly is extrapolated from looking at legacy client server systems where new technology was rushed into by zealots left horrible problems for years. Did you use them because you needed distributed

Business logic beans

2002-02-20 Thread Daniel Steinberg
The Struts User's Guide suggests that business logic be encapsulated in beans. Business logic modules are generally stateless, so one would generally implement them as static utility classes (with only static methods) or singletons (with private constructors and static factory methods), neither

RE: submitting with link

2002-02-20 Thread Brian Richards
You need to make the submit a method call. document.forms[0].submit(); bsr -Original Message- From: Syed Niaz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 8:51 AM To: Struts Users Mailing List Subject: submitting with link Hi Iam unable to submit a form using a

Re: EJB = bad = MS.net

2002-02-20 Thread @Basebeans.com
Subject: Re: EJB = bad = MS.net From: Vic Cekvenich [EMAIL PROTECTED] === Let me clarify and then do some paid work back here. 1.I think ejbs are not scalable relative to other Java API. 2. I do not want majority of market to go to MS.net. That is why I wish that more J2EE projects are

Re: EJB = bad = MS.net

2002-02-20 Thread Pete Carapetyan
Vic's points are actually becoming quite mainstream, but he gets a big shiny apple for making himself such a big target. Many people, including serious dudes, have said the same thing, perhaps in a smoother way. When discussing adding an EJB module to webAppWriter, and one senior Sun engineer

Re: struts-example won't run

2002-02-20 Thread @Basebeans.com
Subject: Re: struts-example won't run From: Wendy S [EMAIL PROTECTED] === I wrote about an error with struts-example: Error: 500 Location: /struts-example/logon.jsp Internal Servlet Error: javax.servlet.ServletException: cant remove Attributes from request scope Root cause:

RE: struts-example won't run

2002-02-20 Thread Subhadra Vemuri
I had the same problem too - and I didn't have to change any source code. I just reinstalled tomcat and all my troubles were gone. It just worked without any changes. I downloaded tomcat version 3.3a. Subhadra -Original Message- From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]] Sent:

RE: EJB = bad = MS.net

2002-02-20 Thread Cakalic, James
Even if all the data is in a single physical RDBMS instance, your design has to take one of several paths to deal with transactional issues. The first path is to ignore transactions. Just pretend like those pesky suckers don't even exist. Get a connection, leave it in autocommit mode, do what

How Do I trigger an actionForm reset from an Action

2002-02-20 Thread phil_hershkowitz
Hi, Could someone give a code snippet that I can use to invoke the reset method on an actionForm from my Action code? Thanks, Phil -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: EJB = bad = MS.net

2002-02-20 Thread Galbreath, Mark
Boy, you'd think it was Friday! Cheers! Mark -Original Message- From: Pete Carapetyan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 3:25 PM To: Struts Users Mailing List Subject: Re: EJB = bad = MS.net Vic's points are actually becoming quite mainstream, but he gets a

RE: Business logic beans

2002-02-20 Thread Robert
Perhaps the term business logic is misleading to an extent. To some, business logic in JavaBeans can mean that a JavaBean is a stateful representation of data in a database, that also has 'logic' in it for other means, such as validation, computation, etc. The term used like you suggest would fit

Re: How Do I trigger an actionForm reset from an Action

2002-02-20 Thread Jim Crossley
[EMAIL PROTECTED] writes: Could someone give a code snippet that I can use to invoke the reset method on an actionForm from my Action code? public class YourAction extends Action { public ActionForward perform(ActionMapping mapping, ActionForm form,

Html:file - practical question

2002-02-20 Thread Rooms, Christoph
Hi, I'm using a html:file object. It works fine but when my form returns with Validation errors, he always looses the value of the file path. The user always have to select at new the file which ... Is there a solution ? thanks kind regards, Christoph Rooms Technical Account Manager

RE: where download struts javadoc?

2002-02-20 Thread Paul Sijpkes
Not sure, but you could download the source code and generate the javadoc from that. -Original Message- From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]] Sent: Wednesday, 20 February 2002 7:55 PM To: [EMAIL PROTECTED] Subject: where download struts javadoc? Subject: where

Re: How to set attribute via submit

2002-02-20 Thread Victor Hadianto
same property but different values. If I set the value property of the tag then that is displayed as the text of the button. What I need to do is set the property and value of the button with a different String for the text displayed on the button. Hi Alex, This is quite hard to achieve

  1   2   >