Scaffold BaseAction is causing error when scaffold.lang.BaseException not found

2003-01-15 Thread Kenny Smith
Hello all (and Ted hopefully),

I've been reading Struts in Action and I am trying to create a class that
extends BaseAction.

I wrote an executeLogic() method, but when the action gets executed, I get
this message on STDERR. (/editAlias it the uri for my ActionMapping)

SEVERE: No action instance for path /editAlias could be created
java.lang.NoClassDefFoundError:
org/apache/commons/scaffold/lang/BaseException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1576)
at java.lang.Class.getConstructor0(Class.java:1748)
at java.lang.Class.newInstance0(Class.java:266)
at java.lang.Class.newInstance(Class.java:249)
at
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.
java:206)

Now, the above message makes sense to me from the perspective that, yes,
org.apache.commons.scaffold.lang.BaseException does not exist... because the
package I'm using is org.apache.struts.scaffold However, I don't know
why it's trying to reference lang.BaseException.

I'm using Struts 1.1, Tomcat 4.1.18, Java 1.4.1, and I got the
struts-scaffold distribution from manning.com last night.

Does anyone know what would be causing this problem? I converted my object
to just extend Action and everything is working fine, but I'd rather benefit
from scaffold's execute() idiom.

Thanks!
Kenny Smith
JournalScape.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: easy struts

2003-01-21 Thread Kenny Smith
I tried to on many occasions, but it never worked for me. I reported a 
bug and the author told me that I had to have the Package Explorer 
visible when I tried to "Add Easy Struts Support"... but I did have it 
visible. I never got a response back from him.

I'm currently very happy using NetBeans and StrutsConsole.

Kenny Smith
JournalScape.com

Softwareentwicklung Hauschel wrote:
Hey all,
does anybody develop with easy struts and eclipse ?

Ich wünsche Ihnen noch einen schönen Tag,
Fred Robert Hauschel

_

Softwareentwicklung Hauschel
Fred Robert Hauschel

http://www.hauschel.de
[EMAIL PROTECTED]

0179 - 69 170 92
07427 - 9 11 79
_


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: AW: [OT] Eclipse IDE - The Two Towers

2003-01-21 Thread Kenny Smith
Hi s.frank,

I think your first paragraph and second make different points. I 
completely disagree that choice of IDE is just an aesthetic choice. Your 
second point about the Perforce-Integration is talking about specific 
functionality. If your project requires specific functionality, then the 
choices of IDEs are limited. However, people think differently. Take 
NetBeans and Eclipse. They do the same job, but they do it in VASTLY 
different ways. Why? Because different people have different ideas. One 
person will be far more productive using Eclipse and a different person 
will be more productive with NetBeans.

Seriously... who _cares_ if it's easier for an administrator to setup a 
new box. That is a one time event and completely gets lost in the amount 
of time a developer will spend using the machine. In addition, IDEs are 
pretty darn easy to install. My box at work came without one, I chose my 
favorite and installed that one.

It's a myth that using one IDE improves team performance.

Kenny Smith
JournalScape.com

[EMAIL PROTECTED] wrote:
I think there exist many and more fruitful ways to express your
individuality than using IDE A rather than that ide B.  

If the IDE is not important, why not standardize one: Makes it easier for
administrators to setup new boxes, allows to pass the box to another
member of your team, allows to use the same plug-ins and so on: Just think
about Integration with version-Control: Cowboy-Coder A uses Eclipse which
has a bug with Perforce-Integration, Cowboy-Coder B insists on using
IntelliJ, which has no Perforce-Integration at all: And the Newbie-Coder
comes in and is totally confused as there exist three ways of setting up
your enviroment. No Standards at all are ok if you have a team-size of
one... 
 
--- Ursprüngliche Nachricht --- 
Datum: 21.01.2003 16:20
Von: "James Childers" <[EMAIL PROTECTED]>
An: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Betreff: RE: [OT] Eclipse IDE - The Two Towers
 

I second this. Different people work in different ways; standardizing an


IDE for every developer ignores this rather key fact of human nature. If
my company were to standardize on an IDE that some people don't like,
they're just going to be frustrated and bitter, decreasing productivity.


*shudder* Thank Baal they don't do that at my company. Everybody can use


whatever development tools they want, so long as the code compiles and
passes the unit tests. 

I use Eclipse and Vim, primarily. If management tried to take away Vim I


would have to tell them to... well... You get the idea.


Speaking of which, I've been tinkering with IDEA lately, and it looks


quite promising. Tight, and as fast as Eclipse. Plus I like the fact that
I can do everything within it without using the keyboard. And it can do
regexp search and replaces, which is one of the main things keeping me
married to Vim right now.


-= J



-Original Message-
From: Alex [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 9:16 AM
To: Struts Users Mailing List
Subject: Re: [OT] Eclipse IDE - The Two Towers

On Tue, 21 Jan 2003, Daniel H. F. e Silva wrote:



My boss wants a standard environment to all developers. So, 

order is order.


I think his concern about this task is to improve 

productivity. So, what is more productive?

If he wants productivity then let the developers use the 
tools they are
familiar with.


--
To unsubscribe, e-mail:  

<mailto:[EMAIL PROTECTED]>


For additional commands, e-mail:


<mailto:[EMAIL PROTECTED]>




 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




How many Actions have you chained together?

2003-01-21 Thread Kenny Smith
Hello all,

I'm currently designing an application in which I'm envisioning having 
10+ Actions chained together to build the data which will be made 
available to the build the response. I've looked through the mail 
archives about chaining actions, but most of the posts were about losing 
Form objects inbetween Actions.

Has anyone tried to chain many Actions together? Did it turn out to be a 
 Good Thing (tm)? Do you have any best practice suggestions for such a 
system?

If there is a good discussion on struts-user in the archives that I just 
missed, please let me know (preferably with something to search for so I 
can find it).

Thanks in advance!
Kenny Smith
JournalScape.com



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Re: Standard way to "pingQuery" MySQL ?

2003-01-21 Thread Kenny Smith
"SELECT 1"

Kenny Smith

Mike Deegan wrote:

If "SELECT 1 FROM DUAL" is considered a standard way to "pingQuery" ORACLE -
what is MySQL's standard ?



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)

2003-01-21 Thread Kenny Smith
Who cares! Are you really just arguing capitalization instead of trying 
to help the person? Come on... this list is for helping people.

Kenny Smith


Mark Galbreath wrote:
Are you saying Java is not case sensitive nor conforms to naming standards?
"Collections" is not "collections."

-Original Message-
From: Jacob Hookom [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 21, 2003 2:40 PM


http://jakarta.apache.org/commons/collections/api/org/apache/commons/collect
ions/FastHashMap.html


-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 21, 2003 1:36 PM

No such thing.  Collections is a class.

-Original Message-
From: Jacob Hookom [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 21, 2003 2:23 PM

...(such as in the
Fast*** implementations in the Collections package)



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Blank screen when posting to DispatchAction

2003-01-26 Thread Kenny Smith
Hi all,

I'm submitting to my dispatch action and getting a blank screen. In my
struts config I've set the parameter attribute to 'method' and I'm
submitting a form variable called 'method' that is equal to 'create'.
However, the create() method in my action is not getting called.

Nothing is showing up in the catalina.out file other than:

Jan 26, 2003 10:36:00 AM org.apache.struts.action.RequestProcessor process
INFO: Processing a 'POST' for path '/managePOP'

Has anyone encountered this behavior before?

Thanks,
Kenny Smith

My action mapping:





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Blank screen when posting to DispatchAction

2003-01-26 Thread Kenny Smith
Hi,

I'm calling servlet.log() inside ManagePOPAction.create(), but they aren't
showing up in the log. So, I don't even think my method is getting executed,
much less returning null. :/

Any other suggestions?

Kenny

> -Original Message-
> From: Tim Fulmer [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 26, 2003 11:33 AM
> To: Struts Users Mailing List
> Subject: Re: Blank screen when posting to DispatchAction
>
>
>
>
> Not sure, but I get this behavior with v1.0.2 whenever there's no forward
> defined in the context of the action.  That is, when a null forward is
> returned form doPerform.
>
>   - Tim
>
>
> At 10:46 AM 1/26/2003, you wrote:
> >Hi all,
> >
> >I'm submitting to my dispatch action and getting a blank screen. In my
> >struts config I've set the parameter attribute to 'method' and I'm
> >submitting a form variable called 'method' that is equal to 'create'.
> >However, the create() method in my action is not getting called.
> >
> >Nothing is showing up in the catalina.out file other than:
> >
> >Jan 26, 2003 10:36:00 AM
> org.apache.struts.action.RequestProcessor process
> >INFO: Processing a 'POST' for path '/managePOP'
> >
> >Has anyone encountered this behavior before?
> >
> >Thanks,
> >Kenny Smith
> >
> >My action mapping:
> >
> > > path="/managePOP"
> > parameter="method"
> > type="net.samaritech.mail.ManagePOPAction"
> > name="popForm"
> > input="/managePOP.jsp">
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Enterprise SMTP Server?

2002-10-10 Thread Kenny Smith

Hi all,

I'm starting work on a new project. I'm going to be using Struts for my web
app framework, but another piece of the project could benefit from an
Enterprise SMTP server (or servlet) that I could plug some classes into or
use servlet chaining to let my classes process the mail after the SMTP
server has accepted it.

I've been websearching for days, and I can't find any concrete info on the
topic. Just about everyone focuses on web apps. Does anyone know of such a
beast?

Thanks,
Kenny Smith


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Are we getting off the topic

2002-08-28 Thread Kenny Smith

Speaking of getting off the topic...

*looks at the number of posts in this thread*

Kenny :)


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Struts Console and JBuilder

2002-09-03 Thread Kenny Smith

Hi all,

Does anyone know how to plug Struts Console into JBuilder 6? I'd love to
have a visual interface to edit my struts config files. I've been crawling
through the JBuilder documentation all morning and have come up empty
handed. Section foo of the docs says to refer to section bar and section bar
says refer to foo.. *sigh*

Kenny Smith


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: how to return errors from Model component

2002-09-06 Thread Kenny Smith

Hi,

> Someone on the list once said that the Model should
> not know its in a web app...

I totally agree with this statement, but I've been having real problems
keeping the Model from knowing it's a webapp and still being able to
properly share a database connection. I'm still a beginner to java and
struts, so there may be a simple answer I'm missing but...

How do you guys and gals get your model objects to share your database
connections without letting them know they are a web app?

Kenny Smith
JournalScape.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Additional helper tags wanted

2002-09-06 Thread Kenny Smith

Hi,

I would suggest naming it  so that it follows the iterator
structure.

Kenny Smith

> >   <%-- is item followed
> > for (Iterator i = items.iterator(); i.hasNext(); ) {
> >   String item = (String)i.next;
> >   out.print(item);
> >   if (i.hasNext()) out.print("...is followed by...");
> > }


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Question for using struts as our standard MVC framework

2002-09-11 Thread Kenny Smith

Hi there,

I'm still very new to learning Struts... but I totally understand the pain
you are going through. It's hard to make technology people see the inherent
benefit in technology.

Perhaps you can convince them that, even if Apache abandons the Struts
project, Struts can _already_ do way more than any in house solution and
it's already done.

If they still won't come around, I'm with James... tell 'em to stick it.

Kenny Smith
JournalScape.com

-Original Message-
From: Khan, Manuchehar A (ACF) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 3:32 PM
To: 'Struts Users Mailing List'
Subject: RE: Question for using struts as our standard MVC framework


Thanks for input...You are right...Politics play more role here than
technology and innovation.
I gave 2 hr presentation on pros and cons of framework developed by one
person as compare to people involved behind struts.   Opposition was struts
is not tested or proven, what if jakarta abandon struts project and we will
become dependent on 3rd party tool.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: content management ideas?

2002-09-12 Thread Kenny Smith

Hi Bryan,

..but that's what JSP is designed to be... html developer friendly. Once you
create the page with all of the struts tags, they should just be able to
code the html and content around the JSP. I know it's not exactly what you
were expecting, but my suggestion would be to let them modify the JSP, just
instruct them that they are not supposed to touch the JSP tags.

Kenny Smith
JournalScape.com

-Original Message-
From: Bryan Field-Elliot [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 1:09 PM
To: Struts Users Mailing List
Subject: content management ideas?


I was wondering how people handle frequent content updates with
Struts/JSP? At my company, I'm building a site for which much of the
"static" content (including things like the CSS stylesheet) will
probably undergo frequent revision. I'd like to open it up for easier
access, such as via FrontPage, so that I (the programmer) am not in the
middle of such changes. But the site is very dynamic, with almost all
page fetches resulting in a database query and dynamic content being
built. So the site needs to be JSP-based, and I don't want the
aforementioned "Frontpagers" modifying the raw JSP pages.

Opinions appreciated on how this compromise can best be reached,

Bryan





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: [FRIDAY] Quote of the Day

2002-09-19 Thread Kenny Smith

I think its the Fine Young Cannibals... but regardless, speaking of things
that happened decades ago... how's this for a Friday topic:

http://www.cnn.com/2002/TECH/internet/09/19/offbeat.smiley.reut/index.html

> must be really old, the guest band is "Five Young
> Cannibals", the last time i heard of them I was like in
> 7th or 8th grade, a decade ago :) ...

Kenny Smith


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Use of

2002-07-02 Thread Kenny Smith

Hello,

I've having trouble figuring out how to use .. I've read
through the struts docs, and I can see all of the available properties to
set, like which value I want selected, but it doesn't say how to set what
the list of options are. Am I just plain missing something?

Thanks,
Kenny Smith


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>