aspose file tools*
The moose likes Cattle Drive and the fly likes Java package statement for JSP? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Java package statement for JSP?" Watch "Java package statement for JSP?" New topic
Author

Java package statement for JSP?

Richard Broersma
Ranch Hand

Joined: Apr 28, 2009
Posts: 63

Since JSP files will eventually be translated to .java files which eventually will be compiled into java classes, it it possible to declare a JSP as part of a development package.


Basically, does JSP have an equivalent to the java "package" statement?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60046
    
  65

No. And where the JSP ends up is dependent upon the container.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Richard Broersma
Ranch Hand

Joined: Apr 28, 2009
Posts: 63

Okay, that make sense. But now I'm confused about one aspect of the Cattle-Drive Assignment Servlets-4a. I'll open up a new thread for that question.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java package statement for JSP?
 
Similar Threads
how to use java class in jsp or servlet
Retro import
Unable to import the java file into the JSP file.
Where to place the Bean package in J2EE server
JSPs and package statements