RE: getCookies at beginning of HttpSession

2007-01-11 Thread Scott Purcell
I did the same, but extended the request processor, and did all my setup there. I did this using Struts 1.24, possibly things have changed since then. That way, each request that came through, I would check for cookie, and if it did not exist create and move along. Just throwing out another option

RE: help in basic struts application

2006-12-15 Thread Scott Purcell
I believe first off you may want to consider whether to dig into struts 1.x or struts 2.x. If your are just creating a super simple app, you may just want model1 with jsp. If this will grow into something larger, you may need to get better spec, and post question again. Keeping in minds things lik

RE: Struts 1.3.5 and SSL

2006-12-11 Thread Scott Purcell
I was trying to follow this thread and didn't see any responses? Has this been answered off-line? Just curious. Thanks, -Original Message- From: Joseph McGranaghan [mailto:[EMAIL PROTECTED] Sent: Monday, December 11, 2006 6:34 AM To: Struts Users Mailing List Subject: Re: Struts 1.3.5 an

RE: validate question ...

2006-11-29 Thread Scott Purcell
Basically, the way I would envision this, is that the validation framework checks to make sure the 'username' and 'password' fields are not NULL, or meet some form of low level character count. Anyway, that is good. What I would do, is continue with that, then after the validator says this is a

test

2006-10-17 Thread Scott Purcell
Testing please ignore

URL needs www appended

2006-05-09 Thread Scott Purcell
Hello, I have a struts site in which all views are called from the action. Problem I encountered, is as follows: When users search for my site in the search field area, the site shows up, but when the user click the link the "www" is not there. Google sees my site as http://sitename.com

Controller element question

2006-03-03 Thread Scott Purcell
The struts-config.xml has an element named in which you can add the "processorClass" attribute. Currently a project I am working on is using the TileRequestProcessor as the value of the processorClass attribute. I want to be able to use the TilesRequestProcessor, but also I have written a

RE: application resources on iplanet

2006-02-21 Thread Scott Purcell
. Thanks, Raúl Scott Purcell escribió: >Since you are not using a package for the "resources.portal" bundle, are you >sure that the resource.portal is in IPlanets classpath? If not, it will not >find it. > > > >-Original Message- >From: Raúl Eduardo Plat

RE: application resources on iplanet

2006-02-21 Thread Scott Purcell
Since you are not using a package for the "resources.portal" bundle, are you sure that the resource.portal is in IPlanets classpath? If not, it will not find it. -Original Message- From: Raúl Eduardo Plata [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 2:01 PM To: Struts U

RE: why my page can't redirect under Struts with Javascript?

2006-02-21 Thread Scott Purcell
Within my javascripts, when I want to post to a different action, I use this struts tidbit:

RE: No getter method it sayes

2005-12-06 Thread Scott Purcell
ok: I think the config is ok because it works in another JSP which uses the same form and the same field it complains about. -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: 06 December 2005 17:06 To: Struts Users Mailing List Subject: RE: No getter met

RE: sslext

2005-12-06 Thread Scott Purcell
HummmI did not try that. I will play with that tongiht. But in regards to this, I found in my O'Reilly Struts Cookbook the example pp373 on how the sslext works. It is funny, because I was reading an article last night from here:

RE: No getter method it sayes

2005-12-06 Thread Scott Purcell
In the mapping for this jsp page, is the form configured properly under "name" and also referred to as an element under the element. I have seen that error before and it usually has something to do with the fact that it is not picking up your form from either request or session. If you do not

RE: Preventing struts Page Caching

2005-12-06 Thread Scott Purcell
Sometimes, I will add a redirect="true" on pages where I do not want the users to hit the -back button, or hit submit again. I use this and a combination of keeping my data in requests (not session) and even if they fight their way back to a page, the page is empty. That is because the data is n

RE: TLD file placement

2005-10-25 Thread Scott Purcell
I was told by my administrator, that I I take out entries from the web.xml file and use the url from the jar file, and if the site that the url points to is down, that the code will break. If this could occur, is there a workaround for this situation? Thanks, Scott -Original Message-

Upload To URL of another Server

2005-10-17 Thread Scott Purcell
Hello, I have the need to upload a multipart file to another server so therefore another url. The other server is not of the struts platform. The form in which I am uploading from has three (form fields) plus the upload file part. I do need to validate that the form fields have proper data and

Where to search on old messages?

2005-10-05 Thread Scott Purcell
Is there a way to search on old struts messages? I would like to search the archives before posting, but cannot figure out where to do this. Thanks, Scott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Configuration Question "Struts/webserver"

2005-08-12 Thread Scott Purcell
Hello, I created struts appliction on a local box calling it like so: http://localhost/unique/welcome.do and so on. I used all struts:html tags in order to handle the context ("unique"). Even my images use the . so I could show the client. I really do not know what is going on, bu

validate nested beans part 2

2005-07-19 Thread Scott Purcell
I dug myself into a corner last night and cannot assemble a viable solution. I created a bean (usercheckout) which holds two nested beans (Shipping), and (Billing). Basically I have the user fill out a shipping form, then they fill out a Billing form. The problem is, when I am trying to validate

Nested Bean Validation

2005-07-18 Thread Scott Purcell
Hello, I would like some input into the following situation. I am diagraming a bean that will hold data for a checkout. Basically it will be a bean that will hold user_information, shipping_information, etc. So in effect the bean will hold other beans. So my question is as follows: When using

Nested Beans and Validation

2005-07-09 Thread Scott Purcell
Hello, I have been using struts for a bit now, and I am trying to see if the following situation is possible. In a merchant checkout situation, I would like to be able to create a bean that has nested beans inside. Eg: This will be a shopping cart checkout, and I have the need for an overall b

Validation and Display Question

2005-07-08 Thread Scott Purcell
I am seeking some advice on the following: I have a site which uses the validator.xml and validation.xml files, and within the jsp pages, I am using the

default current_timestamp problem

2005-06-07 Thread Scott Purcell
Hello, I am trying to create simple reference table for some cookies I am creating. I wanted to put in a current_timestamp each time I do an insert so I can delete this data after 2 or 3 weeks. Here is the insert statement: CREATE TABLE COOKIE_REF (cookie_ref varchar(50), dat timestamp default

Validation Help On Large Dynamic List

2005-06-07 Thread Scott Purcell
Hello, I am using the struts framework for a project, and I am seeking advice on the following situation. To preface where I am, we have used server side validation (validation.xml) throughout the full project and all is good. I understand simple field validation and the attributes of the vali

Validation Help On Large Dynamic List

2005-06-07 Thread Scott Purcell
Hello, I am using the struts framework for a project, and I am seeking advice on the following situation. To preface where I am, we have used server side validation (validation.xml) throughout the full project and all is good. I understand simple field validation and the attributes of the valid

html:img tag question

2005-06-06 Thread Scott Purcell
Hello, I have build a site using the struts framework with a heavy use of the html:img tag like so. And it does a great job at including the context of the application and therefore giving me a page source of such: And all is happy. But today, I realized that a lot of sites use a fully q

Pass parameter to Action or Bean from config

2005-06-02 Thread Scott Purcell
Hello, I am trying to pass a parameter into a bean from an action call: Basically I am trying to reuse the action class and the bean class. As you can see in the below snippet. Here is an action I have I would like to do something like this: Thanks, Scot

global-exceptions not catching

2005-06-02 Thread Scott Purcell
Hello, I have set up a global-exceptions exception like so: The last one points to /error.jsp is from chapter 9 of the cookbook. I wanted to try an catch all exceptions with that while developing. Problem is, I keep getting the HTTP status 500- in the browser, and not

RE: Seeking Advice Error Handling

2005-06-01 Thread Scott Purcell
application server is your application running? Do you have any connection pooling? - Glenn "Scott Purcell" <[EMAIL PROTECTED]> 01/06/2005 10:05 AM Please respond to "Struts Users Mailing List" To cc Subject Seeking Advice Error Handling Hello, I have c

Seeking Advice Error Handling

2005-06-01 Thread Scott Purcell
Hello, I have created a site with a mysql database back-end, and full struts front end. I have a filter to ensure the creation of some session app objects, and the site is pretty clean. But over the weekend, I found a problem that I am seeking advice from. For some reason, the mysql database w

user hitting back-button and sending POSTDATA

2005-05-11 Thread Scott Purcell
I am having trouble getting information, or a workaround for the following problem. A user fills out a simple textfield form. I update the database with the value and show a new jsp page. Then the user hits the back-button, and even though the browser gives an alert (this will POSTDATA that is

Seeking advice image resizing

2005-05-05 Thread Scott Purcell
Not truly struts related, but I would assume that people on this list know a solution, or workaround for what appears to be a common dilemma. I have created a ECommerce type site, in which there are three display sized images. A 125x125 thumb, a 256x256 preview, and a 100% original view for a p

Filter Being Called Repeatedly

2005-04-27 Thread Scott Purcell
Hello, I decided to try and implement a filter for my struts application. A filter that would check for a session object, and if it does not exist, send the user to a certain link. Anyway, I found an example in the "Struts Cookbook" and I am implementing it. But for whatever reason, when I hit

Multiple Modules Still Have Issues

2005-04-26 Thread Scott Purcell
Hello, I am trying to create two modules. I am following the docs here: http://struts.apache.org/userGuide/configuration.html What I have done, is create both entries in my web.xml file like the example shows: unique org.apache.struts.action.ActionServlet config /WEB

2 modules, cannot retrieve mapping?

2005-04-25 Thread Scott Purcell
I am trying to use two modules for struts. 1 for a developer to work on the main section, and another for the admin section for another developer. I am getting an error when trying to add a form tag to a jsp page that lives under the second module: /Admin/mypage.jsp (jsp location from docroot)

seeking advice on authorization and authentication

2005-04-25 Thread Scott Purcell
I am creating a shopping-cart type application using struts and have a question. The site itself does not have any authentication on it, as people just browse and add stuff to the cart. But the site does require some data manipulation into the database. Upon thinking about this, I would like t

RE: html:link invalid for DTD???

2005-04-21 Thread Scott Purcell
invalid for DTD??? Classification: Have you tried removing the slash so you just have 'action="welcome"'? I can never remember when the slash is required and when it is not allowed, but I think that for action "names" you don't use the slash. -- Jeff On 4/21/05,

RE: html:link invalid for DTD???

2005-04-21 Thread Scott Purcell
] Sent: Thursday, April 21, 2005 11:38 AM To: Struts Users Mailing List Subject: Re: html:link invalid for DTD??? What does the Action Mapping look like for /welcome ? "Scott Purcell" <[EMAIL PROTECTED]> 21/04/2005 12:07 PM Please respond to "Struts Users Mailing L

html:link invalid for DTD???

2005-04-21 Thread Scott Purcell
Hello, I am creating a new site, and I am having trouble interpreting an error message: I have a jsp page with the following html:img in it. and this shows the image with the context and all is happy. As soon as I try and create this shop image into a link like so. I ge

RE: HTML:tags in a Tag

2005-04-20 Thread Scott Purcell
I achieve this by having my tag include (pageContext.include() ) a JSP page which has the other custom tags I want to use. Paul > -Original Message- > From: Scott Purcell [mailto:[EMAIL PROTEC

HTML:tags in a Tag

2005-04-20 Thread Scott Purcell
Hello, While finishing up a project, I found the need to create a Tag to use in my JSP file. Problem is, I have created all view using the HTML:tags. Can the HTML:tags be used in a Tag file? In my tag, I have access to a JspWriter, but I am not sure how to use the tags in the class, since it i

Database Assistance Needed

2005-04-15 Thread Scott Purcell
I have had some issues this past week, trying to come up with a way to cleanly connect to my, MySQL database. I know this is not necessarily a struts issue, but I am betting that there is no one on this list who is not using some type of database in the back-end. Now I have the O'Reilly book on

RE: data-source configruation question

2005-04-15 Thread Scott Purcell
Nope, that still gives me the error. I have grepped thriough the classes looking for "java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource" ??? any ideas -Original Message- From: Rafael Taboada [mailto:[EMAIL PROTECTED] Sent: Friday, April 15, 2005 11:47 AM To: Str

RE: data-source configruation question

2005-04-15 Thread Scott Purcell
$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Unknown Source) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.7 logs. Apache Tomcat/5.5.7 -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Friday, April 15, 2005

data-source configruation question

2005-04-15 Thread Scott Purcell
Hello, I am confused on setting up a data source using dbcp with struts. I am referencing this web-site: http://linux.com.hk/docs/struts/faqs/database.html I am using mysql and struts 1.2. The problem I have is two-fold. First I remember hearing something about the being depreciated? Not sure

Session now with Filter

2005-04-14 Thread Scott Purcell
fore calling your action, and send them to the login page if they aren't Seriously though - a filter is far easier (& web framework agnostic) way to handle this. HTH, and feel free to carry on beating this one... Paul > -Original Message- > From: Scott Purcell [mailto:[EMAIL

Handling Session Expiration Properly

2005-04-14 Thread Scott Purcell
Hello, I hope I have not beaten this to death on this list, but I have never gotten an answer that has served my interest. So I rethought the question and I am reposting it now. The application I created, is a web-app in which a login is required of a "username" and "password". Pretty standar

html:link and RT expression

2005-04-13 Thread Scott Purcell
In the below line, I am trying to insert some dynamic data (hello). But it does not work. I have tried an expression, as you can see and it just prints verbatim, and I tried a and it just prints out the tag itself. How does one insert dynamic link data into these type of tags? Thanks, S

Need Database Connectivity Advice

2005-04-11 Thread Scott Purcell
I am at a crossroads of information today, and could use some advice. Prior to using the Struts framework, I had a roll-your-own database pooling solution that of course required threads and Vectors of connections, etc. Upon the start of another new project, I found myself Friday trying to figur

Authorized Site Creation With Struts

2005-04-08 Thread Scott Purcell
Hello, First off, I am having trouble with creating a more elegant solution to a proboem. A- Problem, I have a site that requires authentication (form-based) when they hit our site. Upon building the site which requires an "AppObject" and "UserObject", I subclassed the RequestProcesso

DispatchAction Need to Subclass Help

2005-04-07 Thread Scott Purcell
Hello, In an application that I am coding, I had the need to subclass the Action class in order to take care of some session handling. So I subclass this type scenario in all my action classes: ## abstract public class BaseActionUA extends Action { public ActionForward execute(Act

RE: Form Handling Question Generic

2005-04-01 Thread Scott Purcell
decorator to each element, but it would be a bit too much code to provide it here. Good luck Leon P.S. You can use a map to collect the 'representation objects' created by the action, which would make it also very dynamical on the backend side, and storing maps is something each persistenc

Form Handling Question Generic

2005-04-01 Thread Scott Purcell
Hello, I have been building an appliction using the Struts framework for a couple of weeks and am starting to get a good feel for using it. So far I have been using ActionForms and am pleased with them. As I was going over the job specification yesterday, I noticed I am coming up on a large

RE: DynaValidationForm Display In JSP?

2005-03-30 Thread Scott Purcell
ing up the JSP, it's not like it's a separate (difficult) problem to solve. Maybe double-check your get() method to make sure it matches your set() as far as return type etc.? What exactly is the error you get when the JSP blows up? > -----Original Message- > From: Scott Purc

DynaValidationForm Display In JSP?

2005-03-30 Thread Scott Purcell
I have finally figured out how to get my DynaValidationForm data in the Action class using the get() and set("Name", obj); So I finally got a checkbox set in a DynaValidatorForm object, and I go to my JSP page to display its checked status. Since it is a single checkbox, I figured I would throw

RE: DynaValidatorForm and Checkbox

2005-03-30 Thread Scott Purcell
physical bean. Thanks, Scott -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 30, 2005 10:13 AM To: Struts Users Mailing List Subject: Re: DynaValidatorForm and Checkbox From: "Scott Purcell" <[EMAIL PROTECTED]> > I have a couple

DynaValidatorForm and Checkbox

2005-03-30 Thread Scott Purcell
I have a couple of jsp pages where there is a single checkbox on the page. I would like to create a DynaValidatorForm with a single element in it (the checkbox). Then in the action, run a query, if the database says to turn it on, then I would like to set it to true (X) or else show a unchecked

RE: MessageResources in ActionForm

2005-03-28 Thread Scott Purcell
other constants there. Those deprecated items were removed in the 1.2 releases. Hubert > -Original Message----- > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Sent: Monday, March 28, 2005 1:51 PM > To: Struts Users Mailing List; Hubert Rabago > Subject: RE: MessageResources in

RE: MessageResources in ActionForm

2005-03-28 Thread Scott Purcell
-0600, Scott Purcell <[EMAIL PROTECTED]> wrote: > Hello, > I am trying to obtain a MessageResources object in a ActionForm and I cannot > figure out how. > > Prior to the new 1.2.4 struts I used this: > > MessageResources resources = > (MessageResources)req.get

MessageResources in ActionForm

2005-03-28 Thread Scott Purcell
Hello, I am trying to obtain a MessageResources object in a ActionForm and I cannot figure out how. Prior to the new 1.2.4 struts I used this: MessageResources resources = (MessageResources)req.getAttribute( Action.MESSAGES_KEY ); But it appears depreciated, or non existant in the acti

RE: Help Validator Not Validating on Tomcat?

2005-03-28 Thread Scott Purcell
ts-1.1" which I thought was the latest. And I do not know what version is in the "struts-examples". For my own knowledge, does anyone know if the 1.1 is up-to-date or if I should be developing with a newer version? Thanks, Scott -----Original Message- From: Scott Purcell

Help Validator Not Validating on Tomcat?

2005-03-28 Thread Scott Purcell
Hello, I began creating my application on IPLanet 6.1, and I got validation (dynamic) working, etc. Now because of speed concerns, we have moved locally to our local box, and we will work from there. I am running Tomcat 5-5.7 on a PC and the validation is no longer working. I am using a war cr

show 'selected' item in select list

2005-03-24 Thread Scott Purcell
Hello, I am finally able to show a select list in my jsp page. My workflow was to create a "unvalidated" bean, go to the action, perform a db query, and create the data for the select list. My bean name is: 'usersbean'. Here is what I am doing in the action, I have created a collection, and a

Place message in jsp from action?

2005-03-23 Thread Scott Purcell
Hello, After I complete a successful Action, and I forward to my jsp page, I would like to display a status ... something like "New User Added". Something that operates like the ActionErrors object. I tried doing this in my Action class: ActionErrors errors = new ActionErrors(); // Get

html: tag four buttons, one action problem

2005-03-23 Thread Scott Purcell
Hello, I have a form, lets say that has a select list on it. Under it I have the ability to [edit], [delete], [modify] or [cancel]. Each of these buttons goes to a different but the form page is set for just one of the actions. And to top this off, I cannot do a href_link, I need to submit th

Action Question

2005-03-23 Thread Scott Purcell
Hello, I have a form, which has an attached bean. I am doing validation, so I have good data going to my action. In the action, I take the bean with good data, and hand it to a DTO object which updates the database with the new user supplied information. What can I do in the Action if my DTO

HTML Tag Users Guide

2005-03-23 Thread Scott Purcell
005 11:13 PM To: Struts Users Mailing List Subject: Re: select list issues: I assume you know about the HTML tag Users Guide? (http://struts.apache.org/userGuide/struts-html.html) Richard. On Tue, 22 Mar 2005 14:35:25 -0600, Scott Purcell <[EMAIL PROTECTED]> wrote: > Hello, > &g

select list issues:

2005-03-22 Thread Scott Purcell
Hello, I am trying to do something pretty simple I would think. I am also trying to use html:select tags, logic, etc. to keep the project uniform. I have a jsp page that I need to show a set of users in a select list. So I have an action that creates a bean in memory and does not validate.

best practice image handling

2005-03-21 Thread Scott Purcell
Hello, As I am building a new (frist time) struts app. I am looking for some insight as to the best way to handle jsp page images. To make a long story short, my folder structure is this: /dealer /dealer/images /dealer/WEB-INF /dealer/etc. So all my were like this. But because of some IPlanet

Present formbean value on jsp page.

2005-03-18 Thread Scott Purcell
Well, as normal, I have once again ran into a new snag while building my app. Up until today, I have pulled out my form-param values in my jsp like so into a textfield. And this is great if you want to display it in a text field. But how can I just display it in html. I have some fiel

html: tags part2

2005-03-18 Thread Scott Purcell
Hello, Sorry these tags are killing me today, I have the html: docs up, but they are long, and things are not clicking today. I am trying to replace the following two buttons (one submits and one cancels the form) with html: tags, so my whole site is consistent. current config has a hreflink wi

html:XXXXXX question

2005-03-18 Thread Scott Purcell
Hello, I am struggling with using the html: tag, and the docs are just confusing me. I have an application that I want to use the html:image tag. But the images need to have a height and width set to them. So I tried this: Error said height and width are not valid attributes:

BeanUtils.copyProperties Cannot find...

2005-03-17 Thread Scott Purcell
Hello, I want to try and use the BeanUtils.copyProperties and I cannot seem to find it. I have spent the last 10 minutes at Jakarta downloading different versions of BeanUtils, but none seem to have the copyProperties method. I have tried these versions. commons-beanutils-1.7.0.jar commons-bean

RE: create bean in action, and have display in jsp question

2005-03-17 Thread Scott Purcell
= loadUserFromDatabase(); BeanUtils.copyProperties(uForm, userData); return mapping.findForward("Success"); Note that you don't need 'request.setAttribute' -- the framework has already (or will) handled that. -- Jeff On Thu, 17 Mar 2005 08:19:35 -0600, Scott Purcell <[EMAI

create bean in action, and have display in jsp question

2005-03-17 Thread Scott Purcell
Hello, Up until today, my workflow has been to give the user a jsp form, user submits, to an action, where a form bean collects and data, validates it, sends it to an action and the cycle is complete. I get this flow and all is good. Today, I have a unique problem. I actually have the need to

RE: [OT] request issued twice

2005-03-16 Thread Scott Purcell
On issues like that, I try and post to a middle page that says "Please wait" and from there push the data to the slow process. Scott -Original Message- From: a k [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 16, 2005 10:24 AM To: user@struts.apache.org Subject: [OT] request issued twi

Checkbox Validation Help Needed

2005-03-16 Thread Scott Purcell
I am working on a project where I have the need to validate a checkbox being 'on' . It is the usual accept our license, or you cannot enter site. In the jsp page we are using this: And in my bean I have a getter and setter with a boolean value: eg: setTerms(boolean val) boolean getTerms() an

Retrieve Form Values In Action Class

2005-03-16 Thread Scott Purcell
I have some forms where I only a couple of form field elements. So instead of creating a physical bean, I decided to try using the org.apache.struts.action.DynaActionForm. Anyway, all was good with validation, etc. But I ran into an issue when I tried to retrieve the values from my form in th

RE: validwhen problem

2005-03-15 Thread Scott Purcell
day, March 15, 2005 2:32 PM To: Struts Users Mailing List Subject: Re: validwhen problem On Tue, 15 Mar 2005 14:27:15 -0600, Scott Purcell <[EMAIL PROTECTED]> wrote: > > My Bean has the getPassword() and getConfirmPassword() methods. Can anyone > help here. Perhaps your

RE: validwhen problem

2005-03-15 Thread Scott Purcell
Niall - Original Message - From: "Scott Purcell" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, March 15, 2005 7:15 PM Subject: validwhen problem Hello, I am having troubles getting the validwhen validation to work.

validwhen problem

2005-03-15 Thread Scott Purcell
Hello, I am having troubles getting the validwhen validation to work. test (confirmPassword == this) I have a bean that extends the ValidatorForm and has setters and getters for the two fields I need. getPassword(); setPassword(String pa

Validate Two String Fields Equal

2005-03-15 Thread Scott Purcell
Hello, I have a simple validation problem I am seeking help with. I have a form in which the end-user enters a "password" and a "confirm password". I am using the validator framework (I am pretty new, but getting there) and want to know how to check this type of problem. Ensuring that the same

Validator Framework question

2005-03-14 Thread Scott Purcell
I am trying to use the validator framework for some simple form-field validation. Under web-inf, I have placed the default validator-rules.xml eg: /WEB-INF/validator-rules.xml (from the extracted examples). and /WEB-INF/validation.xml (from the storefront example, see below); and in my struts-co

RE: Request Processor validation Question

2005-03-14 Thread Scott Purcell
candidate to be overriden. - Original Message - From: "Scott Purcell" To: user@struts.apache.org Subject: Request Processor validation Question Date: Mon, 14 Mar 2005 09:31:35 -0600 > > Hello, > I have extended the RequestProcessor and I am looking for a way to &

Request Processor validation Question

2005-03-14 Thread Scott Purcell
Hello, I have extended the RequestProcessor and I am looking for a way to find out where the page is going to. The reason for this is as follows. I am giving each user a UserObject when they hit the site. Later on, after they log in, I set some flags to know they are valid inside the application

RE: Help With Action

2005-03-11 Thread Scott Purcell
t's your problem. Any chance you have inputForward set? Even if you don't, try once with "inputForward='false'" just to see, although it should default to false. Joe -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Friday, Marc

RE: Help With Action

2005-03-11 Thread Scott Purcell
r forward would happen on Failure. -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 2005 9:22 AM To: Struts Users Mailing List Subject: RE: Help With Action I guess I could do that, but the docs state that if the validation fails, request will go to the

RE: Help With Action

2005-03-11 Thread Scott Purcell
1, 2005 10:16 AM To: 'Struts Users Mailing List' Subject: RE: Help With Action ?? maybe ?? -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 2005 9:13 AM To: user@struts.apache.org Subject: Help With Action Hello, I have the followin

Help With Action

2005-03-11 Thread Scott Purcell
Hello, I have the following action setup in my struts-config.xml file: I am failing the ActionForm so my request should go to the "input" tag. And according to the Logger it does. 2005-03-11 10:12:12,349 INFO com.ddi.dealer.bean.LoginForm - XXX setting username= 2005-03-11 10

html:form question

2005-03-11 Thread Scott Purcell
Hello, I have a login that I call and displays its initial presentation. I am using the line for when I submit its values. But I want to put in some default values into the initial presentation. So upon reading about it looks like I could use the following: Because in my struts-config.xm

RE: Does not call action?

2005-03-04 Thread Scott Purcell
that match "/manageAssets", it should automatically redirect the request to the "/jsp/admin/manageAssets.jsp" Hubert On Fri, 4 Mar 2005 14:55:42 -0600, Scott Purcell <[EMAIL PROTECTED]> wrote: > Hello, > I have this in my struts-config.xml file

Does not call action?

2005-03-04 Thread Scott Purcell
Hello, I have this in my struts-config.xml file When I call the container with "/action/manageAssets" it just forwards to the jsp page and does not use the type? I put a bunch of println statements in com.skp.action.LoginAction but it is not called? Could I be missing something? Thanks,

Popup Windows Problems?

2005-03-03 Thread Scott Purcell
Hello, All has been going well in my Struts app, then I ran into an issue dealing with a popup window. I am popping up a little window 500 x 300 and showing a upload File box. But when I submit the form, I get all kinds of BEAN errors in the log file? I do not see what is different between

RE: Reloading Configuration File

2005-03-03 Thread Scott Purcell
en that ought to do the trick. hth "Scott Purcell"

Re-initialize ActionServlet Help

2005-03-03 Thread Scott Purcell
knows of any way to reinitialize the ActionServlet to re-read the struts-config.xml file, please, please let me know. Thanks, Scott -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Thursday, March 03, 2005 8:30 AM To: user@struts.apache.org Subject: Relo

RE: Action without ActionForm

2005-03-03 Thread Scott Purcell
ation of the jsp from the site structure: if Start.do ever moves then all the jsp will have to change. This would be nice: " /> but you can't do that :( cheers, Alistair On 3 Mar 2005, at 14:32, Scott Purcell wrote: > Did you get that in your JSP file? I found that if I use the ht

RE: Action without ActionForm

2005-03-03 Thread Scott Purcell
Did you get that in your JSP file? I found that if I use the html:form tag in the jsp page in which I use that technique that it errors. If that is the case, in the JSP page, just use the normal and see if the error goes away. Scott -Original Message- From: Alistair Young [mailto:[

Reloading Configuration File

2005-03-03 Thread Scott Purcell
Hello, I was reading from my O'Reilly struts book last night, and it has a section on "Reloading The Configuration Files" pp 102. Because I am in development, I am constantly updating the config file and I have to keep stopping and starting my tomcat, I found the section interesting, but it gi

RE: How to get web.xml to ActionForm via struts?

2005-03-03 Thread Scott Purcell
en via the ServletContext.getParameter which one can get from the GenericServlet or I believe Request... I do not have the javadoc open at this time. Thanks, Scott -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 8:09 PM To: Scott Purcell; St

Need Help Deciphering Error:

2005-03-02 Thread Scott Purcell
Hello, I am getting the following error and I cannot quite figure out what I am doing wrong? Can anyone give me some insight into this? Here is the circumstance: I have a jsp page that does a href to this action: "/action/uploadAssets" This will display a simple JSP page that shows a html form w

  1   2   >