• Post Reply Bookmark Topic Watch Topic
  • New Topic

Global page imports?  RSS feed

 
Mike Himstead
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

as far as I know it needs a page directive to make a Java type usable within a JSP, like



This directive has to be on every single JSP. Is there something like a global import? I'm new to a project consisting of a web project maintained and developed with RAD 6.0 and WAS. I'm puzzled by a lot of "can't find type" (I only have a German error message) errors on most of the JSPs, and I don't see an import on all of them, so I figured there must be something else.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my signature, there is a link to the JSP spec.
Look at section JSP.3.3.5.
It covers 'Defining Implicit Includes'.
I think you can do what you're looking to do with a prelude.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!