RE: Has anyone used Cactus to test Struts application? - especially A ction objects?

2001-05-21 Thread Nick Chalko
Yes, I have used cactus to test an action class. Here is some sample code. I use it to ensure I am properly storing the correct Hostname in a member session. (we use virtual host) This is my first stab at it and it is not very robust, but it works. -- packag

RE: Form tag problem in VAJ 3.5.3 WTE with 1.0b2

2001-05-31 Thread Nick Chalko
This is discussed in Bugzilla #932 I think the finally resolution will be IBM upgrading to a current version of jasper. Bottom line is the change bellow creates other errors. I made the same changes, I'll let the group know if I am able to update jasper in WTE R, Nick -Original Message

RE: Who Uses Struts (Struts Acceptance in Industry)

2001-06-21 Thread Nick Chalko
What kind of Managers are you selling to PHB's or ex Engineers. Different sell? For PHB's: well what's the use. For exEngineers: Talk about MVC, the Quality and Mean Time to Patch of bugs for Open Source. Isn't there a Sun "Best Practices" on Struts. R, Nick -Original Message-

null pointer error

2001-06-27 Thread Nick Chalko
My jsp page with  the following tag inside   generates the following java code (from VAJ 3.5.3) do {    // end    out.print(_jspx_html_data[4]);    // begin [file="C:\\login.jsp";from=(16,0);to=(16,69)]   

RE: null pointer error

2001-06-27 Thread Nick Chalko
Sorry, yes it was in a -Original Message- From: Bob Byron [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 27, 2001 2:14 PM To: [EMAIL PROTECTED] Subject: Re: null pointer error Is your text element contained within an tag? --- Nick Chalko <[EMAIL PROTECTED]> wrote: &g

RE: null pointer error

2001-06-27 Thread Nick Chalko
ssage - From: "Nick Chalko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 27, 2001 11:53 AM Subject: null pointer error > My jsp page with the following tag > > inside > > > generates the following java code (from VAJ 3.5.3) >

RE: null pointer error

2001-07-11 Thread Nick Chalko
EMAIL PROTECTED]>> To: <[EMAIL PROTECTED]>> Sent: Wednesday, June 27, 2001 12:44 PM> Subject: Re: Taglib problem with VAJ 3.5.3>>> > Hello - I saw your posting regarding the taglib with BodyTag problem in> VAJ> > 3.5.3.  I have the same problem.  Did you

RE: Field level ActionErrors

2001-08-07 Thread Nick Chalko
try view source on the message it was a html tag   with $lt; html:errors property="field1" /> -Original Message-From: John Yu [mailto:[EMAIL PROTECTED]]Sent: Tuesday, August 07, 2001 8:35 PMTo: [EMAIL PROTECTED]Subject: Re: Field level ActionErrorsSorry, Jason. I don't see

RE: Field level ActionErrors

2001-08-07 Thread Nick Chalko
Even I don't understand what I said.   Jason's message included a sample html tag html:errors property="field1" of course that is in normal tag brackets  .   You might be able to see it viewing the source. -Original Message-----From: Nick Chalko [mai

RE: Line of Code Counter?

2001-09-06 Thread Nick Chalko
try grep -c ";" *.java -Original Message- From: Lou Farho [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 06, 2001 8:11 AM To: Struts user Subject: Line of Code Counter? Can anyone point me to a good utility for performing line of code counter for Java and C++? The counter needs to

RE: Using Struts to achieve asynchronous comms

2001-02-07 Thread Nick Chalko
If security isn't an issue store it in the "job id" in the URL http://my.company.com/servlet/getlongactionResult?jobid=1234 Even if the "session" times out, the user can check on the job -Original Message- From: Joe Peer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 07, 2001 9:

RE: ATG web-tier

2001-02-09 Thread Nick Chalko
Hmm is setLocale a Servlet 2.2 feature. ie is ATG at servlet 2.2? -Original Message- From: Thierry Cools [mailto:[EMAIL PROTECTED]] Sent: Friday, February 09, 2001 8:00 AM To: [EMAIL PROTECTED] Subject: ATG web-tier Hi, are there some people that already try to deploy the struts-examp

RE: How set array of properties?

2001-02-09 Thread Nick Chalko
I just submitted a patch to allows this you can find the patch at http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=402 (Vote for the bug, so we can get it included in the nightly builds) -Original Message- From: Michael Grushko [mailto:[EMAIL PROTECTED]] Sent: Friday, February

RE: multibox

2001-02-09 Thread Nick Chalko
This doesn't work yet, I submitted a patch Vote for bug #402 at http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=402 With my patch the usage is ... ... Now your form needs to have public String[] getCheckbox() {...} public void setCheckbox(String []) {...} R, Nick -Original

RE: multibox

2001-02-09 Thread Nick Chalko
saying the multibox tag doesn't work at all now? From reading the documentation, I don't understand how it should work now. - Original Message ----- From: "Nick Chalko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 09, 2001 3:13 PM Subjec

RE: Struts with IBM VisualAge for Java

2001-03-12 Thread Nick Chalko
I have TOMCAT running in VAJ 3.5. You have to delete the Servlet 2.1 stuff before you install TOMCAT. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 10:27 AM To: [EMAIL PROTECTED] Subject: RE: Struts with IBM VisualAge for Java Apache

RE: Struts and VisualAge 3.5.3 with WTE

2001-05-01 Thread Nick Chalko
When I try to start my struts application (which works under VAJ 3.5 and TomCat 3.1) I get avax.servlet.ServletException: java.lang.ClassNotFoundException: org.apache.crimson.jaxp.SAXParserFactoryImpl which is strange because I have jaxp in a projects and both WTE and the webapp classpath point to

RE: Struts and VisualAge 3.5.3 with WTE

2001-05-02 Thread Nick Chalko
Yes there is in the /properties directory there is a webapp.xsl that will convert a web.xml file to the appname.webapp format. There is some bugs, The taglib command forgets the inclosing tag. When I fix it I will submit it to the group Make your own project in Visual Age called MyProject

RE: Struts and VisualAge 3.5.3 with WTE

2001-05-02 Thread Nick Chalko
Yes there is in th /properties directory there is a webapp.xsl that will convert a web.xml file to the appname.webapp format. There is some bugs, The taglib command forgets the inclosing tag. Make your own project in Visual Age called MyProject In the resources create a VAJ directory and

RE: Struts and VisualAge 3.5.3 with WTE

2001-05-02 Thread Nick Chalko
Message- From: Nick Chalko [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 9:36 AM To: '[EMAIL PROTECTED]' Subject: RE: Struts and VisualAge 3.5.3 with WTE When I try to start my struts application (which works under VAJ 3.5 and TomCat 3.1) I get avax.servlet.Servle

RE: Struts and VisualAge 3.5.3 with WTE

2001-05-02 Thread Nick Chalko
here is the ant file that is suppose to do the conversion, but I haven't got it to work yet because I cant find com.ibm.servlet.ant.teskdefs.* the file can be found in /properties/convertwar.xml

RE: Struts and VisualAge 3.5.3 with WTE

2001-05-07 Thread Nick Chalko
Here is a xsl and an ant build file to convert a web.xml file into the needed appname.webapp and the part.xml file to cut and past into the default_servlet_engine file This assumes that all your Action classes are in a Visual Age project called "MyProject" R, Nick build.xml webapp.xsl

RE: [ANNOUNCE] Struts Console

2001-09-20 Thread Nick Chalko
That is why I always use a PrintWriter instead. java.io.StringWriter sw = new java.io.StringWriter(); java.io.PrintWriter out = new java.io.PrintWriter(sw); out.println("Hello Sailor!"); out.println("Hello World!"); String result = sw.toString(); -Original Message- From: [EMAIL PROTE

Cactus : Struts

2001-10-25 Thread Nick Chalko
Here is the extension I wrote. I am still trying to get this released Open Source. Note that I have a internal class to wrap the action servlet, to return the action forward, instead of the response. This also allows me to use the actual struts-congif.xml. If there is interest I think I can

RE: Cactus : Struts

2001-11-12 Thread Nick Chalko
The reason I worry about saving the action variable in an instance variable is that the value should be null before performForward is called. Since the user of StrutsTestCase class will write his own setup up, old actionForward values could will be left. Also I do not think the setActionPath i