Hi, Gurus,
I am trying to move from Jserv to Tomcat. The problems is:
I have several lines in my JSP code like this:
--------------------------------------------------------------
<%@ page language="java" import="java.math.BigDecimal" %>
<%@ page language="java" import="java.io.*" %>
<%@ page language="java" import="java.net.*" %>
--------------------------------------------------------------
It worked well in Jserv, but Tomcat 3.1 refuse to compile this lines.

After I changed it to be
--------------------------------------------------------------
<%@ page import="java.math.BigDecimal" %>
<%@ page import="java.io.*" %>
<%@ page import="java.net.*" %>
--------------------------------------------------------------
It worked on Tomcat.

Is there any way to get around it instead of changing the code?
I have a lot of JSP pages. It's hard to change all of them ( although it

can be done by scripts).

Chris

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to