File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes compilation problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "compilation problem" Watch "compilation problem" New topic

compilation problem

Rajeev Nair
Ranch Hand

Joined: Mar 11, 2002
Posts: 51
Iam trying to compile a serlet that uses packages and utilities.
I have the utility in c:\servletdevel\ and the servlet in c:\servletdevel\
Both have coreservlets as package in the file.
I could compile file but when i tried to compile the it gave a compile error saying
cannot resolve symbol Servletutility.
This is where in ShowMessage where i have used the Servletutility class
out.println(Servletutility.headwithtitle(title) +
I have set the classpath as
Please let what iam doing wrong?.

Raj<br />Sun Certified Java Programmer
L Goundalkar
Ranch Hand

Joined: Jul 05, 2001
Posts: 395
"." is needed.

Rajeev Nair
Ranch Hand

Joined: Mar 11, 2002
Posts: 51
Hi Laksmeenarayana,
Do you mean i need to put "." at the end of the classpath. I did that and still iam getting the compilation error. Let me know what you think.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

morepeople have moreproblems with moreservlets.
Rajeev Nair
Ranch Hand

Joined: Mar 11, 2002
Posts: 51
Thanks Mike !. I could compile it now. Its not so simple and starightforward. I was going nuts with this.
I agree. Here's the link:
subject: compilation problem
It's not a secret anymore!