> I apologize in advance if my question is easily answered (I've never
> used JSP before). However, I've tried to fix this problem for days and
> nothing I do seems to work. Please help if you can. Before you ask, I
> have the jar file in both the WEB-INF\classes and \javalib directories.
> Also, they are in a subfolder (my useBean id). I've tried to research
> this but can't find an answer that seems to work.
I do not know if it is the cause of your problem, but jar files
should be in WEB-INF\lib !
If fixing that does not solve the problem, then you need
to post more info like code snippet and an overview of
files and directories.
Arne
Nancy.Nicole@gmail.com - 05 Sep 2006 16:34 GMT
Thank you for your response :) . This is my first time working with JAR
files. Is the *.jar file the only file that needs to go in the
WEB-INF\lib folder? The classes go in the WEB-INF\classes folder,
correct?
Thanks,
Nancy
> > I apologize in advance if my question is easily answered (I've never
> > used JSP before). However, I've tried to fix this problem for days and
[quoted text clipped - 11 lines]
>
> Arne
Arne Vajhøj - 05 Sep 2006 17:23 GMT
> Thank you for your response :) . This is my first time working with JAR
> files. Is the *.jar file the only file that needs to go in the
> WEB-INF\lib folder? The classes go in the WEB-INF\classes folder,
> correct?
class files goes on WEB-INF\classes\xxxx where xxxx
is the package of the classes.
Arne
Nancy.Nicole@gmail.com - 05 Sep 2006 17:32 GMT
Should the package be named the same as my jar file or does that
matter?
> > Thank you for your response :) . This is my first time working with JAR
> > files. Is the *.jar file the only file that needs to go in the
[quoted text clipped - 5 lines]
>
> Arne
Andrew Thompson - 05 Sep 2006 17:50 GMT
Please refrain from top-posting. It is very confusing.
> Should the package be named the same as my jar file or does that
> matter?
A Jar file might contain classes from many packages.
The name of the Jar is not connected with the name
of the package(s) it contains (though ideally, the Jar
name should be as 'meaningful' to the classes it contains).
Andrew T.
Nancy.Nicole@gmail.com - 05 Sep 2006 17:53 GMT