Hi,

According to the JSP docs on Sun website, one can use <jsp:include
page=�/includes.txt� /> to include static content, such as methods that will
be reused from different components of the webapp. I wanted to share a
�securityCheck� method to reuse from each single places where security was
required. I did place my code in a includes.txt that I tried to load from a
couple of JSP pages. However even when placing the jsp include tag, nothing
seems to be done since whenever I try to call securityCheck I get a method
not found error... Is the include directive not supposed to work that way?
How can I achieve this?

Sincerely, Frederick

PS: I tried to misspell the resource URL but the compiler did not notice
anything...


---------------------------------------------------------------
  ("`-''-/").___..--''"`-._
   `6_ 6  )   `-.  (     ).`-.__.`)       Frederick Aubert
   (_Y_.)'  ._   )  `._ `. ``-..-'
 _..`--'_..-_/  /--'_.' ,'                [EMAIL PROTECTED]
(il),-''  (li),'  ((!.-'
--------------------------------------------------------------- 

Reply via email to