aspose file tools*
The moose likes Tomcat and the fly likes urgent..problem with tomcat4.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "urgent..problem with tomcat4.0" Watch "urgent..problem with tomcat4.0" New topic
Author

urgent..problem with tomcat4.0

seshu
Greenhorn

Joined: Mar 18, 2002
Posts: 3
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..

thx.
Vikas Varma
Greenhorn

Joined: Aug 21, 2002
Posts: 23
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
 
Don't get me started about those stupid light bulbs.
 
subject: urgent..problem with tomcat4.0