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
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
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
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
try
view source on the message it was a html tag
with
$lt; html:errors property="field1" /gt;
-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
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
[mailto:[EMAIL PROTE
.3. I have the
same problem. Did you find a solution?
Thanks, Roger
- Original Message -
From:
Nick Chalko
To: '[EMAIL PROTECTED]'
Sent: Tuesday, July 10, 2001 9:19
PM
Subject: re:having problem with using tag
libraries with a body under VAJ
Did you ever fin
My jsp page
with the following tag
html:text
property="username" size="20" maxlength="20" value="test"
inside/html:txt
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)]
/*
Sorry, yes it was in a html:htmlhtml:form
-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 html:form
tag?
--- Nick Chalko [EMAIL
: null pointer error
Silly question, perhaps, but you do have /html:text and not /html:txt,
don't you?
--
Martin Cooper
- Original Message -
From: Nick Chalko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 11:53 AM
Subject: null pointer error
My jsp page
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-
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
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
Yes there is
in the WTE Dir/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 taglib tag.
When I fix it I will submit it to the group
Make your own project in Visual Age
Yes there is
in th WTE Dir/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 taglib tag.
Make your own project in Visual Age called MyProject
In the resources create a VAJ
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.ServletException
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 WTE/properties/convertwar.xml
?xml version=1.0?
project name=WarConverter default=transform.to.webapp basedir=.
target
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
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
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
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,
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
logic:iterate ...
...
html:multibox property="checkbox" value="candidate"
valuePropert="candidateId"/
...
/logic:iterate
Now your form needs
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
Subject: RE: multibox
This do
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
24 matches
Mail list logo