File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

urgent..problem with tomcat4.0

 
seshu
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic