RE: How to get application.getRealPath()

2004-02-23 Thread Greg Hess
Hi Raman, Every Action has a protected member variable (ActionServlet servlet) witch extends HttpServlet and is the controler servlet in a Struts app. ServletContext context = servlet.getServletContext(); context.getRealPath(); Cheers, Greg -Original Message- From: Raman

RE: [OT] Animated .GIF's

2004-02-20 Thread Greg Hess
Hi Jerry, I have recently worked on the same problem but I was handling it differently but pretty much the same stuff. I don't have a direct answer to your question regarding the image animation suspending and I ended up changing my business logic to queue the transaction and report confirmation

RE: Struts 1.1, Tiles and sslext11

2004-01-20 Thread Greg Hess
Greg Hess [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All, I am having difficulty integrating the sslext11 plug-in with Struts 1.1 using Tiles. I get the following error when accessing any action: javax.servlet.UnavailableException

RE: Struts 1.1, Tiles and sslext11

2004-01-20 Thread Greg Hess
/ that specify the wrong class name to use. The good people that authord the sslext are aware and will probably update the docs. Easy fix if I had of received a ClassNotFoundException, strange that no error resulted. All the best, Greg -Original Message- From: Greg Hess [mailto:[EMAIL PROTECTED

Struts 1.1, Tiles and sslext11

2004-01-19 Thread Greg Hess
-property property=addSession value=true/ /plug-in /struts-configAny help is much appreciated,Thanks, Greg Hess Software Engineer Wrapped Apps Corporation 275 Michael Cowpland Dr. Suite 201 Ottawa, Ontario

RE: Struts and webservices

2004-01-19 Thread Greg Hess
Hi Guido, I have recently migrated a proprietary(non-standard) web service implementation in a Struts based web app using Apache Axis http://ws.apache.org/axis/. Struts and Axis are both servlets, Axis handles all XML messages and Struts handles all form processing. If all you need is another

RE: HTML content

2003-11-07 Thread Greg Hess
I am not aware of any database escaping and am currently providing the same functionality. But if you are displaying the HTML using the bean:write make sure you set the filter=false attribute or the escaping will occur. HTH, Greg -Original Message- From: Rajat Pandit [mailto:[EMAIL

RE: Struts + itext

2003-11-06 Thread Greg Hess
Gonzalez, Probably more than you need but here is an example: package com.wrappedapps.boutique.view.admin; import java.io.*; import java.util.*; import java.text.*; import java.awt.Color; import javax.servlet.*; import javax.servlet.http.*; import org.apache.struts.action.*; import

RE: html:submit and 2 buttons

2003-11-06 Thread Greg Hess
I have often added form properties to represent flags for the different button actions to process. My ActionForm would have two properties update and new: setUpdate(boolean flag){} boolean isUpdate() For the submit buttons: html:submit property=update value=true / If I have to use an image

RE: upload validation failures are blanking my form values

2003-11-06 Thread Greg Hess
Try setting the redirect=true for your error action forward. Not exactly sure of the exact problem but this has solved my problems with error reporting with forms with file uploads. HTH, Greg -Original Message- From: Caoilte O'Connor [mailto:[EMAIL PROTECTED] Sent: Thursday, November

RE: jsp output to file

2003-11-06 Thread Greg Hess
To achive this I generaly use a utility method as defined below, note the path argument will contain a full url including the session Id key as the jsp is generaly relying on session data to build the output for example(http://localhost/myapp/someAction.do;jsessionid=thesessionid). The return can

RE: [OT - Design] Needing Fast Access to 300,000 Records

2003-11-06 Thread Greg Hess
To avoid having 300,000 records sitting in memory I generally have my queries return record id's. My DAO returns an int[] or ResultObjects collection containing record id's that I store in some scope(session) as it takes little mem. The records are not generally all displayed at once so I only

logic:equal using form bean property?

2003-11-06 Thread Greg Hess
to indicate the index it works fine: bean:parameter name=pid id=pid / logic:iterate name=products id=product indexId=ctr logic:equal name=pid value=%=ctr% Any help is much appreciated. Cheers, Greg Hess Software Engineer Wrapped Apps Corporation

RE: logic:equal using form bean property?

2003-11-06 Thread Greg Hess
and c:if tags instead of the Struts tags. What do your getter and setter method for pid look like? David --- Greg Hess [EMAIL PROTECTED] wrote: Hi All, I am iterating over a collection and want to display only a single Object. I have a form property(pid) indicating the Object index

RE: Struts Dilemma

2003-11-06 Thread Greg Hess
When I create a form exposing a boolean property I only write a; public void setInactive(boolean flag){} public boolean isInactive(){} The inactive form input will have the value true and false properly handled, I know it also supports other forms of true and false but I have only tested true

RE: saving jsp in WEB-INF

2003-11-06 Thread Greg Hess
forward name=success path=/WEB-INF/pages/admin/index.jsp / -Original Message- From: Rajat Pandit [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 2:33 PM To: Struts Users Mailing List Subject: saving jsp in WEB-INF hello, i have read in a number of places that for

Requiredif error?

2003-10-31 Thread Greg Hess
/field /form If I switch the rule to required all is well. Any help is much appreciated. Greg Hess Software Engineer Wrapped Apps Corporation 275 Michael Cowpland Dr. Suite 201 Ottawa, Ontario K2M 2G2

RE: [OT]Struts App and Utility computing ?

2003-10-30 Thread Greg Hess
Joe, Check out www.wrappedapps.com. Wrapped Apps Corporation offers a utility computing solution supporting J2EE web applications and has been tested extensively with struts based apps. If you have any questions let me know I would be glad to help. Kind Regards, Greg

Where did the template tags doc's go?

2003-10-27 Thread Greg Hess
Does anyone know where I can find the docs for the template tags? Greg Hess Software Engineer Wrapped Apps Corporation 275 Michael Cowpland Dr. Suite 201 Ottawa, Ontario K2M 2G2 Tel

[OT] -- Editing XML

2003-09-17 Thread Greg Hess
no idea if it is possible or where to start. Many Thanks, Greg Hess Software Engineer Wrapped Apps Corporation 275 Michael Cowpland Dr. Suite 201 Ottawa, Ontario K2M 2G2 Tel: (613) 591 -7552

RE: [OT] -- Editing XML

2003-09-17 Thread Greg Hess
grammar. Then there's XForms, which is intended to solve some of the same problems. -Original Message- From: Greg Hess [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 3:36 PM To: Struts Subject: [OT] -- Editing XML Hi All, I have been assigned

RE: [OT] Web Services, what have I done?

2003-08-21 Thread Greg Hess
/ws/ And the WS-I at: http://www.ws-i.org/ -Original Message- From: Greg Hess [mailto:[EMAIL PROTECTED] Sent: Thursday, 21 August 2003 03:11 To: Struts Subject: [OT] Web Services, what have I done? Hi All, This post might seem odd but I am looking for some insight

[OT] Web Services, what have I done?

2003-08-20 Thread Greg Hess
with the industry and write great software and document what I have done J. Any insight is greatly appreciated. Kind Regards, Greg Hess Software Engineer Wrapped Apps Corporation 275 Michael Cowpland Dr. Suite 201

RE: URL validation with struts???

2003-07-15 Thread Greg Hess
Hi Prashanth, I have done this using the Struts validator. I use the mask rule as follows: form name=serviceProviderForm field property=URL depends=required,mask msg name=mask key=error.invalid.ServiceProviderURL/ arg0

RE: [FRIDAY] What do you call a deer without eyes?

2003-07-11 Thread Greg Hess
Hi All, It better not be A dead deer :-). Have a great weekend, Greg Hello, list, We haven't get the *simplest* answer to the second question: What do you call a dead deer without eyes? If no *correct* answer, I will publish it in an hour. Only in an hour? Hmm, what's the rush? ;-)

sslext for Struts 1.1RC2 with Struts 1.1

2003-07-03 Thread Greg Hess
Hi All, Does the sslext for Struts1.1RC2 work with the new 1.1 release? Cheers, Greg Hess Software Engineer Wrapped Apps Corporation 275 Michael Cowpland Dr. Suite 201 Ottawa, Ontario K2M

Using HTML tags to build complete URL's?

2003-04-01 Thread Greg Hess
Hi All, I am building the functionality to send a HTML email as a result of a transaction. The HTML is generated via a jsp page. All the images I reference must be done with complete URL's. I have been doing this by using the ServletContext and HttpRequest to build the baseHref and then then

RE: 1.1 rc1 -Validator: Conditionally required fields.

2003-03-21 Thread Greg Hess
Bruce, I have experienced the same bug. The only thing we can do is not to use client side validation with requiredif fields :-(. I am not sure this bug has been reported in bugzilla or not, I don't have time today to search or post but we should. Cheers, Greg -Original Message-

DTD's and TLD's in Struts.jar Why?

2003-03-17 Thread Greg Hess
Hi All, One of my co workers is optimizing the deployment of my Struts based web application. He has asked me why the Struts.jar contains DTD's and TLD's and if not used would like to remove them to improve speed of deployment. The only reason I can think of is for documentation and to provide

Mask validation BUG with requiredif

2003-03-13 Thread Greg Hess
Hi All, I have just started using the requiredif validation rule with a field that is also being validated with a mask rule. The server side validation is working fine but the client side JavaScript has errors for my requiredif form fields. My form field requires the feild button2URL only if

Validation mask rule JavaScript breaks with requiredif?

2003-03-12 Thread Greg Hess
Hi All, I have just started using the requiredif validation rule. The server side validation is working fine but the client side JavaScript has errors for my requiredif form fields. My form field requires the feild button2URL only if button2Lbl has been entered and if button2URL it must pass

How to use conditionaly required fields in validator?

2003-03-11 Thread Greg Hess
Hi All, I have seen in the Struts User's Guide http://jakarta.apache.org/struts/userGuide/dev_validator.html new support for conditionally required fields. I would love to take advantage of this feature but am unclear how to implement this functionality using the Struts validator. I can see

Migrating 1.1b2 to 1.1rc1

2003-03-11 Thread Greg Hess
Hi All, I am migrating my Struts 1.1b2 web app to 1.1rc1 to take advantage of the new requiredif validation rule. I have removed all struts libs and all taglib tld's and replaced with the new ones provided with the struts-blank.war in the rc1 distribution. When I try and access my web app the

RE: Migrating 1.1b2 to 1.1rc1

2003-03-11 Thread Greg Hess
, and it looks like org.apache.struts.util.RequestUtils.computeURL() is deprecated. Khalid - Original Message - From: Greg Hess [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 10:33 AM Subject: Migrating 1.1b2 to 1.1rc1 Hi All, I am migrating my Struts 1.1b2 web

RE: Migrating 1.1b2 to 1.1rc1

2003-03-11 Thread Greg Hess
To: Struts Users Mailing List Subject: Re: Migrating 1.1b2 to 1.1rc1 I checked the Java DOC, and it looks like org.apache.struts.util.RequestUtils.computeURL() is deprecated. Khalid - Original Message - From: Greg Hess [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] Sent

RE: Migrating 1.1b2 to 1.1rc1

2003-03-11 Thread Greg Hess
: Migrating 1.1b2 to 1.1rc1 You need also to recompile your souce code against the new jars. -- James Mitchell Software Developer/Struts Evangelist http://struts.sourceforge.net/struts-atlanta/ -Original Message- From: Greg Hess [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 2

RE: Migrating 1.1b2 to 1.1rc1

2003-03-11 Thread Greg Hess
, 2003 3:20 PM To: Struts Users Mailing List Subject: RE: Migrating 1.1b2 to 1.1rc1 On Tue, 2003-03-11 at 14:14, Greg Hess wrote: I recompiled without a single error/warning :-), but I have know idea why the html:link tag is calling a method that doesn't exist? Maybe try clearing out your

Where's the JavaScript validation for requiredif?

2003-03-11 Thread Greg Hess
Hi All, I really like the new requiredif validation rule with rc1 what a great addition. I am wondering if there is a reason that it's implementation has omitted the JavaScript validation method? Is it coming? I have been looking at implementing my own JavaScript method for this rule but do

Validating conditionaly required fields?

2003-03-10 Thread Greg Hess
Hi All, I am adding some new validation to a form that is currently being managed by the validation framework. My form has several properties that are now optional. The user is to supply a URL and a corresponding label. The user has the option to enter 1-6 Label/URL combinations. I need to

Validating conditionaly required fields?

2003-03-10 Thread Greg Hess
Hi All, I am adding some new validation to a form that is currently being managed by the validation framework. My form has several properties that are now optional. The user is to supply a URL and a corresponding label. The user has the option to enter 1-6 Label/URL combinations. I need to

URL Validation with Struts validator

2003-03-05 Thread Greg Hess
Hi All, Has anyone implemented URL validation for Struts validator? Can you share? Thanks, Greg

RE: URL Validation with Struts validator

2003-03-05 Thread Greg Hess
validation? David From: Greg Hess [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] Subject: URL Validation with Struts validator Date: Wed, 5 Mar 2003 16:53:36 -0500 Hi All, Has anyone implemented URL validation for Struts validator? Can you share

RE: URL Validation with Struts validator

2003-03-05 Thread Greg Hess
On Wednesday, March 5, 2003, at 04:11 PM, Pani, Gourav wrote: you will have to do a javascript string validation in the same manner as is done for email address validation and include it in validation-rules.xml. -Original Message- From: Greg Hess [mailto:[EMAIL PROTECTED] Sent

RE: Application Flow with Transaction Tokens?

2003-02-19 Thread Greg Hess
, otherwise I would provide greater detail and a page reference. HTH, John -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 2:45 PM To: [EMAIL PROTECTED] Subject: Re: Application Flow with Transaction Tokens? Greg Hess writes: I would like

Application Flow with Transaction Tokens?

2003-02-18 Thread Greg Hess
Hi All, I am building an e-commerce module. The flow of the application is as follows: PaymentForm -- ProcessPayment -- Receipt=Success //End Or PaymentForm -- ProcessPayment -- Receipt=Error -- PaymentForm The PaymentForm is

TilesRequestProcessor to support HTTP/HTTPS switching

2003-02-18 Thread Greg Hess
Hi, I would like to incorporate tiles into my application but I require HTTP/HTTPS switching. Has anyone implemented this ability by extending the TilesRequestProcessor or will this feature be added soon? The only way I have been able to do it is by using sub-applications, but I can't justify

RE: TilesRequestProcessor to support HTTP/HTTPS switching

2003-02-18 Thread Greg Hess
Mailing List Subject: Re: TilesRequestProcessor to support HTTP/HTTPS switching we use sslext with no problems. check sf.net/projects/sslext It is a struts plug in for managing ssl. -Dennis On Tue, 2003-02-18 at 10:24, Greg Hess wrote: Hi, I would like to incorporate tiles into my

E-commerce flow with Transaction Tokens?

2003-02-17 Thread Greg Hess
Hi All, I am building an e-commerce module. The flow of the application is as follows: PaymentForm-- ProcessPayment -- Receipt Success //End -- Receipt Error -- Payment Form The

RE: How to getRealPath() in Action class?

2003-01-31 Thread Greg Hess
ServletContext context = servlet.getServletContext(); String path = context.getRealPath(\webapp\resource.jsp); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 7:37 PM To: [EMAIL PROTECTED] Subject: How to getRealPath() in Action

Building Web Service Adapter for Struts app.

2003-01-13 Thread Greg Hess
Hi All, I am building an adapter on my Struts app to allow Web Service calls from remote parties. A remote call constructs a XML and sends the request via http to my Struts app. My app processes the request by parsing the XML data posted and returns the XML result. This is all working but my

RE: different resource bundles validation framework

2002-10-24 Thread Greg Hess
The problem you are reporting is logged as bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10868 in buzilla and I see there are two patches posted. I am not sure how the bug process works and how these posted patches should be dealt with? Greg -Original Message- From: Rainer

RE: Managing User defined Web Content design advice?

2002-10-24 Thread Greg Hess
? Greg Hess wrote: 2) Create new files for each body of content and simply jsp:include or bean:include the page into the template. The problem here is that as the number of links and content is user defined and I only know how to use the include tags with static resources. Sure I could include

Managing User defined Web Content design advice?

2002-10-23 Thread Greg Hess
Hi All, I am developing a hosted ecommerce app. One of the requirements is that the client's have the ability to customize sub menu navigation providing the link name and link content. I am considering several possibilities of persistency and tags that might help me do this. I would like to take

RE: Managing User defined Web Content design advice?

2002-10-23 Thread Greg Hess
From: Greg Hess [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Mail List [EMAIL PROTECTED] Subject: Managing User defined Web Content design advice? Date: Wed, 23 Oct 2002 10:54:00 -0400 Hi All, I am developing a hosted ecommerce app. One

RE: Managing User defined Web Content design advice?

2002-10-23 Thread Greg Hess
to generate the links. David From: Greg Hess [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Mail List [EMAIL PROTECTED] Subject: Managing User defined Web Content design advice? Date: Wed, 23 Oct 2002 10:54:00 -0400 Hi All, I am developing a hosted ecommerce app

RE: Managing User defined Web Content design advice?

2002-10-23 Thread Greg Hess
I have used the java.beans.XMLEncoder and java.beans.XMLDecoder and it has worked great for both transitions as long as all the bean properties and sub properties implement Serializable. I will look into Betwixt to see if there are some advantages. Thanks, Greg -Original Message- From:

[BUG]Action Servlet not initialized load-on-startup in Resin

2002-09-30 Thread Greg Hess
Hi All, My application is intermittently being initialized improperly. I am deploying multiple struts based app's into resin and am experiencing errors with several Struts tags being used. The application deploys fine 9/10 times and then blows up. When I inspect the logs I follow the

RE: [Core] Easy question!

2002-08-30 Thread Greg Hess
servlet member variable of Action is avaliable to gain access to ServletContext. ServletContext application = servlet.getServletContext(); DataManager manager = (DataManager)application.getAttribute(Constants.DATA_MANAGER); -Original Message- From: Mark Kaye [mailto:[EMAIL PROTECTED]]

RE: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays?

2002-08-30 Thread Greg Hess
-Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 10:47 AM To: Struts Users List Subject: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays? Do you feel this list should discontinue it's long heritage of

BUG REPORT: Multiple Application resources with sub-apps and Validator's use of ApplicationResources

2002-08-29 Thread Greg Hess
Hi All, I have been trying to take advantage of using the sup-apps capabilities of Struts 1.1b1 and have come across some problems. I read a message from Craig that stated if a sub-apps struts-config.xml had to be changed in order to work as a sub-app that would be considered a bug. I have found

Sub-apps using Tiles/SecureRequestProcessor

2002-08-27 Thread Greg Hess
Hi All, I am currently preparing to migrate one of my Struts apps to separate modules as it is currently developed in modules and I would love to simplify the integration of the modules. My application consists of two modules. The main application module is using the SecureRequestProcessor

Setting controller pagePattern/forwardPattern attribute?

2002-08-27 Thread Greg Hess
Hi All, I am working with sub-apps nesting pages within the WEB-INF security blanket and I have read a archive that states to support this strategy I must set the pagePattern and forwardPattern of the controller in the struts-config.xml to avoid my forwards being interpreted as:

Implementing sub-apps with WEB-INF hidden jsp's

2002-08-26 Thread Greg Hess
Hi All, I am trying to take advantage of the new sub-application support with Struts 1.1b. There are several developers working on my current project and we all have our own modules. This functionality will help us greatly with our module integration. I am just trying to get up to speed on how

RE: Implementing sub-apps with WEB-INF hidden jsp's

2002-08-26 Thread Greg Hess
proceeding. http://www.mail-archive.com/struts-user@jakarta.apache.org/msg38141.html James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://www.open-tools.org/struts-atlanta -Original Message- From: Greg Hess [mailto:[EMAIL PROTECTED

Switch Action example

2002-08-26 Thread Greg Hess
Hi All, I am having trouble using the SwitchAction and all the threads in the Archives dont actualy provide an example of its use and claim that it may not work? Could anyone provide an example of its use. Thanks for your time, Greg

RE: Cannot specify multiple log files with CommonsLogging/Log4j

2002-08-15 Thread Greg Hess
:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 3:06 PM To: Struts Users Mailing List Subject: Re: Cannot specify multiple log files with CommonsLogging/Log4j On Wed, 14 Aug 2002, Greg Hess wrote: Date: Wed, 14 Aug 2002 14:36:47 -0400 From: Greg Hess [EMAIL PROTECTED] Reply-To: Struts

Cannot specify multiple log files with CommonsLogging/Log4j

2002-08-14 Thread Greg Hess
Hi All, I am deploying multiple instances of the same web app in the same web container Resin2.1.2. I would like to have each web application use a unique log file to simplify bug tracking. I am specifying the log4j.appender.rolling.File=logs/appinstance1701794474_65.log with a new log file for

RE: uncoupling Web Design/Web Development

2002-07-30 Thread Greg Hess
play and fiddle with their html code as much as they like :-). Regards Michael - Original Message - From: Greg Hess [EMAIL PROTECTED] To: Struts Mail List [EMAIL PROTECTED] Sent: Monday, July 29, 2002 8:10 PM Subject: uncoupling Web Design/Web Development Hi All, I have

uncoupling Web Design/Web Development

2002-07-29 Thread Greg Hess
Hi All, I have designed a web application that is dependant on a work flow, the user interface is constructed by Web Designers and the server side is done by Web Developers. The web designers are now comfortable using the struts tags and so on but they hate the fact that they have to follow the

RE: Architecture advice....

2002-07-29 Thread Greg Hess
Hi, I have designed our service layer using normal classes, I initialize the service layer on application start up and place them in the ServletContext. I have been looking at this strategy and considering using Static methods as well, as the only state in these classes is the jdbc driver and

How to: Multi-page query results?

2002-07-29 Thread Greg Hess
Hi, I am looking to integrate a multi-page query result display into my Struts app, like all search engines provide. I would love some sample code or links to existing recourses to help design this functionality. Much appreciated, Greg

RE: Architecture advice....

2002-07-29 Thread Greg Hess
? Thanks, Michael - Original Message - From: Greg Hess [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, July 29, 2002 9:11 PM Subject: RE: Architecture advice Hi, I have designed our service layer using normal classes, I initialize the service layer

RE: uncoupling Web Design/Web Development

2002-07-29 Thread Greg Hess
the dynamic elements in the webpage and they can play and fiddle with their html code as much as they like :-). Regards Michael - Original Message - From: Greg Hess [EMAIL PROTECTED] To: Struts Mail List [EMAIL PROTECTED] Sent: Monday, July 29, 2002 8:10 PM Subject: uncoupling Web Design/Web

RE: Tiles exceeding JSP size limit

2002-07-17 Thread Greg Hess
I have been able to correct this error by using the IBM Jikes1.15 compiler. I had been creating an address input form and was using struts to create the State and Country html:select drop down. It would not run using the javac compiler but works fine using jikes. Greg -Original Message-

NoClassDefFoundError: org/apache/regexp/RESyntaxException

2002-06-04 Thread Greg Hess
Hi All, I am migrating my Struts 1.0.2 web app to use Struts 1.1. When my form posts to the Action servlet I get this error: java.lang.NoClassDefFoundError: org/apache/regexp/RESyntaxException at java.lang.Class.getDeclaredMethods0(Native Method) at

RE: Managing forms that post to remote URL's ?

2002-05-23 Thread Greg Hess
to be a very special exception to the norm). JM -Original Message- From: Greg Hess [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 4:16 PM To: Struts Mail List Subject: Managing forms that post to remote URL's ? Hi All, I am building a form that Post's its contents using

Managing forms that post to remote URL's ?

2002-05-21 Thread Greg Hess
Hi All, I am building a form that Post's its contents using SSL to a remote URL. I would like to use Struts to manage this form as I have some hidden input fields I would like Struts to auto populate and validate. I am defining the form as html:form action=https://some.secure.url; name=beanName

Proper Application flow Using Struts?

2002-04-18 Thread Greg Hess
Hi, A form submission takes some time to process and I am having difficulty figuring out how to show a please wait page, I don't know if I am missing something or what. If I have a jsp display the please wait message and at the bottom of the page jsp:forward to the Action that is processing the

RE: Proper Application flow Using Struts?

2002-04-18 Thread Greg Hess
I found some answers at. http://www.jguru.com/forums/view.jsp?EID=437699 Greg -Original Message- From: Greg Hess [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 9:59 AM To: Struts Mail List Subject: Proper Application flow Using Struts? Hi, A form submission takes some

Handling long processes?

2002-04-17 Thread Greg Hess
Hi, I have an Action that takes a minute or two to process and I need to display a please wait page to my clients while processing their request. What is the best way to provide this functionality? Thanks, Greg -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

RE: multiple html:image tags used as submits

2002-03-28 Thread Greg Hess
Scott, One way is to write a JavaScript method to respond to the onClick event of the image that would set a hidden input field named action to a specific value and then call form.submit(). That way bean introspection would work matching html input fields to bean properties. Greg -Original

Struts support for body background image??

2002-02-19 Thread Greg Hess
Hi All, I would like to avoid writing a scriplet in my jsp to provide a background image. body background=%=request.getContextPath()%/images/background.jpg Does anyone know an alternate solution, or if Struts plans to provide a html:body tag in the future? Thanks, Greg -- To unsubscribe,

RE: Bug with SSL

2002-02-18 Thread Greg Hess
additional tips that I can think of. -Max - Original Message - From: Greg Hess [EMAIL PROTECTED] To: Struts Mail List [EMAIL PROTECTED] Sent: Friday, February 15, 2002 11:34 AM Subject: Bug with SSL Hi All, I am using the classes provide by http://struts.ditlinger.com/ to allow

RE: Support for Http and Non-Http Requests

2002-02-18 Thread Greg Hess
Bob, Check this url for a proposed solution http://struts.ditlinger.com/. I am using it in my app and I like it. Greg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 10:35 AM To: Struts Users Mailing List Subject: Support for Http

Bug with SSL

2002-02-15 Thread Greg Hess
Hi All, I am using the classes provide by http://struts.ditlinger.com/ to allow for switching between Http and Https calls in my Struts application. I have installed SSL and is working fine under a test certificate. I am using the the extended ssl:form , ssl:linktags and the secure property in

How to use Transactional Control Tokens?

2002-02-06 Thread Greg Hess
Hi, Could anyone provide an explination of how to use the transactional control tokens? Thank you, Greg -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Heavy weight objects in the Session

2002-02-06 Thread Greg Hess
Hi, I am new to web app development and I am currently writing a statistical reporting app. I have seen some of discussion regarding code optimizations/considerations when developing in regards to Vectors/Arraylist, Calendar/DateFormat. I am using beans to build statistic reports and they live

RE: Design question about ActionForm's validate method

2002-02-06 Thread Greg Hess
I would like to see some examples, I have found my apps to be a bit bloated since introducing struts and my Action classes are very small. Thanks -Original Message- From: Sean Willson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 9:06 AM To: Struts Users Mailing List

RE: Problem: multiple browsers and session state

2002-02-06 Thread Greg Hess
It seems that session beans should have synchronized methods to avoid some of these problems? -Original Message- From: simon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 10:02 AM To: Struts Users Mailing List Subject: Re: Problem: multiple browsers and session state

RE: Thread Safety Question (was Formatting Dates, Integers...)

2002-02-05 Thread Greg Hess
Very interesting, thank you Jeff. I am using an instance of the date format class as a private member variable in one of my buisiness objects. Each client request has one of these business objects created and placed into the session for use, as mentioned previously I too use a new getter method

RE: Design question about ActionForm's validate method

2002-02-05 Thread Greg Hess
Unfortunatly not all html input fields are populated in the http request by default. Radio Buttons and Check boxes will be null if the user did not select the option. -Original Message- From: Sid Stuart [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 2:56 PM To: Struts Users

RE: Transactional Control Tokens?

2002-02-01 Thread Greg Hess
Ok, Now that I understand the problem, I am trying to understand how the token is to be used. I have a some questions... 1) Are transactional tokens automatically set by the Action class on submit or do I call the generateToken()? 2) Does the Action class know when a double submit occurs and

Transactional Control Tokens?

2002-01-31 Thread Greg Hess
In the struts-example application in (SaveRegistrationAction.java:190, :161) the author calls the method saveToken(request) and then isTokenValid() and resetToken(). What does this use of transactional control tokens provide? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Transactional Control Tokens?

2002-01-31 Thread Greg Hess
Control Tokens? I believe the transactional token is used to validate that the user does not submit the same form twice. A common problem is web applications. Nick -Original Message- From: Greg Hess [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 10:47 AM To: Struts

Logic Iterator, access iteration counter

2002-01-31 Thread Greg Hess
I am iterating threw a collection and I am using a tag library within each iteration to build a link for delete and view. The objects themselves have no unique identifier and I would like to use the iteration counter to identify the object in the collection. Does the page, session have any

RE: Need help on logic:iterate

2002-01-31 Thread Greg Hess
Because you havent included the %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % page directive in the current jsp page. -Original Message- From: marco volpe [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 10:02 AM To: Struts Users Mailing List Subject: Re: Need help on

RE: Simple Example

2002-01-31 Thread Greg Hess
Use the struts-example web application that comes with the struts install and go threw the walking tour it helped me alot. -Original Message- From: mglass [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 3:37 PM To: struts List Subject: Simple Example Can anyone recommend a