wood burning stoves 2.0*
The moose likes Struts and the fly likes How to invoke own customized package implicitly like java.lang Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic
Author

How to invoke own customized package implicitly like java.lang

Robin Rath
Greenhorn

Joined: Jan 07, 2008
Posts: 10
Hi All,
I want to write a package that should be imported automatically like java.lang. Can anybody help me!Its urgent please reply me soon, I will be greatfull to you.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41108
    
  45
That's not possible. (And if it were, it would be a functionality of the compiler, not the code you create.) What's the big deal with having an import statement in a source file?


Ping & DNS - my free Android networking tools app
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

Please do not post the same question more than once. It causes confusion and duplication of effort as the community tries to help everyone.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to invoke own customized package implicitly like java.lang
 
Similar Threads
important package
important package
standard action doubt
can we add our own package in java?
How to invoke own customized package implicitly like java.lang