hi..all.. here iam working on tomcat 4.0 as webcontainer and weblogic 6.1 as ejb container. ok...when iam trying to run my jsp's in tomcat if iam not importing java.util in my jsp (if my code is having util related stuff like data and string tokenizers)it's throwing java.lang.numberformatexception:c but in weblogic no need to import java.util ,it's default imported package in weblogic. why liek this?already my code was written on the basis of weblogic,so pl suggest me on this.if not again i have to import java.util in each and every page.it'll be bit risky.so pl suggest me on this..
posted 13 years ago
Hi Seshu, Isnt it easy to add this line in the top your jsp files? <%@ page import="java.util.*, java.lang.*" %> I agree it would be a major change (is it risky?). Again if you move to some other webcontainer, you dont have to change anything. --Vikas