• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to use the "Packages" in JSP

 
Raynmune Corsan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello people. (Administrators please excuse me for my "beginner" attitude).
My question is how to handle the files (permissions, PATHs etc ..) .jsp and .class, for do something like:
var anyVar = Packages.?.anyClass();

ideas are wellcome. thanks
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Couldn't really get you.
What are you trying to do or trying to ask?
 
Madhu Kaparapu
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<%@page import="package.package1.yourClass" %>
<%
<yourClass> obj = new YourClass();
obj.method1();
'
'...
%>
 
Raynmune Corsan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the ans Adeel Ansari & Madhu Kaparapu.

Have a good day.
[ November 10, 2005: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!