RE: forwarding to another webapp

2001-12-12 Thread Alexander Jesse
Might be wrong, but forward is only within a webapp - redirect is between webapps Alexander Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 11:06 PM To: [EMAIL PROTECTED] Subject: forwarding to another webapp Is there any

RE: Form validation before pop-up window openning

2001-12-12 Thread Alexander Jesse
Hi, assuming you use validation as done by David's extensions (- validation.xml,...) you could change the Javascript-stuff in the validation.xml file to call the pop-up-window... hope this helps Alexander Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent

RE: Help:Handling Exceptions within Formbean Validate ???

2001-12-12 Thread Alexander Jesse
the form is processed remove the list from the session... hope this helps Alexander Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 1:06 AM To: [EMAIL PROTECTED] Subject: Help:Handling Exceptions within Formbean Validate ??? Hi

RE: Tomcat + Struts in Production Environment

2001-12-10 Thread Alexander Jesse
plus: there are connction pools and caches that can be integrated into servlet-engines... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 10, 2001 4:11 PM To: [EMAIL PROTECTED] Subject: RE: Tomcat + Struts in Production Environment You

RE: struts-config.xml question

2001-12-06 Thread Alexander Jesse
Hi, you should use a url like: http://server_name/context_name/web_xml_mapping/struts-config_mapping assuming your app is under webapps/myApp/..., your server is called myServer then the url is: http://myServer/myApp/wizard/logon at least that's how it works... Alexander Jesse -Original

RE: Webapps question (almost Struts related)

2001-12-06 Thread Alexander Jesse
Hi, getting an image is a new request to the webserver...which is not allowed to let anybody access something below WEB-INF...therefor the image-requests should fail... regards Alexander Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday

RE: Action an overkill ??

2001-12-05 Thread Alexander Jesse
you to change more implementation details without having to change the presentation (JSP-file)... I advocate strict use of actions in every case... = NEVER use a jsp-link, ALWAYS use an action just my two cents... Alexander Jesse -Original Message- From: Abhishek Srivastava [mailto:[EMAIL

RE: The Future of JSP

2001-12-05 Thread Alexander Jesse
) and other opensource-applications also will have their share. Alexander Jesse --- REST OF Message History -- Peter Pilgrim ++44 (0)207-545-9923

RE: Action an overkill ??

2001-12-05 Thread Alexander Jesse
and a restricted use of business-logic-custom tags. hope this helps Alexander Jesse -Original Message- From: Abhishek Srivastava [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 11:53 AM To: 'Struts Users Mailing List' Subject: RE: Action an overkill ?? Thanks for your reply

RE: Action an overkill ??

2001-12-05 Thread Alexander Jesse
server (a pure servlet-engine). Normally that's when they accept, that ejb's are a backend-thing. hope this helps Alexander Jesse -Original Message- From: Abhishek Srivastava [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 1:00 PM To: 'Struts Users Mailing List' Subject: RE

RE: html:error

2001-12-05 Thread Alexander Jesse
Hi, that's a little bug in the 1.0 struts-error-tags. I use the error-tags coming with David Winterfeldt's validation framework. The are compatible, allow for more flexible formatting and work. hope this helps Alexander Jesse -Original Message- From: Mohammed [mailto:[EMAIL PROTECTED

RE: html:error

2001-12-05 Thread Alexander Jesse
, December 05, 2001 2:02 PM To: [EMAIL PROTECTED] Subject: Re: html:error Hi Alexander, is there a new version of struts which fixes this bug Mohammed - Original Message - From: Alexander Jesse [EMAIL PROTECTED] To: struts-user [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 1:14

RE: html:error

2001-12-05 Thread Alexander Jesse
- Original Message - From: Alexander Jesse [EMAIL PROTECTED] To: struts-user [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 2:09 PM Subject: RE: html:error Hi Mohammed, I do not know... The Winterfeldt tags also allow for more flexible formatting. That's why I use only them

RE: First visit to a form

2001-12-05 Thread Alexander Jesse
Hi, sending them to an action first hides the JSP-detail and lets you prepopulate the form (if ever need arises). Also there has been a thread on problems when the user wanders off and returns to your form, if you pass by the action you can reset the form when entering... Especially the

RE: Validator not generating errors

2001-12-04 Thread Alexander Jesse
Hi, the action is missing the validate=true parameter... hope this helps Alexander Jesse -Original Message- From: Dave J Dandeneau [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 3:42 PM To: Struts Users Mailing List Subject: Validator not generating errors For some

RE: htm-:errors and struts:erros

2001-12-03 Thread Alexander Jesse
Hi, get the validator-package from David Winterfeldt and use the validators error-tags. That did the trick for me. regards Alexander Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 12:56 PM To: [EMAIL PROTECTED] Subject: htm

RE: Struts development work

2001-12-03 Thread Alexander Jesse
Hi, are you talking about - full time stuff ( 40 hours a week) - part time assignements - piece-contracts (need a class with these features; offer nnn Euros/pounds,...) And - is it applications or - struts extensions? regards Alexander Jesse -Original Message- From: [EMAIL PROTECTED

RE: Removing session scope form bean on short-circuit

2001-11-29 Thread Alexander Jesse
Hi, do you have a entrypoint into this multipage-form? If yes, put it behind an action and reset old leftover stuff in that action... hope this helps Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 12:13 AM To: [EMAIL

RE: How to send output from Action directly to user

2001-11-28 Thread Alexander Jesse
Hi, not to forget: in the action you have to return null (return(null);) when you will service the request completely within the action. good luck Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 5:01 PM To: [EMAIL

RE: Struts Checker Tool

2001-11-26 Thread Alexander Jesse
Hi, sounds good. As we want to launch use of Struts in our corp. I think we could really benefit from such a checking tool. I case it is not already in progress, I would like to integrate it into JBuilder5, so let me know when the code (source?) is available. thanks in advance Alexander Jesse

RE: How to get all the Form properties contained in a JSP ??

2001-11-26 Thread Alexander Jesse
Hi, my solution is to request a hidden field containing the names of the form-fields on a wizard page from the page-designer. Then I have a base form that has an automatic reset-method using this hidden field. hope this helps Alexander -Original Message- From: [EMAIL PROTECTED]

RE: Help with struts model

2001-11-26 Thread Alexander Jesse
Hi, to get some form-data to the server the links on top need to be form-buttons (if you do nat want to use javascript). In this case you would have one action per jsp-page. In that action you can process the the desired action ((say, for example, authorize the user, save...) and then use the

RE: design question

2001-11-23 Thread Alexander Jesse
Hi, encapsulating client info into a system-state-bean call ClientInfo will make it easier to pass it eventually to a business-logic-class that needs access to the info. So I would recommend that. If the size is big, make it persistant and store just a key in the http-session, else store it

RE: Weblogic pains...

2001-11-23 Thread Alexander Jesse
Hi, has weblogic problems with the TLD being under WEB-INF? try moving the tld to a directory not underneath WEB-INF, update the jsp and retry regards Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 22, 2001 12:28 PM To: [EMAIL

RE: Forward from one Action-instance to another

2001-11-21 Thread Alexander Jesse
Hi, add a mappring like this: action path=/foo type=FooAction forward name=success path=/index/ (or /index.do) /action I am working off-memory... but I did it once and it worked... good luck Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent:

RE: struts validator - console messages at startup

2001-11-20 Thread Alexander Jesse
Hi, you tried to switch off debugging of the validator-servlet? web.xml - servlet-definition - debug - 0 hope this helps Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, November 19, 2001 8:29 PM To: [EMAIL PROTECTED] Subject: struts

RE: Customised Error handling

2001-11-19 Thread Alexander Jesse
Hi, if you need special formatting for the errors: have a look at the validator error-tags. (in the nightly build or via ted's page hope this helps Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, November 19, 2001 12:04 PM To: [EMAIL

RE: Reading Session Size.

2001-11-15 Thread Alexander Jesse
Hi, looking for something similar ourselves...because we were already burned badly by big session-objects (crashing JVM's...). Let us know when you find something. thanks Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14,

RE: request scope and forms

2001-11-15 Thread Alexander Jesse
nothin to do with bean-magic just pure http. work-arounds: - session - either the form-bean or the vector - Renauds serialized form-bean regards Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 6:57 PM To: [EMAIL

RE: properties file in action class

2001-11-15 Thread Alexander Jesse
In your first mail you write that you want to do it in ActionServlet... then you must extend it... In your action-class you could define a static property object, which you lazy-initialize. When you need it, check for a null-value. If null: read the property-file and populate the propety-object;

RE: David Winterfeldt's Validator Framework + Jbuilder 5.0 + Tomc at 3.2.1

2001-11-14 Thread Alexander Jesse
Hi, we are using the following setup and have no problem whatsoever with it. 1. We are not using WEBRUN. we definied a special run-configuration that executes Tomcat. This allows also to set the home-dir of tomcat to a jb-project internal directory. 2. We have no nostrutstomcat32.jar

RE: Large form performance...

2001-11-14 Thread Alexander Jesse
Hi, IE is faster if you use tables. With NS you can help performance by predefining the table layout (colgroupcol width=.../colgroup). watch out for memory-hogging when using the %@ page buffer=80kb statement. We once had an app crashing the vm because the used this statement and had a big

RE: multiple html:submit buttons with different names?

2001-11-14 Thread Alexander Jesse
Hi, or try this: in the JSP (notice multi-lingual...) tr td html:submit property=previous disabled=true bean:message key=button.wizard.previous/ /html:submit /td td html:submit property=same bean:message key=button.wizard.same/ /html:submit

RE: No match was found for method setLocale(java.lang.String) - JRUN 3.0

2001-11-12 Thread Alexander Jesse
Hi, somewhere in the mail-archives you will find a similar question (and answers...) - JRun 3.0 does not completely comply to the specifications for JSP1.1. JRun 3.1 seems to be better... hope this helps Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

RE: Jbuilder 5.0 w/ Tomcat 4.0

2001-11-12 Thread Alexander Jesse
Hi, we are using JB5, Tomcat 3.2.1 (coming with JB5) Struts 1.0 and Davids Validator (the documented version is from July...) and it works flawlessly. hope this helps Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 10, 2001 3:05

RE: WAR file???

2001-11-12 Thread Alexander Jesse
Hi, the war-file is another name for a special ZIP-file used for J2EE deployment. - how do I create one: - use jar and rename resulting file to *.war - use a zip-tool and rename resulting file to *.war - other ways to deploy/run struts-applications - check with your servlet-engine -

RE: Jbuilder 5.0 w/ Tomcat 4.0

2001-11-12 Thread Alexander Jesse
shed some light on what libraries need to be defined and included to use the Validator framework? Thanks, Tony -Original Message- From: Alexander Jesse [mailto:[EMAIL PROTECTED]] Sent: Monday, November 12, 2001 12:50 AM To: struts-user Subject: RE: Jbuilder 5.0 w/ Tomcat 4.0 Hi, we

RE: Problem with multilingual submit button with request paramete rs

2001-11-04 Thread Alexander Jesse
That's the way it works. I put two methods into my base-action (int whichButton(String[] possibleButtons) and String whichButton(String[] possibleButtons)) which return the index into the array (if I want to use switch-case or the string if I do a forward on that base... works well.

RE: reset() in FormBean

2001-11-02 Thread Alexander Jesse
Hi, check in the code... first: reset() then: populate() at last: validate() You need to do it, if you have checkboxes on your form, cause their value is only transmitted if they are set. Without the reset-methode you have no knowledge when the user deselects them. Easy to try and then you

RE: adding /viewing messages like errors

2001-10-26 Thread Alexander Jesse
Maybe he refers to the validator's messageExists tag... If yes - see validator documentation cheers Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 7:55 AM To: [EMAIL PROTECTED] Subject: Re: adding /viewing messages

RE: java IDEs

2001-10-26 Thread Alexander Jesse
Hi, well, if it is just for bean-creation... Why not use a uml-tool with code-generation? (eg. ArgoUML v0.9 (the experimental one) has code-generation-features) As a side-dish you can get uml-documentation for your bean-classes... and still you use your preferred IDE (...UltraEdit...). hope

RE: Using ApplicationResources.properties for submit button

2001-10-25 Thread Alexander Jesse
Hi, make it: html:submit bean:message key=button.wizard.same/ /html:submit Be aware though that the value transferred to your action is the translated message. (In case that you have multiple submit-buttons) I wrote a bit of logic to do reverse-translating... hope this

RE: How to pass initialise parameters to action class

2001-10-25 Thread Alexander Jesse
Hi, you might use context-parms: !-- The context-param element contains the declaration of a web application's servlet context initialization parameters. -- !ELEMENT context-param (param-name, param-value, description?) They will be available to all servlets in your web-app. So from the

RE: Showing image beside fields with errors

2001-10-24 Thread Alexander Jesse
I can resolve 1), but 2) and 3) are still open. Maybe we could discuss the open issues together and write our own special error-tag. What do you think about that? cheers Alexander Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001

RE: Multiple web.xml's?

2001-10-24 Thread Alexander Jesse
really need more than one web.xml per web-application or can you split your stuff into more than one web-application, each with its own instance of web.xml and struts-config.xml? hope this helps Alexander Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent

RE: View-Document approach

2001-10-24 Thread Alexander Jesse
class=size10bean:write name=author property=name//td td class=size10bean:write name=author property=company//td /tr /logic:iterate == hope this helps Alexander Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent

RE: rtexprvalue not working in html:link tag!!! --- REVISITED

2001-10-22 Thread Alexander Jesse
Hi, check the struts doc for html-tags: To pass a single dynamic parameter, specify the parameter's name using the paramId attribute. You can then specify the name of the JavaBean holding the value using the paramName attribute, and a particular property using paramProperty. So, a tag like

RE: Links with two dynamic variables from bean

2001-10-22 Thread Alexander Jesse
Hi, check out this JSP-snippet, that's how I do it: logic:present name=%= Constants.PROJECTS % scope=request logic:iterate id=project name=%= Constants.PROJECTS % scope=request tr align=left tdbean:write name=project

RE: Struts in Europe?

2001-10-22 Thread Alexander Jesse
Hi, in our company we have a similar resistance against open-source... try to do a sample showing how much cleaner the implemetation can become using struts. btw. Credit Suisse is NOT YET using it, but... cheers Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: Presenting the data of a ValueObject on a JSP-Page

2001-10-22 Thread Alexander Jesse
Hi, readonly-data is not overkilled by using Struts. Especially if the rest of the app is already based on struts. If not: have you a garantee that you will not, at a later moment, have to process input? How about i18n? Struts helps to structure good in every occasion...(of a web-application)

RE: FormTag problem

2001-10-22 Thread Alexander Jesse
Hi, does your jsp include the tag html:base ? If not, add and retry regards Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 2:57 PM To: [EMAIL PROTECTED] Subject: FormTag problem Hi I'm having a problem with the form

RE: How to handle a PopUp Form from another Form?

2001-10-22 Thread Alexander Jesse
Hi, part one is not really a problem: just add target=_a_window_name_ to the link. part two is where it gets tough...I do not know of a html-construct allowing for this. Maybe you could create a javascript that will put the focus on _a_window_name_ if it exists... hth Alexander

RE: Cancel in struts

2001-10-19 Thread Alexander Jesse
Hi, struts generates a normal submit button, to give the action the chance to do a logical cancel. Can be usefull. I think the naming is a bit unlucky. To get the normal cancel-button: use the normal HTML-tag. hth Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [Newbie] Display multiple error messages in a list

2001-09-25 Thread Alexander Jesse
I think one of the best practises is: wrap each message within li and /li and provide error-header and -footer that give a ul-/ul frame. Although I think the html:errors tag should have an option to do this on its on... hope this helps Alexander Jesse -Original Message- From: [EMAIL

RE: logic:Iterate question

2001-09-24 Thread Alexander Jesse
=state/ /td td bean:write name=facility property=state/ /td /tr /table /logic:iterate that is pure html... hope this helps Alexander Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 1:02 AM To: [EMAIL

RE: More than one action for a request

2001-09-24 Thread Alexander Jesse
Hi, maybe the struts templates might help you... look at the template sample hope this helps Alexander Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 5:50 AM To: [EMAIL PROTECTED] Subject: Re: More than one action

RE: ActionError display and re-populate problem

2001-09-19 Thread Alexander Jesse
Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/about/struts/ Alexander Jesse wrote: I noticed that this does not happen when the scope of the form is declared as request, only when scop=session is used it will work. Tried

RE: logic:empty

2001-09-18 Thread Alexander Jesse
Hi, try the logic:present tag! works for me. good luck Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 18, 2001 2:31 PM To: [EMAIL PROTECTED] Subject: logic:empty Hi, do you know how to evaluate if an object or a variable

RE: ActionError display and re-populate problem

2001-09-18 Thread Alexander Jesse
The input text fields should be repopulated (that's pretty much the whole idea ;-), and all your errors should be displayed if you are using the standard html:errors/ tag. Just be sure the standard tokens are defined in your application resources file, such as I noticed that this does not

RE: [ANNOUNCE] Visual tool for Struts

2001-09-17 Thread Alexander Jesse
Hi, seems that the only working version is the one for Unix/Linux which downloads 1.3MB the Windows download is a mere 50kB. Still the UNix-download when expanded shows up a invalid compressed data, unable to inflate message. But at least gives quite some stuff. cheers Alexander

Problem with mappings and html:form tag

2001-09-17 Thread Alexander Jesse
) at java.lang.Thread.run(Thread.java:484) /pre Has somebody else seen something similar? Has somebody an explanation or a fix? regards Alexander Jesse

RE: Initalizing at startup and make global usable

2001-09-12 Thread Alexander Jesse
hi, write a little servlet that parses the config-file, set up your bean and store it in the application-context. In your jsp's you can then access it with scope=application, which is fast! To get your servlet executed at start-time, you can define it in your web.xml with a

RE: calling action classes

2001-09-12 Thread Alexander Jesse
Hi, Action classes are explicitely meant to be called from a from submit or a link. The class that does the db-access can be normal Java-class, which is called from the Action classes and then the result can be added to the request context by the Action class or pass the request as a parameter

RE: Does html:errors not work proper?

2001-09-11 Thread Alexander Jesse
Hi, another solution would be to fall-back to the standard-resource when a key in a NLS-resource is not found. regards Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 11, 2001 3:29 PM To: [EMAIL PROTECTED] Subject: RE: Does

RE: menu displayer

2001-08-23 Thread Alexander Jesse
to create a standard struts implementation, which could be exnteded by the individual applications to provide additional functionality (like permission-handling,...) how about it? Alexander Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23

RE: template and I18N

2001-05-30 Thread Alexander Jesse
try bean:message key=%= title % / == call teh bean and pass the key using a jsp-value good luck Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 30, 2001 3:02 PM To: [EMAIL PROTECTED] Subject: Re: template and I18N Johan Compagner

RE: newbie: Problem with ActionErrors

2001-05-15 Thread Alexander Jesse
...). I suspect it is a bug in the actual distribution, but so far have not been able (time constraints on my day-job) to verify... cheers Alexander Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 10:54 AM To: [EMAIL PROTECTED] Subject