tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gustavo Nestares" <>
Subject Transalating & Compiling JSP: Name conflicts
Date Tue, 04 Feb 2003 15:38:07 GMT
    I'm trying to pre-compile my jsp pages of my web app in order to be free
of statics errors (those erros that can be catched in compilation face). I
have no problem adding a task to ANT for the transalting face, the problem
emerge when i want to compile my   "". In my web app i have two
folder with a page named "index.jsp" in each one. Both pages are translated
to diferent foldes in the "work" directory with names "", both
belonging to the same package!!!
    When i want to compile this, the following errors arises:

duplicate class: org.apache.jsp.index_jsp
public class index_jsp extends HttpJspBase {
duplicate class: org.apache.jsp.index_jsp
public class index_jsp extends HttpJspBase {



pd: here is part of my ant script:

<target name="translate-jsp" >
    <delete dir="${work}"/>
    <mkdir dir="${work}"/>
    <jspc srcdir="${context}"  destdir="${work}"  verbose="9"
uriroot="${context}" >
        <classpath refid="tomcat-classpath"/>
        <include name="**/*.jsp" />

<target name="compile-jsp" >
    <javac srcdir="${work}"  source="1.4" debug="${compile.debug}"
        <classpath refid="fwic-classpath" />
        <classpath refid="tomcat-classpath"/>

Ahora podés usar Yahoo! Messenger desde tu celular. Aprendé cómo hacerlo en Yahoo! Móvil:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message