zolw
Posts: 51
|
Posted: 03/25/2009, 9:27 AM |
|
Hi,
I have developed many applications with CCS using ASP, ASP.NET and PHP but I am new with Java.
I need to understand where is the best place to add functions that can be executed or called in every page like to validate dynamic permissions.
With ASP I insert the functions in the common.asp file and I can call it from everywhere, but with Java I can't have a Class into another Class so I get errors when trying to do this.
Any help about this?
How can I add functions like calling data from a database to check permissions so they are executed in every page?
Thanks in advance,
_________________
Zolw
http://www.xlso.com |
|
|
javadeveloper
Posts: 3
|
Posted: 03/25/2009, 10:38 AM |
|
You should create a java package with all your code, and then import that package where you want to use it.
|
|
|
|