running Struts with no network connection

2003-11-18 Thread Afshartous, Nick
Hi, I'm trying to run with no network connection, and I've set the init param validation to false. Yet Struts is looking for the Validator's DTD. Thanks for any help. -- Nick 95 [main] INFO validator.ValidatorPlugIn - Loading validation rules file from '/WEB-INF/validation.xml' 3130

can't redirect out of the context

2003-06-25 Thread Afshartous, Nick
Hi, I'm trying to have an Action redirect to yahoo using the lines below. However, the servlet context is getting prepended and the error is The requested resource (/acme/www.yahoo.com) is not available. Setting contextRelative did not make a difference. Thanks for any suggestions. --

not getting right ActionMapping class with StrutsTestCase

2002-12-17 Thread Afshartous, Nick
I noticed the following when trying to use StrutsTestCase (latest version of StrutsTestCase with Struts B2). It seems that when a request is sent via StrutsTest that RequestProcessor,processMapping does not find the ActionMapping class that has been configured in web.xml. Instead it finds

Struts TestCase v1.9 exception

2002-12-06 Thread Afshartous, Nick
Hi, I'm trying to use Struts TestCase v1.9 and am getting the exception below when calling actionPerform(). Thanks for any explanation. -- Nick testcase name=testSuccessfulUserLogon time=6.123 failure message=Error running action.perform(): class java.lang.ClassCastException -

RE: mapping.getInputForward().getPath() is null

2002-12-05 Thread Afshartous, Nick
Maybe its null because in struts-config.xml the input attribute of the action mapping is not set ? Nick -Original Message- From: Jordan Thomas [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 3:50 PM To: Struts User List Subject: mapping.getInputForward().getPath() is

Profiling a Struts app

2002-10-02 Thread Afshartous, Nick
Hi, I'm looking for a way to generate profile data (i.e. time stats at the method level) for our Struts app. Has anyone done this using any of the HPROF based tools (preferably free) ? Thanks for any info. -- Nick

Firewall and Struts inhibit CSS references

2002-09-24 Thread Afshartous, Nick
We have run into an issue with references to CSS files. The references have this form link rel=STYLESHEET type=text/css href=/strutstest/css/adm_01.css We have set up the application in our DMZ and the pages are rendered fine for us, however for one of

RE: Firewall and Struts inhibit CSS references

2002-09-24 Thread Afshartous, Nick
references. Your firewall I don't know about - that's a different story. This is definitely not a Struts issue though :-) Afshartous, Nick wrote: We have run into an issue with references to CSS files. The references have this form link rel=STYLESHEET type=text/css href

RE: RE: RE: How to use XML and XSL with Struts?

2002-03-13 Thread Afshartous, Nick
There was also a recent posting about an article on the same topic. See http://www.mail-archive.com/struts-user@jakarta.apache.org/msg23094.html Nick -Original Message- From: Gernot Koller [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 2:44 PM To: Struts Users

RE: Login Authentication

2002-02-07 Thread Afshartous, Nick
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 7:16 AM What's the best way to authenticate users from a backend database in a system using Struts? Should the HTML form action go through the ActionServlet or should I write a small validation class that

RE: Transactional Control Tokens?

2002-01-31 Thread Afshartous, Nick
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 Users Mailing

RE: Transactional Control Tokens?

2002-01-31 Thread Afshartous, Nick
Message- From: Afshartous, Nick [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 11:00 AM To: Struts Users Mailing List Subject: RE: Transactional Control Tokens? I believe the transactional token is used to validate that the user does not submit the same form twice

RE: Threading issues

2002-01-31 Thread Afshartous, Nick
The golden rule is not to maintain any state in an Action instance variable. In other words Actions should not have any instance variables that are updated when perform is called. Nick -Original Message- From: Brian Holzer [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31,

bean comparison using tags

2002-01-24 Thread Afshartous, Nick
(sorry if this got posted twice). Hi, I'm trying to perform an equal test on two String values accessed via two beans. So I'd like to do something like: logic:equal name=b1 property=p1 value=b2/ Yes, the two are equal /logic:equal but it seems that only literal

RE: bean comparison using tags

2002-01-24 Thread Afshartous, Nick
possible to do a comparision involving two beans ? - Original Message - From: Afshartous, Nick [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, January 24, 2002 12:39 PM Subject: bean comparison using tags (sorry if this got posted twice

RE: bean comparison using tags

2002-01-24 Thread Afshartous, Nick
--- Afshartous, Nick [EMAIL PROTECTED] wrote: From: Fernando Esteban Barril Otero Try to use the bean:define to get the property of the second bean (b2) first and then use logic:equal. bean:define id=strProp name=b2 property=p2/ logic:equal name=b1 property=p1 value=strProp

Using a tag to compare two beans

2002-01-23 Thread Afshartous, Nick
Hi, I'm trying to perform an equal test on two String values accessed via two beans. So I'd like to do something like: logic:equal name=b1 property=p1 value=b2/ Yes, the two are equal /logic:equal but it seems that only literal String values may be specified by the