Hi All,
    I have a very strange/painful problem.  Ok, here I go.  I use Weblogic
4.5.1 to host my JSPs.  The compiler adds a "package jsp_servlet;" to all my
JSP's when they are converted into servlets.  So, in other words all my JSPs
are in jsp_servlet package.  Now, I want to instantiate a user-defined
class, say x, (that is not in ANY package) from within my servlet.  So, a
statement in my JSP would be something like:

x temp=new x();

The compiler throws a error that says jsp_servlet.x not found in import.
Obviously, its looking for x within the jsp_servlet package.  How do I
access the default package from within my servlet?

TIA,
Shrisha


-----------------------------------------------------------
Shrisha Radhakrishna
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
http://members.tripod.com/cricforum
(408) 844-7503 (Off)
(408) 773-8327 (Res)
-----------------------------------------------------------


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to