RE: How to return to form element

2003-08-14 Thread Steve Vanspall
Well I dont know of any easy way to do it but you could probably make use of the action errors somehow. maybe create, in your message resurces file, a piece of javascript that dynamically set the name of the field to be focused on. Then the onload function would focus on it for you. Sounds a bit

RE: How to return to form element

2003-08-14 Thread Steve Vanspall
~~~~ Vance Heredia > -Original Message- > From: Steve Vanspall [mailto:[EMAIL PROTECTED] > Sent: Monday, 11 August 2003 1:25 PM > To: Struts Users Mailing List > Subject: RE: How to return to form ele

Chracter encoding issues pasting from MS Word

2003-08-11 Thread Steve Vanspall
re chinese characters in the database. any help would be great Regards Steve Vanspall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Dynamic Image Loading from ByteArray

2003-03-10 Thread Steve Vanspall
It's cool I solved the problem, basically if I place a counter in the nested:iterate tag, I can add a paramater like index=<%=count%> to the URL and the browser treats it as a completely different image. Regards Steve -Original Message- From: Steve Vanspall [mailto:[EMAI

Dynamic Image Loading from ByteArray

2003-03-10 Thread Steve Vanspall
Hi there, here is what I am trying to do. A user can select to upload two image that will eventually get stored into the databasa. Now rather than write them to files in a tmp directory, which could potentially get messy, I want to be able to display in my images from the byte array that the For

RE: logic:iterate tag revisited

2003-03-06 Thread Steve Vanspall
n appropriate action, you will need to hit it by a client side programming. I'm not sure if you understand what I mean. -- Alexandre Jaquet - Original Message - From: "Steve Vanspall" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]&

RE: logic:iterate tag revisited

2003-03-06 Thread Steve Vanspall
ined for that, then you will be redirect on an another page or update your change on a session scope (for example) >From where the original value came ? The default value you define on your based ActionForm ? -- Alexandre Jaquet - Original Message - From: "Steve Vanspall&quo

RE: logic:iterate tag revisited

2003-03-06 Thread Steve Vanspall
he apporopriate formFile information Regards Steve -Original Message----- From: Steve Vanspall [mailto:[EMAIL PROTECTED] Sent: Friday, 7 March 2003 12:42 PM To: Struts Users Mailing List Subject: RE: logic:iterate tag revisited Ah it's always the small thing, I can't beleive I

RE: logic:iterate tag revisited

2003-03-06 Thread Steve Vanspall
ic:iterate tag revisited On Fri, 7 Mar 2003 11:33:50 +1100 "Steve Vanspall" <[EMAIL PROTECTED]> wrote: > Hi there > > Here's my problem, I have modelled my iterate tag on a working example > I was given by a colleague. > > this is my jsp code >

logic:iterate tag revisited

2003-03-06 Thread Steve Vanspall
Hi there Here's my problem, I have modelled my iterate tag on a working example I was given by a colleague. this is my jsp code nameArray[cnt] = '<%=TemplateBeans.IMG_TMPLT%>:'; cnt++;

RE: logic iterate with nested class (I think that's the term)

2003-03-06 Thread Steve Vanspall
7 Mar 2003 10:31:08 +1100 "Steve Vanspall" <[EMAIL PROTECTED]> wrote: > Ignore this one, > > It seems that Struts doesn't know to go into the Hashtable entry and > just get the value, You can iterate through a map and display the keys and values just fine:

RE: logic iterate with nested class (I think that's the term)

2003-03-06 Thread Steve Vanspall
Ignore this one, It seems that Struts doesn't know to go into the Hashtable entry and just get the value, Very strange, but basically it was looking to cast the whole entry rather than just the value. Will have to convert it to use a list instead STeve -Original Message- From:

logic iterate with nested class (I think that's the term)

2003-03-06 Thread Steve Vanspall
Hi there, this is my problem, I hap a Map, namely a hashtable, that I want struts to iterate through, Now the bean class of each entry in the map is com.crm.util.TemplateBeans.IMGTemplateBean where TemplateBeans is a class itself. using the following tag causes a ClassCastException, even t

RE: Struts and Websphere

2003-01-20 Thread Steve Vanspall
I'm not the guy who said that, but my main problem is I am not sure where to start find the problem, it just says that it can't find an action-mapping for my .do request. I have not changed any settings and it runs without a hitch under tomcat. -Original Message- From: Craig R. McClanahan

RE: Struts and Websphere

2003-01-20 Thread Steve Vanspall
I did use the assembly tool at first, but the same problem occured. will try again. am currently using WAS 5.0 Regards Steve Vanspall -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, 20 January 2003 8:27 PM To: [EMAIL PROTECTED] Subject: RE: Struts

RE: Struts and Websphere

2003-01-20 Thread Steve Vanspall
Hi there, my web.xml (Attached) is the same as for when I run it on Tomcat. Not sure if there are more settings I need regards Steve Vanspall -Original Message- From: Marco Fabbri [mailto:[EMAIL PROTECTED]] Sent: Monday, 20 January 2003 7:44 PM To: Struts Users Mailing List Subject

Struts and Websphere

2003-01-19 Thread Steve Vanspall
se am making the war file using Eclipse, the war file works with tomcat, but not websphere. Websphere pickup my welcome page, it then calls findefault.do, but that causes a 500 error. I think there must be some added setting one of my xml files needs. Can anyone help me out Regards Steve Van

RE: Struts forwards requests as http when jsp page was invoked as https

2003-01-09 Thread Steve Vanspall
But the main advantage is that you can set action security in struts-config. Regards Steve Vanspall -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, 10 January 2003 10:03 AM To: [EMAIL PROTECTED] Subject: Struts forwards requests as http when jsp pag

two apps using the same code base

2003-01-08 Thread Steve Vanspall
I can pass the releveant login information through the request. Just need some idea as to whether what I am asking is possible. Regards Steve Vanspall -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: Request Processor to intercept URL that call a JSP as well as actions

2003-01-08 Thread Steve Vanspall
quest Processor to intercept URL that call a JSP as well as actions On Wed, 8 Jan 2003, Steve Vanspall wrote: > Date: Wed, 8 Jan 2003 17:37:05 +1100 > From: Steve Vanspall <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users M

RE: Request Processor to intercept URL that call a JSP as well as actions

2003-01-07 Thread Steve Vanspall
. in short, I want to be able to intercept the URL if someone manually type in http://localhost:8081/WebApp/blah.jsp This is unlikely, but would rather be able to stop people playing around with the site when it goes live Regards Steve Vanspall -Original Message- From: Craig R

RE: Request Processor to intercept URL that call a JSP as well as actions

2003-01-07 Thread Steve Vanspall
Subject: Re: Request Processor to intercept URL that call a JSP as well as actions On Wed, 8 Jan 2003, Steve Vanspall wrote: > Date: Wed, 8 Jan 2003 17:08:04 +1100 > From: Steve Vanspall <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To:

Request Processor to intercept URL that call a JSP as well as actions

2003-01-07 Thread Steve Vanspall
is for a JSP. Is there something I can write that will do that? Perhaps there is another method in the RequestProcessor that I can use. Any help would be appreciated. Regards Steve Vanspall -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: &

Multiple Controllers struts-config

2003-01-06 Thread Steve Vanspall
Hi there, I am trying to use the SSLext extension as well as the ActionPluginExt extension for Struts I am using Struts 1.1b2 According to the DTD I can have only one tag deifined. each of these extensions require their own controller. Is there a way around this limitation? Regards Steve

ActionMapping, struts-config and custom attributes

2003-01-05 Thread Steve Vanspall
Hi there, Me again. Is there a way to set a custom attribute for an action mapping, then retrieve that attribute through the ActionMapping class? I am using Struts 1.1-b2 Regards Steve Vanspall -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: &

SSLext Struts-1.1-b2 - Addition

2003-01-05 Thread Steve Vanspall
keep useing hte sslext:form tag for the rest of the site. If this is the case, how do I break out of secure mode? say when a person log's out? Thanks in advance Steve Vanspall -Original Message----- From: Steve Vanspall [mailto:[EMAIL PROTECTED]] Sent: Monday, 6 January 2003 2:51 PM

SSLext Struts-1.1-b2

2003-01-05 Thread Steve Vanspall
. Any help would be appreciated. Regards Steve Vanspall -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: how to send actionForm from one action to another action

2002-12-17 Thread Steve Vanspall
The key in session for a form will be the name defined for that form in the struts-config tag -Original Message- From: Taylor Cowan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 18 December 2002 3:28 PM To: [EMAIL PROTECTED] Subject: re: how to send actionForm from one action to another act

struts-config action-mapping how to set custom attribute

2002-12-17 Thread Steve Vanspall
file Can anyone help me here? Regards Steve Vanspall -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Struts SLL extension - Really lost

2002-12-09 Thread Steve Vanspall
Hi there, I have installed the Struts/SSL Extension for strits 1.1-b2. I am running Tomcat 4.1.12 I have set up the server.xml, by uncommenting the SSL information. I have also done the keytool command at the command prompt. I have edited my action, so that, for now sercure is set to true. I

RE: Restrict acces to certain pages/actions

2002-12-04 Thread Steve Vanspall
Sent: Thursday, 5 December 2002 11:26 AM To: Struts Users Mailing List Subject: Re: Restrict acces to certain pages/actions On Thu, 5 Dec 2002, Steve Vanspall wrote: > Date: Thu, 5 Dec 2002 10:03:42 +1100 > From: Steve Vanspall <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing

RE: Restrict acces to certain pages/actions

2002-12-04 Thread Steve Vanspall
you can set it up such that it does not even exist for users that do not have the proper role. (... and I mean that quite literally - the server will return a 404 for unauthorized access!) Steve Vanspall wrote: >Hi there, > >I was wondering if struts had some mechanism to restrict acces &

RE: Restrict acces to certain pages/actions

2002-12-04 Thread Steve Vanspall
do not have the proper role. (... and I mean that quite literally - the server will return a 404 for unauthorized access!) Steve Vanspall wrote: >Hi there, > >I was wondering if struts had some mechanism to restrict acces according to >user level. > >Basically our users may be of va

Restrict acces to certain pages/actions

2002-12-04 Thread Steve Vanspall
cutomise for my own needs. Any help would be appreciated Regards Steve Vanspall -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Problem when writing bean value into textbox

2002-10-06 Thread Steve Vanspall
if this is in a tag, which it would need to be then just use this will automatically populate the bean providing there is a getFunctionName() method in your form Regards Steve - Original Message - From: "Kalaiselvan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTE

Re: Struts 101 - How to create a button that links to an action

2002-10-02 Thread Steve Vanspall
name attribute: > > Name of the form bean, if any, associated with this Action. > > Shouldn't Struts have that dummy form built in? And refer to that > automatically when the name is empty? > > I forgot to mention that I'm using 1.1b2. > > Stefan > > On

Re: Can't retrieve definition for form null

2002-10-02 Thread Steve Vanspall
> type="com.test.TestAction" >name="myForm" >scope="request" >validate="false" >input="/test.jsp"> > > > > > > Is there somethin

Re: Struts 101 - How to create a button that links to an action

2002-10-02 Thread Steve Vanspall
You need to define the name attribute for your action mapping. and MyForm needs to be defined in the form-beans section of your struts-config file. e.g. or something similar. This can be a dummy form you make up that has no fields. then it should go to the action properly ---

Re: Can't retrieve definition for form null

2002-10-02 Thread Steve Vanspall
Usually it means that the form that you are referring to is either not defined under that name in the struts-config file, or you are trying to call the form with a null value. Is this happening when in your tag. What does your html:form tag look like? regards Steve - Original Message

Re: Copying beans

2002-10-02 Thread Steve Vanspall
Not sure if you have had a reply yet. I have a few ArrayLists with beans in them. Unfortunately, I have not found a way of just accessing one of them. However if you jst pull it out of the ArrayList and place it in a field, say thisBean or something like that, you can edit it. If you just plac

Re: org.apache.coyote.http11.Http11Processor.process taking a long time

2002-09-26 Thread Steve Vanspall
"html" as a property though (ie. > getHTML()/setHTML()). Then, you can use the JSTL to extract this value > and do away with scriplets - which are simply evil. > > Once you do that, replace your scriplet with: > > > > Steve Vanspall wrote: > > >Hi t

org.apache.coyote.http11.Http11Processor.process taking a long time

2002-09-26 Thread Steve Vanspall
Hi there, I have a Java object that stores html code in a string for in order to speed my Web App up. Basically it Works similarly to an Array list, but updates the html code for each bean as it is added/update, thus removing the need for getting the JSP to iterate through an ArrayList and wr

Re: form submission problem - Problem Solved

2002-09-25 Thread Steve Vanspall
earlier versions too). > > > > -Mensaje original- > De: Steve Vanspall [mailto:[EMAIL PROTECTED]] > Enviado el: miƩrcoles, 25 de septiembre de 2002 7:35 > Para: Struts User Mailing List > Asunto: form submission problem > > Hi, > > I have a fairly new p

Re: form submission problem

2002-09-24 Thread Steve Vanspall
you > try accessing (for example to change) the form action in javascript - at > which point it will give you your field action instead of the form property > action!) > > > -Original Message- > From: Steve Vanspall [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, Septem

form submission problem

2002-09-24 Thread Steve Vanspall
Hi, I have a fairly new problem with one of my JSP's. I recently changed to Tomcat 4.1.10, now all of a sudden, this one page doesn't work properly. I try, using Javacript to set the value of a hidden field when an button is pushed, this part works fine, have checked the value after it is

getting "JasperException: Cannot find ActionMappings or ActionFormBeans collection"

2002-09-24 Thread Steve Vanspall
Hi there, I have just switch from Tomcat 4.0.3 to Tomcat 4.1 When I startup Tomcat, and try to go to the WebApp, I get the following message org.apache.jasper.JasperException: Cannot find ActionMappings or ActionFormBeans collection I have changed nothing in my web.xml or struts-config.xml fil

Deprecation of various Methods etc.

2002-05-14 Thread Steve Vanspall
Hi there, can anyone tell me what org.apache.struts.util.GenericDataSource has been replaced with in version 1.1 beta 1 of struts -- To unsubscribe, e-mail: For additional commands, e-mail: