Hi,

I've read this about 5 times now and still can't get my head aroud what you
are doing.

Can you draw us a "picture" of what directories hold what, what your
classpath is, and what your javac command is.

Personally I have always used the structure recommended in the tomcat
documentation that involves an ant build script, this gets around a lot of
classpath difficulties as it generates the path for you (and it could be
quite lengthy with a STRUTS applicaton).

Don't think that's your problem though.

HM

-----Original Message-----
From: angela mcgrenra [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2002 09:48
To: [EMAIL PROTECTED]
Subject: Newbie to struts


Hi there

I am working my way thtough a Struts tutorial and have a slight (simple I'm 
sure) problem...

I have a bean (Book.java)saved and compiled in my classes dir at 
"tomcat"\webapps\strutsShop\WEB_INF\classes

In this folder also is BookAction.java which needs to be able to find this 
bean, and a locally saved copy of the struts.jar file

I have edited struts-config.xml and all other files are ready and waiting 
but my problem is when I try to compile the BookAction.java file in my 
classes dir.

The error I get is
BookAction.java:27: cannot resolve symbol
symbol   : class Book
location : class BookAction
             Book book = new Book();





_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
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]>

Reply via email to