File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50691

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.
 
 
subject: Java package statement for JSP?
 
Threads others viewed
Where to place the Bean package in J2EE server
Retro import
JSPs and package statements
Unable to import the java file into the JSP file.
how to use java class in jsp or servlet
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture