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
Register / Login


JavaRanch » Java Forums » This Site » Cattle Drive
Reply 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: 56554
    
  14

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Java package statement for JSP?
 
Similar Threads
Where to place the Bean package in J2EE server
JSPs and package statements
Retro import
how to use java class in jsp or servlet
Unable to import the java file into the JSP file.