Changing Request Parameters

2002-02-22 Thread Phase Communcations
I am forwarding from one Action to Another. I need to tweak the request parameters. Is there a way to do this? I tried to set the reqest value by calling the FormBean and set it from the action. But, it doesn't carry over to the next Action. I can't find a way to change the request parameters.

NEVERMIND: Changing Request Parameters

2002-02-22 Thread Phase Communcations
A little more research and I find that it is not possible and that I need to rebuild the and redirect. Cheezy. -Original Message- From: Phase Communcations [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 5:08 AM To: Struts Users Mailing List Subject: Changing Request

RE: Struts vs Template Engine or Both

2002-02-21 Thread Phase Communcations
If find it interesting that the argument of placing scriptlets into a jsp page is reason enough not to use them. Has anyone heard of custom tags. If you want to avoid placing scriptlets in your page then develop a tag that handles the data. I have been developing in jsp for a year and a half and

RE: SQL in Logic Bean or Action class

2002-02-14 Thread Phase Communcations
. The only thing is to get the connection back into the pool as soon as possible. For transfering data between beans, the BeanUtils can also be helpful. Phase Communcations wrote: A quick hypothetical scenario: I have an action class that needs to pass a list of addresses to the view for display

BIG DUMMY: SQL in Logic Bean or Action class

2002-02-14 Thread Phase Communcations
SORRY I FORGOT TO TO CHANGE THE RECIPIENT. -Original Message- From: Phase Communcations [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 9:03 AM To: Struts Users Mailing List Subject: RE: SQL in Logic Bean or Action class Hey sean, The following is some dialog I had

Struts-config initialization

2002-02-14 Thread Phase Communcations
When the struts-config file is initialized, does it place the ActionMappings into a bean or are the ActionMappings checked against the struts-config file each time a */do/* url is accessed? My reason for asking is that I plan to create a config file that will define the content available to a

SQL in Logic Bean or Action class

2002-02-13 Thread Phase Communcations
Just a simple design question. Having read through several posts and reading the Struts documentation. I was wondering what is the best design pattern regarding SQL placement. My thoughts were that I need to keep SQL out of the action class and pass all resultset data into Collections of beans.

RE: SQL in Logic Bean or Action class

2002-02-13 Thread Phase Communcations
. Often times in the view beans all the data types will be string to make the validation a lot easier. Jeff Krueger -Original Message- From: Phase Communcations [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 11:40 AM To: Struts Users Mailing List Subject: SQL in Logic Bean

Digester SAXException null

2002-02-01 Thread Phase Communcations
Is this possible. I keep getting a SAXException null in my servlet.log Tomcat 3.2.3 files: I have an xml file similar to the following elementa elementbavalue/elementb /elementa

PLEASE HELP - Digester SAXException null

2002-02-01 Thread Phase Communcations
Is this possible. I keep getting a SAXException null in my servlet.log Tomcat 3.2.3 files: I have an xml file similar to the following elementa elementbavalue/elementb /elementa

Capturing a /do url with querystring intact

2002-01-28 Thread Phase Communcations
Is it possible to capture a do/ style url with the QueryString intact. Basically what I need to accomplish is to capture the full url so that when the client enters an admin area it bookmarks where they were so that they can return back to where they were before entering the admin area. It is a

[I FIGURED IT OUT :-)] Digester Examples

2002-01-13 Thread Phase Communcations
Thanks for the info. I figured it out. I see the digester playing an incredible role in what I am doing. What an incredible tool! -Original Message- From: Phase Communcations [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 12, 2002 10:25 PM To: Struts Users Mailing List Subject

Digester Examples

2002-01-12 Thread Phase Communcations
Does anyone know of some good concise digester examples and tutorials. I have been reading the docs but am unsure of several aspects of it. Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -- To unsubscribe, e-mail:

Multipart Iterator Error

2002-01-09 Thread Phase Communcations
I have a view that contains a form (Form-A) that is a multipart/form-data that is submitted to an action (Action-A). Form-A is empty when the cancel button is pressed. The cancel button returns the user to a previous form. This is accomplished within Action-A. Action-A looks to see if the cancel

Action Forwarding with /do style url

2002-01-08 Thread Phase Communcations
I think this is a simple question. I have been developing an app using the /do command line structure url. I have a form that is submitted to an action. The action at the start checks to see if the return button is pressed. If the return button is pressed the action class should forward to

Multipart Iterator Error

2002-01-08 Thread Phase Communcations
I have a view that contains a form (Form-A) that is a multipart/form-data that is submitted to an action (Action-A). Form-A is empty when the cancel button is pressed. The cancel button returns the user to a previous form. This is accomplished within Action-A. Action-A looks to see if the cancel

RE: Where should I store image files?

2001-12-16 Thread Phase Communcations
I would suggest a directory. Databases can handle the binary info. But, it is not good for performance. Both will work but I would place a file path/url in the database to reference the images and store them in a directory. Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406)

NEVERMIND: Passing url parameters using command structure url

2001-12-14 Thread Phase Communcations
I am an idiot. The solution is too embarassing to mention. -Original Message- From: Phase Communcations [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 10:52 PM To: Struts Users Mailing List Subject: Passing url parameters using command structure url I am using commmand

RE: struts and jserv

2001-12-14 Thread Phase Communcations
JSERV!!! kinda outdated don't ya think : ) -Original Message- From: nandkumar rayanker [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 7:27 PM To: [EMAIL PROTECTED] Subject: struts and jserv Hi , I am in the process of developing prototype web app and following is the

Passing url parameters using command structure url

2001-12-13 Thread Phase Communcations
I am using commmand structure urls to hide my jsp views. I need to pass a query string to an action from the view. How do I accomplish this? I have tried http://www.mysite.com/do/next?page=2 but the url brings up an error. I have read Ted Husted's catalog and am not sure I see or understand how

RE: multiple buttons on a form

2001-12-12 Thread Phase Communcations
visit the strutsx.org and look at the image button patch. -Original Message- From: Lachlan Holmes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 5:26 PM To: Struts Users Mailing List Subject: multiple buttons on a form Is there a way to have multiple submit buttons on a

Alternate Query String Arrangement

2001-12-05 Thread Phase Communcations
Has anyone succefully swapped out the ? and the in a querystring with another symbol , such as /. A problem with various search engine spiders (not all, but, several) is that they will not move past a ?. It would be advantagous to allow for the use of a more compatible querystring (a way around)

RE: Tomcat 3.2.3+mod_jk

2001-12-05 Thread Phase Communcations
Do you have ajp13 activeated/installed? Try using ajp12 to test it out. Also, where are you placing your JkMount directive? -Original Message- From: Daiju Kato [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 9:56 AM To: [EMAIL PROTECTED] Subject: Tomcat 3.2.3+mod_jk Hello

RE: action mapping as /do/* rather than *.do

2001-12-05 Thread Phase Communcations
I use this kind of mapping successfully and I prefer it way over *.do. Read the Ted Husted website under catalog. I follow his suggestions and I have had great success. Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original