You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jeff Jarrell <jj...@technovotics.com> on 2000/10/26 01:30:00 UTC

more questions from a struts newbie

As an exercise to learn struts I am using the example app as a starting
point.  At this point all I have done is to change the package names,
and moved the files around.  I think I have touched all the right
configuration files in the right spots (action.xml).

Now on a successful login I get the following exeception:

javax.servlet.ServletException: Couldn't create instance of tag handler
'org.apache.struts.example.CheckLogonTag': 1

java.lang.ClassNotFoundException:
org.apache.struts.example.CheckLogonTag
[org.apache.struts.example.CheckLogonTag]

Now since I have renamed class to org.mycompany.CheckLogonTag, I am
surprised, it is still looking for something in the
org.apache.struts.example directories.  What files do I still have to
touch?

I hope it is an easy one this time.

Thanks for the great work.

jeff


Re: more questions from a struts newbie

Posted by William Jaynes <wj...@mediaone.net>.
At one point when I was changing the example app much as you seem to be, I
needed to delete the tomcat working directory where tomcat compiles the jsps
into the actual servlets that run. The directory was named
/tomcat/work/localhost_8080%2Fstruts-example.  I think I needed to do this
because I was changing files other than the actual jsp files, and tomcat didn't
know to recompile. Something like that anyway.

----- Original Message -----
From: "Jeff Jarrell" <jj...@technovotics.com>
To: <st...@jakarta.apache.org>
Sent: Wednesday, October 25, 2000 7:30 PM
Subject: more questions from a struts newbie


> As an exercise to learn struts I am using the example app as a starting
> point.  At this point all I have done is to change the package names,
> and moved the files around.  I think I have touched all the right
> configuration files in the right spots (action.xml).
>
> Now on a successful login I get the following exeception:
>
> javax.servlet.ServletException: Couldn't create instance of tag handler
> 'org.apache.struts.example.CheckLogonTag': 1
>
> java.lang.ClassNotFoundException:
> org.apache.struts.example.CheckLogonTag
> [org.apache.struts.example.CheckLogonTag]
>
> Now since I have renamed class to org.mycompany.CheckLogonTag, I am
> surprised, it is still looking for something in the
> org.apache.struts.example directories.  What files do I still have to
> touch?
>
> I hope it is an easy one this time.
>
> Thanks for the great work.
>
> jeff
>