• Post Reply Bookmark Topic Watch Topic
  • New Topic

import java class  RSS feed

 
Tex Abrey
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to create a login page in Jsp and import a java package that i created. How do i go about doing this and what (if anything) do i have to do to the package. I am using apache and tomcat and am wondering if i have to put the package into a certain folder or....
Thanks
Tex
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Placement for classes used in JSP is the same as for all classes used in servlets - see the Tomcat examples. Importing of classes is done in the page directive.
Bill
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!