CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge Studio -> Java

 Common functions for all pages

Print topic Send  topic

Author Message

Posts: 51
Posted: 03/25/2009, 9:27 AM


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,
View profile  Send private message

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.
View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.