"Craig R. McClanahan" wrote:
> Moral of the story -- Struts depends on itself being loaded with the webapp
> class loader. Stick "struts.jar" in your WEB-INF/lib directory and stop
> worrying about class loading ... :-)
Well, right, except that the development/deployment cycle is a lot
easier if
Thanks to others' help and some digging, I discovered that having
struts.jar in your classpath is a bad thing. :-) I know it says this
in the documentation, but I was not aware of what the symptoms would be.
In short, for those who are still curious, if you have struts.jar in
your regular class
[EMAIL PROTECTED] wrote:
> I dropped your war in my Tomcat 3.2 webapps directory and the app ran
> fine. I think it must be something in your environment. Check your
> classath to make sure it's not something that's getting picked up from
> there.
OK, this is even weirder. When I zero out my cla
Gerry Chike wrote:
>
> Hi Laird,
> Not sure if this is the desired behaviour,
> but I placed WAR file into
> \jakarta-tomcat\webapps folder. Re-started TomCat 3.2. Opened
> starthere.html and entered my name and clicked submit button.
>
> TomCat 3.2 console responded with the following output:
>
OK, I'm beyond stumped. I've posted my broken .war file at
http://www.amherst.edu/~ljnelson/opencommerce.war. Please, could
someone try deploying this on a tomcat 3.2 release and let me know if it
works or fails?
The source code for the classes involved is at
http://www.amherst.edu/~ljnelson/op
"Craig R. McClanahan" wrote:
> Are you positive that your classes have a "*.class" extension, and are in their
> proper package hierarchy? In other words, a class named
> "com.mycompany.mypackage.MyClass" should be located at:
>
> /WEB-INF/classes/com/mycompany/mypackage/MyClass.class
Verif
Pierre Métras wrote:
> The ClassNotFoundException indicates that Struts can't find your class along
> the application CLASSPATH, using the Java classloader.
Right; I should have made it clear that I've been working with Java
professionally for years, i.e. I know what the exception means. (Even
s
Laird Nelson wrote:
> To debug, I've got it to the point where
> ActionBase.createActionInstance() tries to create an instance of my
> Action. The action.xml file is set up properly. The call to
> newInstance() results in a ClassNotFoundException.
Even more weirdly, the tomcat
I've been trying for four days to deploy a hello world struts
application using struts 0.5 and tomcat 3.2. My "application" is a .war
file that consists of a directory structure basically like this
(shorthanded for brevity on this list):
starthere.html
done.html
WEB-INF/action.xml
WEB-INF/classe
- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
> Welcome to the wonderful world of Windows. The problem is that
Windows does not
> update the file size of a directory entry until you close the file --
so you
> will have to shut down Tomcat to see the actual text of t
I've got my ActionServlet set up with a debug level of 2 (I left that
parameter as it was set in the examples). I'm running with Struts 0.5
and Tomcat 3.2. I've been working for 8 hours straight trying to get a
basic web app using struts to come up and show me a hello world page in
response to a
- Original Message -
From: "Frank Starsinic" <[EMAIL PROTECTED]>
> This is a good idea. I'm wondering. Is there a performance hit having
all
> the resource strings in one XML file or
> would it be better to have a seperate file for each locale?
I echo this; it would be nice to be able to
- Original Message -
From: "Pierre Métras" <[EMAIL PROTECTED]>
> - Message bundles files are already used for localization of other
> softwares. So translators know how to handle them. I don't want the
> translators to use an XML editor to do the work they used to do with
their
> prefered
Any way you could force use of PropertyResourceBundle instead, and then
write a simple "save this to a java.util.Properties" converter? Then
MessageResources (or whatever the name of the class is) could have an
easy writeExternal() method that effectively makes it serializable.
Product of two se
Does anyone (Craig) know when 1.0 will be released? Craig, are you
holding off for bugfixes or some other piece of functionality?
I'm trying to plan some architectural stuff and want to know whether I
should base my efforts off the head of the trunk or the 0.5 release.
Thanks in advance.
Cheer
Fault was bad ant documentation.
Cheers,
Laird
--
W: [EMAIL PROTECTED] / P: [EMAIL PROTECTED]
http://www.amherst.edu/~ljnelson/
Good, cheap, fast: pick two.
This is probably a FAQ.
I've read the installation instructions for Struts. I've installed a
binary version of ant1.2 properly. I've installed a binary version of
xalan-1.2.1 properly.
The main build of struts gets to the first
17 matches
Mail list logo