http://localhost:8080/struts-example
- Original Message -
From: micael [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, September 01, 2002 12:37 PM
Subject: Re: How to run struts examples in Tomcat
Sorry, misunderstood your question. mea
I am getting
the following error with the simplest StrutsTestCase. Any
ideas?
//using
struts 1.0.2
//using
struts-testcase 1.6
public class
AutoRedirectDbHandlerActionTest extends MockStrutsTestCase{ ...
public
AutoRedirectDbHandlerActionTest(String testName) {
super(testName); } ...
Hi All,
Has any one faced with ArrayIndexOutOfBoundsException while using
nested logic:iterate tags?
Presently my implementation is as follows:
logic:iterate id=ambiguityDet name=OrderEntryFormBean
property=ambiguityList
type=com.tycoelectronics.usosp.order.util.AmbiguityDetail
With the Struts-Validator Framework i want to validate a Date.
This works fine, but if the field i want to validate is not a required field and may
be empty, the validator always reports an error, even if if i remove the
depends=required.
Do i have to implement the Validator-class in a way
Few question for the people who are using StrutsTestCase.
1. Can the Struts ActionServlet handle web-inf as WEB-INF?
2. How do I know if it found the file, and the requested path info?
Thanks
__
Oren Gross, Software Developer
Mercury Interactive, APM - RD
Thank you all, http://localhost:8080/struts-example works.
- Original Message -
From: congzhebin [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, September 01, 2002 5:37 AM
Subject: Re: How to run struts examples in Tomcat
Thank you, Aaron. The explaination is in very detail. But I still not clear
about one thing. In the following part of your code:
ul
html:messages id=error
libean:write name=error//li
/html:messages
/ul
you use id=error. Where should define error? I tried to
Hi, All:
I want to have submit button with a image for display purpose. The following
is part of my code:
html:submit
img src=struts-power.gif/
/html:submit
struts-power.gif exists in same directory as my jsp files. But when I run
it, it always show me a button with img src=
on the button.
Drop it! my silly mistake
sorry for the trouble
__
Oren Gross, Software Developer
Mercury Interactive, APM - RD
+972-3-5399407, [EMAIL PROTECTED]
-Original Message-From: Oren Gross
[mailto:[EMAIL PROTECTED]]Sent: Sunday, September 01, 2002 1:09
Hi Jenny,
The html:messages tag by default will iterate over the ActionErrors
stored in request scope under key org.apache.struts.action.ERROR.
The value of the id attribute is just the name you want the tag to expose
each individual ActionError/Message under. The docs do a better job of
Try using:
html:image src=struts-power.gif/
James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://www.open-tools.org/struts-atlanta
-Original Message-
From: Lili [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 8:52
Hi Shashi,
Where does the page generation stop? I don't think logic:iterate itself
will walk off the end of a list (and even if it did that would throw
IndexOutOfBounds, not ArrayIndexOutOfBounds). It might be thrown from
some other code.
John
Shashikiran M wrote:
Hi All,
Has any one
Bill, that is my point, with Visual Studio you get tons of good
features in one IDE, which from my point of view helps speed development...
I know what is out there, i have netbeans, eclipse, struts
console, etc etc etc in my computer, I would rather have just one. Have to
sometimes you just need JBuilder open for the PC to hang :-)
Sorry, couldn´t help it!
Regards,
Michael
- Original Message -
From: Tiago Nodari [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, September 01, 2002 9:21 PM
Subject: RE: Java Server Faces and
I have been using the nested tag for a moment and it is great for
displaying nested information but I got a problem when submitting
information using the tag. When I submitting the form with nested tag,
it always comes out with null pointer exception during populating values
to the bean if I do
Try opening JBuilder(or netbeans), tomcat, mysql, and just for fun
together
At 09:30 PM 9/1/2002 +0200, you wrote:
sometimes you just need JBuilder open for the PC to hang :-)
Sorry, couldn´t help it!
Regards,
Michael
- Original Message -
From: Tiago Nodari [EMAIL
h. that´s not all that much! Mind you, I found that JBuilder was
fairly slow (especially JBuilder6 - JB4 was ok) and caused everything else
to slow down aswell. I don´t have this problem when using Eclipse...
Regards,
Michael
- Original Message -
From: Tiago Nodari [EMAIL
Depends how much RAM you have :)
I tried JBuilder 7 and netbeans 3.4, both are slow starting, but
after its alright, I dont do GUI work. Eclipse is nice also, the only
problem I have is when you alt-tab alot, it seems to take a while going
back to it, that doesnt happen
Yes, the Tomcat-Plugin is nice
is 256 MB SDRAM enough?
:-)
Regards,
Michael
- Original Message -
From: Tiago Nodari [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, September 01, 2002 9:56 PM
Subject: [OT] Java Server Faces and Developer Life
You're probably aware that I've been evaluating IDEs recently. I
finally wound up deciding that Netbeans 3.4 suited my needs/wants more
closely than any other IDE. Yes, you're kind of locked in to whatever
Tomcat installation they packaged with it, but, other than that, it's
really nice.
Hi All,
How to extend RequestProcessor class ? Also if someone can elaborate on the
struts-config.xml
configuration to configure controller.
Thanks
Bunty
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
If I use a DynaValidatorActionForm and leave a date field blank, when
validation occurs an error is raised saying the field is not a date. Is this
a bug with Struts 1.1 b2 as it was OK in beta 1?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
Hey guys Im just new to the users list and was wondering whether anyone
could help me out with how to nest templates.
I have only been able to do this by the following way
-technologies_expertise.jsp-
---
Main file which uses
I am using:
Tomcat 4.0
Struts 1.0.2
The problem
I have successfully used the Struts database connection pooling in a trial
web app, but as far as I can tell, a reference to the datasource can only be
obtained from within an Action class (or directly within a JSP page but
let's not
Here's how I do it:
I defined a Database class with a constructor that takes a Datasource
object. It also has a static getSystemDatabase() method and a getConnection
method. I subclassed the struts ActionServlet and get ahold of its
DataSource (defined in struts-config.xml) and pass it into
Hi Bunty,
Most of the time you probably wont actually need to override the
RequestProcessor, however on those occasions when you do need to you will be
glad to hear that it is actually quite a straightforward task.
First you create your own class that extends RequestProcessor, and to make
Hi,
What are the J2EE patterns that struts already implements? I am trying
to create a WebController which acts as a proxy( after the petstore
sample) so that my business tier is loosely coupled with the presentation
tier. So my presentation tier and business tier send Data Transfer Objects
Hi Vic,
Also, C# is a ECMA standard and here is the open source version:
http://www.infoworld.com/articles/hn/xml/02/07/22/020722hnoreilly.xml
..and currently it does not work on Linux, SunOS, HPUX and Mac.
Java is desinged to run on a huge portion of OS and so it's the best
joice if you want
There's a couple of pieces missing in my understanding of this:
1. How do you get hold of the DataSource of the ActionServlet subclass?
Is this what getSystemDatabase() does? If so, then how?
2. Am I right in assuming that the getSystemDatabase() method
instantiates a new Database
29 matches
Mail list logo