Best Struts Web Server

2001-12-07 Thread Brian . Duchouquette
All, What is your experience with the Web server you are currently using to run Struts? Does it handle pages with a large number of tags well? Have you had to discard a certain server because of a problem in favor of another? Any comments appreciated... Thanks, Brian -- To unsubscribe,

Re: Best Struts Web Server

2001-12-07 Thread Brian . Duchouquette
Pete was right.. I needed to specify. I'm looking for high-end, high-load. 1 million hits a day on a server that implements a lot of JSP tags. Somehow I don't think Tomcat's going to do that (nor do I think my management is going to like using a server that doesn't have technical support :).

Re: Struts Design question

2001-12-07 Thread Brian . Duchouquette
Let me try to venture a few responses... But my beans already contain the validation! Besides, performing the validation in the ActionForm is effectively tying business logic (data validation) to the web framework dontya think? Well, I put data type and required field validation only in the

Re: If someone is interested

2001-11-15 Thread Brian . Duchouquette
Yuriy, Yep, you have my interest.. Are you using multiple sets with different Comparators (based on bean properties) to do that? Thanks, Brian Yuriy

Re: How to handle an ActionForward to a page with an anchor?

2001-08-30 Thread Brian . Duchouquette
Martin, I need to perform a submit in order for the server to see the new value that the user entered on the form in order to add it to the bean. html:link won't do that for me... Brian

Re: Running The Struts Example Application

2001-08-29 Thread Brian . Duchouquette
Try under Tomcat 3.2.3. Otherwise, if you really want to get it to run under Tomcat 4, research some of the older messages in this archive (you need to replace the xml parsing jar files which come with Tomcat 4.

How to handle an ActionForward to a page with an anchor?

2001-08-29 Thread Brian . Duchouquette
All, I have a page with a control which allows the user to add items to a vector on a bean. Basically it is a company form with an Add Subsidiary button. Each time the user presses Add, the vector on the company formbean receives the new element. However, when the page reloads, I want the

Re: building struts

2001-08-27 Thread Brian . Duchouquette
Will, Here's Craig McClanahan's message from a while back which I think addresses your problem: I build Struts on both Linux and Windows. Here is what I did: * Download and install Ant 1.3 as an application (i.e. put $ANT_HOME/bin on your PATH variable so you can say ant dist and things

Re: Using Bean properties as MessageTag args

2001-08-27 Thread Brian . Duchouquette
Kat, Use: bean:define id=NameOfPageScopeVariableToDefine name=BeanName property =PropertyNameOnBean/ someLibrary:someControl selected=% =(String)NameOfPageScopeVariableToDefine%/ In this example, the variable is defaulting to page scope. I would not define the variable as session scope since

Re: building struts

2001-08-27 Thread Brian . Duchouquette
Will, If the [style] tag is still failing, you probably still need jakarta-ant-1.3-optional.jar in the lib directory of ANT. Brian Will Jaynes

Re: building struts

2001-08-27 Thread Brian . Duchouquette
Maybe these versions don't play well? It is possible that the jar files that come from Tomcat might not be compatible. You still need to get JAXP 1.1 from the Sun Web site at: http://java.sun.com/xml/download.html (I did not have any trouble). Also, it is not necessary to place the XML

Re: nesting bean:write inside of html:link

2001-08-27 Thread Brian . Duchouquette
Actually, struts-bean.tld has a define tag which does the same thing (no custom eval tag necessary): bean:define id=idValue name=somebean property=id/ html:link href=somepage.jsp?action=someactionid=%= idValue % link text/html:link

Re: Really need you to get me out of a jam!!!!

2001-08-27 Thread Brian . Duchouquette
Alex, First, I definitely would not use a nightly build for a major demo since I have found them to be somewhat buggy in certain areas. Our development efforts are based solely on the 1.0 release which I augment with new tested functionality on an on-going basis (only as an extension layer).

Re: book ??????????

2001-08-14 Thread Brian . Duchouquette
The server is doing that, not the messenger. I had that happen to one of my previous messages also... Troy Hart

Re: Multi-page form bean persistence

2001-08-14 Thread Brian . Duchouquette
Richard, I can think of 2 things that may cause the data structure to not persist. 1. The framework might be calling an implemented reset() method on your formbean. To get multi-page formbeans to work, I had to avoid implementation of this method (since it is called between requests). 2. You

Re: FormBean Pre-popping?

2001-08-14 Thread Brian . Duchouquette
William, The action does not directly know the next view or previous view. The action object returns a generic ActionForward object with a success, failure, etc. or a more specific contacts, roles, etc if you have sub-screens with that information. The controller uses struts-config.xml to

Wizard Form Authoring..

2001-08-09 Thread Brian . Duchouquette
All, What is the best design practice that you have found for creating Wizard entry forms in the Struts framework? Thanks, Brian

Tabs on a Struts Page

2001-08-09 Thread Brian . Duchouquette
This is a follow-up to my Wizard question... If I have three tabs that are included at the top of each of the three body pages by a template, then what is the best way to make sure information is stored between requests for the different pages? Even though all three pages use the same

Re: Tabs on a Struts Page

2001-08-09 Thread Brian . Duchouquette
Nevermind... Framework was calling reset on my bean. I'm such a newbie... Brian.Duchouquette@tran

Why would jsessionid not appear?

2001-08-08 Thread Brian . Duchouquette
My link is: html:link page=/createStakeholder.do?action=createbean:message key =index.createStakeholder//html:link it works, but the URL shows: http://localhost:8080/dne-struts/createStakeholder.do?action=create no jsessionid :( Any hints appreciated! Thanks, Brian Here's my

Re: Why would jsessionid not appear?

2001-08-08 Thread Brian . Duchouquette
To follow up my last message: jsessionid is now being passed from index.jsp to my next form: CreateStakeholder.jsp. CreateStakeholder.jsp does not seem to recognize jsessionid when it is sent, and does not re-write the link tags.

Re: Weblogic related question- javax.servlet.jsp.JspException: No get ter method for property...

2001-08-08 Thread Brian . Duchouquette
RequestUtils is using introspection on your form bean class to match the name you placed in your html:text tag with a bean method name. So, if you had: html:text property=requestDate Your form bean should have: String getRequestDate() andvoid setRequestDate(String)

RE: Weblogic related question- javax.servlet.jsp.JspException: No get ter method for property...

2001-08-08 Thread Brian . Duchouquette
You're Bean class does not extend ActionForm.. [EMAIL PROTECTED]

Re: Can't get setter method(s) for indexed property right. Pleeze help

2001-08-08 Thread Brian . Duchouquette
Marcel, I walked through code example submitted by Warwick Boote to get past issues/concepts with setters for indexed properties. The only change I made was to add a second field to the form. So, if your list is named properties, you would have second field on the form called property also.

Re: Construct context-relative URL in Javascript?

2001-08-08 Thread Brian . Duchouquette
Did you try html:base/? Randall Parker

html:errors Presentation Questions

2001-08-07 Thread Brian . Duchouquette
All, I have 2 questions: 1. When I use html:errors/, the following output is rendered: Last Name is required. First Name is required. Is it possible to use the iteration tag to go through the list and provide a break between the items? 2. Validation already occurs when my

Re: Simple Login app on Husted.com + Tomcat 4.0 beta 6

2001-08-03 Thread Brian . Duchouquette
Nicky, Try 2 things: 1. Remove any XML parsers from your classpath. A pre-existing xml parser in your classpath may supercede the XML parser which comes with struts. Struts will not work with just any XML parser... 2. Try struts with Tomcat 3.2.3 (people seem to be having better luck with

Struts Scalability in a Large Production Environment

2001-07-25 Thread Brian . Duchouquette
All, I have been doing a lot of research into Struts recently. My question is about performance and scalability. First the definitions: Performance = good response time to users Scalability = good response time to a large number of simultaneous users. Usually this is a logarithmic curve

Re: Baisc q 2 Cannot find message resources u/key -

2001-07-24 Thread Brian . Duchouquette
Jon, That did something. Before when I was starting my server, the console read: - Starting service Tomcat-Standalone Apache Tomcat/4.0-b6 Starting service Tomcat-Apache Apache Tomcat/4.0-b6

HIT PAY DIRT! Re: Baisc q 2 Cannot find message resources u/key -

2001-07-24 Thread Brian . Duchouquette
Jon, When you posted the version of the xerces compiler you were using ***xerces 1.3.1***, that solved my problem. Here's the link guys: http://xml.apache.org/dist/xerces-j/ Get xerces1.3.1.zip from the link above and do like Jon said in his original message. Remove the other XML parsers

Re: servlet error with struts 1.0 (release) and tomcat 4

2001-07-24 Thread Brian . Duchouquette
Jon, I received that same error after I removed catalina.jar, but didn't have xerces.jar in the classpath. Brian Jon Brisbin

iPlanet - Cannot find message resources u/key

2001-07-23 Thread Brian . Duchouquette
All, Can someone please post their iPlanet 6x configuration files for the struts_example.war web application? I'm sure the answer to my problem is entering the descriptor xml to point to the location of the resources file, but since iPlanet does not support Webapps and WAR files, this is not a

Re: iPlanet - Cannot find message resources u/key

2001-07-23 Thread Brian . Duchouquette
Matt, Oops, I suppose I should have specified Webserver or Appserver. I'm using iPlanet Webserver 6.0. My classpath points to the directory containing ApplicationResources.properties which is: c: \iPlanet\Servers\docs\webapps\struts\WEB-INF\classes\ApplicationResources.properties This does

Re: iPlanet - Cannot find message resources u/key

2001-07-23 Thread Brian . Duchouquette
Does iPlanet Webserver 6.0 know how to use web.xml? Or is it like iPlanet Webserver 4.2 which uses rules.properties to handle essentially the same thing? (I have a call into iPlanet technical support for this question since I think I am getting too much into the container implementation of a

Re: iPlanet - Cannot find message resources u/key

2001-07-23 Thread Brian . Duchouquette
All, Has anyone with iPlanet Webserver 4.x, 6.x been able to get Struts to work? If so, have you run into the: javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE error? If so, how were you able to fix it? Thanks, Brian

Re: Repost: Where did it go?!

2001-07-23 Thread Brian . Duchouquette
Dave, It sounds like you may be having a problem with holding onto the session between your two frames. If this is a possibility, then set a session variable in the lower frame and try printing out your session information in the top frame to see what is going on. Brian

RE: NewB: Is Struts completely reliant on sessions

2001-07-20 Thread Brian . Duchouquette
Renzo, Felix, If your front-end web server/load balancer (also known as Local Director or Resonate, etc) is implemented to use IP stickiness, then this is a non-issue since the Web user will be returned to the server which serviced the original request. Brian