Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Just import one java file

Status
Not open for further replies.

okprog

Programmer
Feb 3, 2003
3
DE
i'm new in jsp.

is it pssible to <%@ import=&quot;JAVAFILE&quot; %> or have i create packages to import just one file.

this file refers to other javas, which are stored in the classes folder of MYAPPL with tomcat 4.1.18 .

thanks in advance

ok
 
It is not neccessary for you to create packages... If the Class file is under the Folder

/Tomcat/webapps/<Appln-Name>/WEB-INF/classes/YourClassFile

then you can import it as

<%@ import=&quot;YourClassFile&quot;%>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top