Hi All,
I am calling a static method in a jsp file like so :
<%=Utils.getTotal(val1,val
2)%>;
public static String getTotal(int val1, int val2){
}
My getTotal method just calclulates a percentage value based on val1 and val2, it does'nt use any instance variables, just its own method variables to complete the calculation. As this method is in a web application and will be accessed by multiple user threads am I save in not declaring the method as synchronized ?
Thanks
Start Free Trial