RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Xue-Feng Yang
--- Rohra, Prakash N. ,,DMDC/BEAU [EMAIL PROTECTED] wrote: We have a similar situation where Server side Struts components (Actions and JavaBean business components) will be accessed by a client Swing Java application (not a browser). We are also looking at various alternatives like

Options not shown.

2002-10-18 Thread Mohan Radhakrishnan
Hi, What could be the reason if the html options are not shown with the following code ? html:select property=applications multiple=true size=1 html:options collection=applicationOptions property=value labelProperty=label/ /html:select --- Vector

Re: problems with struts under j2sdk1.4.0_01

2002-10-18 Thread Isabell Schaadt
Thank you David for your answer. I've taken my projekt over just like it was before without any changes. Do you know if there are some special thinks to consider using struts under j2sdk1.4.0_01? Maybe I made a mistake at the installation and jdk1.3.1 did ignore it in opposition to j2sdk1.4.0_01.

multibox problem

2002-10-18 Thread kiuma
hello I can't change checkboxes values can u help me please in ActionForm I have : public void setPrincipalPermissions( String principalPermissions ) { this.principalPermissions.add( principalPermissions ); } public Collection getPrincipalPermissions() {

Re: problems with struts under j2sdk1.4.0_01

2002-10-18 Thread Isabell Schaadt
Hi Kevin thank you very much for your answer and all the trouble you have taken but even the struts-example doesn't work anymore. And I assume that this code should be correct. So there must be an other thing that causes that all. I've already tried anything. I have installed tomcat and struts

[FRIDAY] Quote of the Day

2002-10-18 Thread Jacob Hookom
Based on yesterday afternoon's mudslinging I learned long ago, never to wrestle with a pig. You get dirty, and besides, the pig likes it. -George Bernard Shaw -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

Re: Sub Application Shared Tiles Definitions Factory

2002-10-18 Thread Eddie Bush
This topic is in focus right now. Be patient. Feel free to search the archive for struts-dev for the last 24 hrs if you'd like to see what's going on. Heck, feel free to join struts-dev and join in the discussion ;-) Padma Ginnaram wrote: I found the following note in tiles user guide about

Re: Does Anyone Know What This Error Message Means?

2002-10-18 Thread Eddie Bush
message-resources parameter=package.to.ApplicationResources/ Do you have a line that looks like that in the config file for the application in question? It sounds like, for some reason, the resources aren't being set. The first thing that comes to mind is your not declaring them. Also check

RE: Does Anyone Know What This Error Message Means?

2002-10-18 Thread Haseltine, Celeste
Eddie, I was following some directions on the JRUN listserver regarding removing the pre-loading of the Action Servlet from the management console, in order to get Struts 1.1b2 to work in JRUN 3.1. If I add the Action Servlet back in for pre-loading, I DO get an error message in my JRUN event

RE: Does Anyone Know What This Error Message Means?

2002-10-18 Thread Craig R. McClanahan
The struts-example and struts-blank webapps work out of the box on virtually every other server -- and I do know for a fact that they don't rely on any magic specific to any one server. The exception you are getting implies that they don't have their class loading environment set up correctly

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Rohra, Prakash N. ,,DMDC/BEAU
Ok..Peace guys... I got my answers... and more.. :-) Thanks Craig.. -Original Message- From: Xue-Feng Yang [mailto:just4look;yahoo.com] Sent: Thursday, October 17, 2002 1:20 PM To: Struts Users Mailing List Subject: RE: Can V in MVC be Swing in Struts? Let me copy your answer here

RE: 'On the fly' action settings

2002-10-18 Thread James Mitchell
It is parsed once during startup. As of 1.1b1, attempting to add/modify/delete anything from the config objects will get you a “Configuration is Frozen” exception. James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org -Original Message- From: Podhigai

Newbie Question

2002-10-18 Thread CJ Jayaprakash
Let me start the Forum with a dump question[ Searched the Archives already] Tags for Grid/Table/Tree: is it part of the struts ?, any pointers ? - Cheers CJ __

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Craig R. McClanahan
On Thu, 17 Oct 2002, Rohra, Prakash N. ,,DMDC/BEAU wrote: Date: Thu, 17 Oct 2002 11:23:29 -0400 From: Rohra, Prakash N. ,,DMDC/BEAU [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Can V in MVC be Swing

RE: merge Struts and stxx

2002-10-18 Thread Don Brown
One drawback I see is that stxx includes the FOP processor (which further includes the Avalon logger), etc., and Struts might get overly large if it were to include stxx. So perhaps the status quo of using Struts and importing stxx only when needed remains preferable. Actually, the

Multiple submit buttons - form-property type=?

2002-10-18 Thread Heligon Sandra
If they are multiple html:submit buttons in a Struts-form, I read that it is possible to define a form-property for each button in order to not use JavaScript to know what button has been selected. For example: html:submit

RE: help please: Validator basic use

2002-10-18 Thread Padma Ginnaram
Try applying a simple validator like required to one of your form fields, if it does not work verify the following. 1. name used in the validation resource file matches the name in your action mapping 2. validate set to true in your action mapping 3. your form extends ValidatorActionForm, and if

Re: What is Struts form field naming constraints

2002-10-18 Thread Craig R. McClanahan
On Thu, 17 Oct 2002, Norman Klein wrote: Date: Thu, 17 Oct 2002 13:12:41 -0700 From: Norman Klein [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: What is Struts form field naming constraints Struts appears to

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Craig R. McClanahan
On Thu, 17 Oct 2002, Xue-Feng Yang wrote: Date: Thu, 17 Oct 2002 13:19:48 -0400 (EDT) From: Xue-Feng Yang [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Can V in MVC be Swing in Struts? Let me copy your

Re: Newbie Question

2002-10-18 Thread Eddie Bush
Nope. It's not. There are things which can be used on top of Struts for this though - at least, I believe there are. It occurs to me I've seen a couple of posts about such a thing recently, but I can't remember it's name - and certainly can't speak to how effective it/they are. Is it really

Session timeout jsp

2002-10-18 Thread Mohan Radhakrishnan
Hi, Can you show a session timeout page when the session times out ? Do you just listen to the event and forward ? Is there a declarative way of doing that? bye, Mohan This message and any attachments have been scanned for viruses during transmission from HCL Comnet. -- To unsubscribe,

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Assenza, Chris
I can't tell if you're being serious or not, but the question really has been answered already. The problem is that you're either A) missing the point or B) a troll. I prefer to assume A. In that case, I believe I can paraphrase what Craig has said: (1) Does STRUTS support sending serialized

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Jim.W.Berg
We have a prototype that we are using that uses Struts as the framework. We have a JTree applet that is displayed as part of the view component. This way we get to use an Explorer-type interface with the power of the JTree Swing component. The tags to implement a tree pane was pretty ugly on our

RE: help please: Validator basic use

2002-10-18 Thread Clayson, Jim
Hi, I eventually got it to work. I had not seen the example struts-validator.war and when I did some comparisons, I found that I was misinterpreting the way in which the form validation was defined in validation.xml. Its working now - thanks for the input! Jim -Original Message- From:

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Xue-Feng Yang
--- Craig R. McClanahan [EMAIL PROTECTED] wrote: On Thu, 17 Oct 2002, Rohra, Prakash N. ,,DMDC/BEAU wrote: Date: Thu, 17 Oct 2002 11:23:29 -0400 From: Rohra, Prakash N. ,,DMDC/BEAU [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing

RE: Newbie Question

2002-10-18 Thread CJ Jayaprakash
Thanks for the reply ! well not at all ! But I am thinking about all that nice features like [ .net has concept datagrid], sorting , paging conditional display of columns [ not through SQl but at the display level], conditional display of rows. post backs after changing the cell value etc. - CJ

Re: multibox problem

2002-10-18 Thread kiuma
And so how can I use a collection ? I used this but os u pointed doesn't work ! c:set var=principalPermissions value=${sessionScope.userEditForm.principalPermissions}/ c:set var=allGroups value=${sessionScope.userEditForm.allGroups}/ c:if test=${allGroups != null} c:forEach

Re: String comparation

2002-10-18 Thread David Graham
You should post this question to the sun java forums at forum.java.sun.com. Also, you're not comparing you're sorting. David From: Cathy Osekizoglu [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: String comparation Date: Thu, 17 Oct

Re: Session Cleanup

2002-10-18 Thread atta ur-rehman
Thanks, David. Putting commonly used collection in the application scope is a nice idea; both for storage space and performance reasons. Now how do I store my form beans in request instead of session? Is it the scope attribute of the action mapping that determines it? And what are performance

Re: Can V in MVC be Swing in Struts?

2002-10-18 Thread Kevin . Bedell
Using Struts/Soap/EJB for XML? Using SOAP implies (usually) communications between the client app and the server over HTTP. Using EJB generally implies communications from the client and server using RMI. The only way I can see to do what you are describing is to 'wrap' an EJB on the server

RE: Does Anyone Know What This Error Message Means?

2002-10-18 Thread Craig R. McClanahan
On Thu, 17 Oct 2002, Haseltine, Celeste wrote: To my knowledge, no one on the JRUN message board has been able to get Struts 1.1b2 working in JRUN 3.1. It is not a Struts bug. Although I don't really know Struts, I would like to use it on our next project, and we are unable to upgrade

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Xue-Feng Yang
Again, it is not my question! Look at my last post! --- Chappell, Simon P [EMAIL PROTECTED] wrote: ... snip ... And I just point out someone's answer is not a correct answer. That's it. Yes, but it's polite to provide the correct answer if you want to solve a problem

SV: [ANNOUNCE] Struts Console v2.2.1

2002-10-18 Thread Marcus Andersson
I'm using it with build 655 and it works just fine. I did however have some problems with it a couple of builds back (I don't remember what, sorry). But, as I said, now it works just fine. /Marcus PS. Thanks for a great tool James -Ursprungligt meddelande- Från: James Holmes Till:

Re: problems with struts under j2sdk1.4.0_01

2002-10-18 Thread flare
Hi Kevin thank you very much for your answer and all the trouble you have taken but even the struts-example doesn't work anymore. And I assume that this code should be correct. So there must be an other thing that causes that all. I've already tried anything. I have installed tomcat

Question regarding Struts and Weblogic 7

2002-10-18 Thread Wiener, Ed
Sorry, my original message contained a couple of inaccuracies. Please ignore the 1st message I am working on an enterprise application that uses Struts. This application was originally deployed on Weblogic 6.1 and works perfectly on this application server. However, after upgrading to

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Xue-Feng Yang
1) it is not my question; 2) I just pointed out that Craig didn't answer the question: (1) Does STRUTS support sending serialized VO objects (as against HTML or XML text strings) back and forth between client app and server. What needs to be changed in STRUTS components to suport this?

RE: [Repost] Problem with Radio Button

2002-10-18 Thread Chris Sargent
Thanks very much for the help. Here is the HTML that is generated by my JSP. JSP: logic:iterate id=appointment name=timesheetForm property=timesheet.user.appointmentData type=Appointment tr td html:radio property=timesheet.header.appointmentId idName=appointment

RE: Validator initialization

2002-10-18 Thread Declan O'Shanahan
Hi Bas, I had a problem with the validator that come with struts 1.1b2 and it manifested itself as Javascript written out as HTML at the end of the page. It is caused by the validator code only storing the formset from the last XML file that it reads. Please see

RE: Struts and cocoon and stxx and wap / wml

2002-10-18 Thread Stefan.Landro
I had to check it make sure, but of course you can transform xml into wml using jaxp (from documentation of jaxp and xalan): JAXP includes two implementations of XSLT, an interpreting version (Xalan) and a compiling version (XSLTC) that lets you save pre- compiled versions of desired

Re: Can V in MVC be Swing in Struts?

2002-10-18 Thread David Graham
JBoss too slow? I've never heard that before. If you don't like JBoss then you might check out Orion. David From: Xue-Feng Yang [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Can V in MVC be Swing in

RE: Session timeout jsp

2002-10-18 Thread Andrew Hill
Rather hard as you cant get the browser to automatically update its page at the moment the session times out (not without doing a lot of wierd things that are not worth the effort), so you cant really do anything until the next request comes through at which point you could display a page stating

RE: Session Cleanup

2002-10-18 Thread Hoang, Hai
I often stored my form beans in a session scope. I've a routine that looping through the session and destroy the unused forms. The tricky part is how to determine with forms are no longer in used. Anyone out there using this technique? -Original Message- From: Craig R. McClanahan

Re: How do I change the head and title of the page if I am using struts templates?

2002-10-18 Thread Eddie Bush
Because you can insert *any* piece into a template dynamically, you could defer the head to where the template is actually being used. You *could* define it as another template - and have different ones setup - one for each case (according to includes etc) and have the title be specified as

Re: does all ActionForm data get passed to the client

2002-10-18 Thread Xue-Feng Yang
You should not do this on ActionForm although this may not leak the data to clients. You could do this on the business logic layer. Basically, a cache machinery need to be added. --- Muffat, Shane [EMAIL PROTECTED] wrote: Does all the data that resides on a user created ActionForm object get

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Kevin A. Smith
As several other people on this list pointed out, Craig _did_ answer the question. In detail. With examples. For those of you who missed it, the answer is YES. As in the opposite of NO. At this point, you might want to review the previous emails in this thread. Craig is not misleading anyone.

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Rohra, Prakash N. ,,DMDC/BEAU
OK.I asked the original question... Did I get the answer exactly in the way/format I was looking for ?? Probably not.. Yes...Craig didn't mention the words Serialized and VO in the original answer. But hey...the answer was more than adequate to satisify my original query and apply the same

RE: Does Anyone Know What This Error Message Means?

2002-10-18 Thread Haseltine, Celeste
Joe, Considering how many problems we have had over the past 18 months with JRUN 3.1, and the lack of support, I wish I could switch. Particularly since we will not be able to upgrade to JRUN 4.0 any time in the near future, as I was hoping to do, due to budget constraints. But our currently

Re: [quick question] 1.02 taglibs are dynabean aware?

2002-10-18 Thread flare
I don't think 1.0.2 supports dyna beans. You can iterate through any collection using the JSTL's forEach tag. David the problem is not iterating but displaying iterated results with a dynabean aware taglib (since dynabeans are not truly javabeans), is there a jstl write-like tag that

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread jsadove
Really! sheesh...it must be a translation issue Kevin A. Smith [EMAIL PROTECTED] on 10/17/2002 01:55:53 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc:(bcc: Joseph Sadove/DKBDS USA/DKB) Subject: RE: Can V in

RE: is this a bug ?

2002-10-18 Thread Gavin Terrill
- Root Cause - java.lang.NoSuchMethodError: java.lang.StringBuffer: method append(Ljava/lang/StringBuffer;)Ljava/lang/StringBuffer; not found I don't know what's causing it, but can tell you what it is happening: public StringBuffer append(StringBuffer sb) has only been available

RE: Session Cleanup

2002-10-18 Thread Wendy Smoak
Hai wrote: I often stored my form beans in a session scope. I've a routine that looping through the session and destroy the unused forms. The tricky part is how to determine with forms are no longer in used. Anyone out there using this technique? I'm storing ActionForm instances in session

logic:iterate - Is it possible???

2002-10-18 Thread Tuan H. Le
Hi, I have two classes Salary and Employee public class Salary { private Date date; private double amount; private float meritPercent; ... // and Salary class accessor methods (setter/getter) } public class Employee { Salary salary; private int id; private String lastName; ...

Re: Question regarding Struts and Weblogic 7

2002-10-18 Thread Thomas A. Cook
If I'm not mistaken, WebLogic started enforcing more strictly section 7.3.4 of the JSP 2.0 spec (see also section 3.2). In your struts-html.tld file, try adding urihtml/uri and see what happens. Wiener, Ed wrote: Sorry, my original message contained a couple of inaccuracies. Please ignore

help please: Validator basic use

2002-10-18 Thread Clayson, Jim
Hi I am attempting to use the date validation provided by the framework - I am using struts1.1b2. I think I must be missing something fairly fundamental but maybe someone will be able to confirm what that is. The problem is when I enter garbage into the form's date fields and submit them, I get

i18n and images

2002-10-18 Thread Jeff Born
Right now I have created an images directory and an es, ru, etc.. directories under images to house all of my i18n images. To reference them I have placed another key in the ApplicationResouces.properties files called countrycode I then find the image with src=imagesbean:message

Re: [quick question] 1.02 taglibs are dynabean aware?

2002-10-18 Thread David Graham
I don't think 1.0.2 supports dyna beans. You can iterate through any collection using the JSTL's forEach tag. David From: flare [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [quick question] 1.02 taglibs are dynabean aware? Date:

Re: Session Cleanup

2002-10-18 Thread David Graham
Well, in the ServletRequest interface there are 2 methods getAttribute and setAttribute (you'll find identical methods in HttpSession and ServletContext). This is how you put objects into various scopes. So, in one of your Actions you would say: request.setAttribute(someName, myCollection);

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Xue-Feng Yang
--- Assenza, Chris [EMAIL PROTECTED] wrote: I can't tell if you're being serious or not, but the question really has been answered already. The problem is that you're either A) missing the point or B) a troll. I prefer to assume A. In that case, I believe I can paraphrase what Craig has

Re: help please: Validator basic use

2002-10-18 Thread Dave Derry
Is your form derived from ValidatorForm rather than ActionForm? - Original Message - From: Clayson, Jim [EMAIL PROTECTED] Hi I am attempting to use the date validation provided by the framework - I am using struts1.1b2. I think I must be missing something fairly fundamental but

[quick question] 1.02 taglibs are dynabean aware?

2002-10-18 Thread flare
if not how can I iterate an array of dynabeans without putting too much code in the jsp ? No, cannot use 1.1 ;( thanx -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Re: Can V in MVC be Swing in Struts?

2002-10-18 Thread Eddie Bush
Xue-Feng Yang wrote: 1) it is not my question; 2) I just pointed out that Craig didn't answer the question: (1) Does STRUTS support sending serialized VO objects (as against HTML or XML text strings) back and forth between client app and server. What needs to be changed in STRUTS components

Multiple parameter to html:link

2002-10-18 Thread atta ur-rehman
Hi, How do I include multiple parameters in the html:link tag? currently I got it working for one parameter like: html:link href=logout paramId=companyId paramName=company paramProperty=valuebean:write name=company property=label//html:link now, what if I want to add another parameter to this

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Xue-Feng Yang
Hahaha, it's upto you! I don't care. --- Kevin A. Smith [EMAIL PROTECTED] wrote: As several other people on this list pointed out, Craig _did_ answer the question. In detail. With examples. For those of you who missed it, the answer is YES. As in the opposite of NO. At this point, you might

Re: Struts taglibs without Struts

2002-10-18 Thread Umberto Nicoletti
On Wed, 2002-10-16 at 17:02, [EMAIL PROTECTED] wrote: Hi Can the Struts taglibs, e.g. struts-html, be used on their own i.e. just included in a page without using the Struts framework? In other words can it be used in a standalone way like, say, JSTL? I have successfully used the nested

Re: Can V in MVC be Swing in Struts?

2002-10-18 Thread Kevin . Bedell
The date keeps changing - you can check this page for the latest expected date - http://www.amazon.com/exec/obidos/tg/detail/-/0672324725/qid=1034868641/sr=1-1/ref=sr_1_1/002-0797019-2419256?v=glance Thanks! Kevin Xue-Feng Yang [EMAIL PROTECTED] on 10/17/2002 11:29:15 AM Please respond

Re: Struts and ear

2002-10-18 Thread Kevin . Bedell
This is likely a weblogic classloader issue. It's likely that you need to include a copy of struts.jar in the ear file as well as inside the war file. Also, you'll need to modify the manifest as well. There's some good weblogic docs on this. Fernando Hernandez [EMAIL PROTECTED] on

[OT] JNDI under Tomcat

2002-10-18 Thread Adam Sherman
I need to have a plugin insert an entry into the context. However, it seems that Tomcat only provides a read-only JNDI context. Any ideas on the easiest way to provide my app with an in-memory JNDI context? Thanks, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103

Re: Session Cleanup

2002-10-18 Thread atta ur-rehman
So how do you know which ones are not used anymore? - Original Message - From: Hoang, Hai [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, October 17, 2002 1:49 PM Subject: RE: Session Cleanup I often stored my form beans in a session scope. I've a

RE: Struts and cocoon

2002-10-18 Thread Madhavi Thottempudi
Hi Stefan! Actually I'm looking into this issue myself (new project that was launched this morning). Will get back to you when I know what is possible. That would be really great, if U can give me some input about it. Good luck with UR new project! Thanks -madhavi Stef. -Original

Does Anyone Know What This Error Message Means?

2002-10-18 Thread Haseltine, Celeste
I'm new to Struts, so this may be a dumb question, but I have NOT found the answer searching either this forum's list, or the JRUN forum list. I'm getting the following error message trying to run the struts-example application of the 1.1b2 version of struts under JRUN 3.1. A search of the

Re: Session Cleanup

2002-10-18 Thread David Graham
Try looking through the servlet javadoc here: http://java.sun.com/j2ee/sdk_1.3/techdocs/api/ Look at HttpServletRequest and HttpSession David From: atta ur-rehman [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject:

RE: Struts and cocoon and stxx and wap / wml

2002-10-18 Thread Madhavi Thottempudi
Thanks for that Stefan! I am gonna start on modifying the client side of my application (using stxx) from tomorrow itself :) I really appreciate UR suggestions. cheers -Madhavi At 17:45 17/10/2002 +0200, you wrote: I had to check it make sure, but of course you can transform xml into wml using

Re: ApplicationResources from within ActionForm's validate()??

2002-10-18 Thread Eddie Bush
I'm sorry, Jeff, I thought you were talking about from within the Action. The action is where you should be dealing with properties. The ActionForm is just ... Well you could think about it like a piece of copper. Electricity is commonly transferred from one place to another over copper

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Kevin A. Smith
What part of writing serialized VO objects to the raw ServletOutputStream is confusing to you? You still have to set the mime-type in the header correctly because you're using HTTP, but other than that, its pure serialized objects. --Kevin -Original Message- From: Xue-Feng Yang

Why Use Serialized Value Objects instead of XML or SOAP? (Was.... Can V in MVC be Swing in Struts?)

2002-10-18 Thread Rohra, Prakash N. ,,DMDC/BEAU
Kevin, Your observations are perfectly valid and to-the-point. We are trying to answer some of the same questions you have raised. Just to give you a little background : The application involves hundreds of Busines Objects and complex business rules. The number of different ways in which a

Re: problems with struts under j2sdk1.4.0_01

2002-10-18 Thread Thomas Eichberger
Well, the 1.1beta version should be ok. I use it in production. Maybe 1.4.1_01 has a problem, and 1.4.1 works. A friend of mine told me today he has a problem with the _01 version, too, but it's not a problem related to Struts. However, I would recommend to upgrade to the beta version, and

Re: WHY! Won't Form Classes Load

2002-10-18 Thread V. Cekvenich
You can have the V (Swing) talk to M (Beans) via Soap/Axis easy and have re-use. This I do often. If you used your controller via interfaces, you can call the business logic from SOAP as well. This I designed but have yet to test in a real world. (Remember question as to why I have

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Chappell, Simon P
I was not discussing the question, the matter of who asked it or the degree of wonderfulness of Craig's answer. I was addressing your lack of etiquette over the matter. This is a volunteer forum and many people make time during their workdays to try to help people. Craig has a workload that

'On the fly' action settings

2002-10-18 Thread Podhigai Thendral
Hi all, I read in Onjava.com that on the fly action settings can be mapped using struts. Is the struts-config.xml file parsed once during the server startup (Tomcat 4.0.1) Or is it parsed for every request ? Thanks in advance. -Thendral -- To unsubscribe, e-mail:

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Xue-Feng Yang
It could be. --- [EMAIL PROTECTED] wrote: Really! sheesh...it must be a translation issue Kevin A. Smith [EMAIL PROTECTED] on 10/17/2002 01:55:53 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc:

ApplicationResources from within ActionForm's validate()??

2002-10-18 Thread Jeff_Mychasiw
I am using 1.1b2 I have searched for this question but have found many similar questions but no satisfactory answer. It appears that using : MessageResources msg = this.getServlet().getResources() inside the action for will work, but it is deprecated. What is the cleanest way to do this? I am

Re: ApplicationResources from within ActionForm's validate()??

2002-10-18 Thread Eddie Bush
Have you tried the javadocs yet? -- Eddie Bush -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Re: What it will take for a 1.1 release... (was RE: Struts 1.1 Release)

2002-10-18 Thread Thomas Eichberger
I think the same:-) A beta 3 would help us with the customer. Thomas At 11:08 17.10.2002 +0100, Vilya Harvey wrote: Because of all these having been incorporated, I think Struts is now way past something that should have been called a 1.1 release. According to the ... Well, a little

Sub Application Shared Tiles Definitions Factory

2002-10-18 Thread Padma Ginnaram
I found the following note in tiles user guide about the shared definitions factory This plugin creates one single shared factory even if you have several modules. The plugin first read factory parameters from web.xml and then overload them with parameters from the first

Re: ApplicationResources from within ActionForm's validate()??

2002-10-18 Thread Jeff_Mychasiw
Well ...yes I have, and I hope I am missing something simple :-/ From the ActionFormI can get the ActionServlet but I no longer can the MessageResources from the ActionServlet. It states to use the Action.getResources(). Do I need to get a handle in the action in order to call getResources()

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Kevin . Bedell
At the risk of me seeming simple and pointless, can I ask why you want manually code sending serialized objects over HTTP? What you're doing is reinventing SOAP and XML-RPC. These technologies are not that hard to use - especially XML-RPC. There are Java libraries available that handle all

Re: Tiles - Date JavaScript problem

2002-10-18 Thread Cedric Dumoulin
Hi, Yes it is. Remind that Tiles propose a way to build a page by assembling small pieces. The build is done on the server side, then the resulting page is sent to the client who interprets it. A javascript code is usually interpreted on the client side. In your case, you should take care

Re: Session Cleanup

2002-10-18 Thread atta ur-rehman
Thanks Craig. That explains. I think we can afford few more cpu cycles instead of memory. Now is there a way to store collections in the request scope instead of session scope? by collections I mean, collections used to populate html:select controls? ATTA - Original Message - From: Craig

Re: Exception Page

2002-10-18 Thread Joe Germuska
At 10:56 AM -0600 2002/10/17, Dennis Muhlestein wrote: I like the global exception handler in struts 1.1b2. I have a question I haven't found in the docs. (Maybe I haven't looked hard enough if someone can point the way). If Struts forwards to the global exception page, is there a request or

Re: Can V in MVC be Swing in Struts?

2002-10-18 Thread Kevin . Bedell
If you decline to use SOAP protocol and want to build an interface that returns XML over HTTP, I'd recommend looking XML-RPC protocol - it's simpler and actually pretty easy to use. The O'Reilly XML-RPC book gives you step by step instructions on how to do it and even points you to Java

What is Struts form field naming constraints

2002-10-18 Thread Norman Klein
Struts appears to have some pretty rigid naming constraints concerning for its form field names. We are building a large form with hundreds of form variables (textboxes, selects , checkboxes). Many of these sections repeat so it is convenient to have a numeric suffix based on the index (ie

Re: String comparation

2002-10-18 Thread Kevin . Bedell
Make your classes implement the 'Comparable' interface - http://java.sun.com/docs/books/tutorial/collections/interfaces/order.html Kevin Cathy Osekizoglu [EMAIL PROTECTED] on 10/17/2002 11:18:13 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:[EMAIL

Validator initialization

2002-10-18 Thread Bas Passon
Hi, Is there anybody who can give me some hints in where to look when the validator that comes with struts 1.1b2 does not show the ruleset it reads from the configuration files? thnx, Bas --- Bas Passon First8 - http://www.first8.nl Email: [EMAIL PROTECTED] Phone: +31 (0)24

Re: problems with struts under j2sdk1.4.0_01

2002-10-18 Thread Xue-Feng Yang
I use j2sdk1.4.1. There are no problems. --- Isabell Schaadt [EMAIL PROTECTED] wrote: The struts 1.0.2 version worked without problems until I installed the j2sdk1.4.0_01 yesterday. I have choosen this version because I think it still will be worked on the beta version and there still may

problems with struts under j2sdk1.4.0_01

2002-10-18 Thread Isabell Schaadt
Hi, I'm working since a few month with jakarta-struts-1.0.2 and jakarta-tomcat-4.0.4 under jdk1.3.1. Yesterday I convert my java to j2sdk1.4.0_01 but now struts doesn't work anymore - even the struts-examples don't work. Does struts have problems with the j2sdk1.4.0_01 or do I have to consider

Re: Struts and cocoon

2002-10-18 Thread V. Cekvenich
Cocon to me is meant to replace Apache static content. Struts is for dynamc content. I strore XML content in DB (in basicPortal) and render it using JSTL X transform tag. If you read a bit about FOP, you can render anything. Cocon I think is also semi-parked. Dynamic! .V Madhavi Thottempudi

RE: Does Anyone Know What This Error Message Means?

2002-10-18 Thread Haseltine, Celeste
SR, Yes, I verified that the Struts.jar file, and all the commons-*.jar files are residing ONLY in the WEB-INF/lib subdirectories for both the struts-example and the struts-blank applications. Any thing else you can think of that I should verify to try and track this error down? Again, I am

NestedForm, NestedRoot

2002-10-18 Thread brian . bonner
I have a nested:form / nested:root question: What is the best way to get data into a form that's being displayed for initial editing (i.e. with existing values)? Do people normally initialize forms on the back-end (via some sort of formAdapter) and then either place the form on the request and

Re: Session Cleanup

2002-10-18 Thread Craig R. McClanahan
On Thu, 17 Oct 2002, atta ur-rehman wrote: Date: Thu, 17 Oct 2002 13:36:41 -0700 From: atta ur-rehman [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Session Cleanup Thanks, David. Putting commonly used

RE: Can V in MVC be Swing in Struts?

2002-10-18 Thread Xue-Feng Yang
This is my last post under RE: Can V in MVC be Swing in Struts?. All later response will be ignored since your lack of etiquette over the matter. If you don't have time, then keep quiet. However, don't mis-lead other people. Xue-Feng Yang, Ph.D Senior Java Technical Architect --- Chappell,

  1   2   3   >