Problem compiling JSP in Tomcat

2002-09-19 Thread Giancarlo Gallardo

Hi guys!
I was working developing an intranet application using JDeveloper 9.0.2,
everything worked fine at testing (It works with the OC4J application
server). Now I've tried to move the app to Tomcat 4 and everything goes
absolutely wrong! Servlets work fine, but JSP's don't! They can't even
compile!
I have no clue about it.  Now, I'm trying to compile the JSP's on Forte4j
(CE 4 but using JDK 1.3.1, and an internal Tomcat server) and I get this
error:

JSP/Administracion/MisProyectos.jsp [-1:-1]
Errors compiling MisProyectos.


How is possible to get a position -1:-1 for an error?
Here is the header of MisProyectos.jsp

<%@ page contentType="text/html"
import="org.dai.infogeneral.databean.*,java.util.*,java.net.*,org.dai.comun.
*" %>
<%@ taglib uri="/WEB-INF/webdai.tld" prefix="webdai"%>

when I get out the taglib (line 2), It compiles, but It's useless without
the tags!!!(obviously tags inside don't work)
My Web.xml file is alright I think, just like the webdai.tld so I'm in
really big problems!!! Any help please!

web.xml (reduced!)


http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>

  
administracion

org.dai.administracion.accion.Administracion
10
  
  
30
  
  
index.jsp
  
  
/WEB-INF/webdai.tld
/WEB-INF/webdai.tld
  


and my webdai.tld (reduced also)


http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd";>

1.0
1.2
webdai
/WEB-INF/webdai.tld
webdai
webdai taglib
   
  errores
org.dai.comun.tags.TagErrores
EMPTY
Maneja los errores capturados
   




thanks in advance!!!

regards
gianca



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




Re: Problem compiling JSP in Tomcat

2002-09-20 Thread Giancarlo Gallardo

Thanks John!

I found my problem... It was an space before closing a tag when using a JSP
Taglib!


.
 (something)

  <--- Here was the error! The blank before closing
the tag! JDeveloper runtime compiler works fine, but Tomcat doesn't!.

Anyway... It's a dummy thing, jeje.

Thanks again!

regards,
gianca




- Original Message -
From: "Turner, John" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Friday, September 20, 2002 6:59 AM
Subject: RE: Problem compiling JSP in Tomcat


>
> There is a specific process to use when an app is developed with OC4J and
> then moved to Tomcat.  Developing with OC4J is not transparently portable
to
> Tomcat.
>
> Check the Oracle JDeveloper site for the documentation on what to do when
> you want to deploy an app developed within JDeveloper/OC4J to
Tomcat...it's
> there, but I don't have the URL bookmarked.
>
> This may or may not resolve your errors, but I can tell you that it will
be
> easier to debug your errors if you verify first that you've followed
> Oracle's recommended steps for deploying to Tomcat.
>
> John
>
>
> > -Original Message-
> > From: Giancarlo Gallardo [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 19, 2002 6:16 PM
> > To: [EMAIL PROTECTED]
> > Subject: Problem compiling JSP in Tomcat
> > Importance: High
> >
> >
> > Hi guys!
> > I was working developing an intranet application using
> > JDeveloper 9.0.2,
> > everything worked fine at testing (It works with the OC4J application
> > server). Now I've tried to move the app to Tomcat 4 and
> > everything goes
> > absolutely wrong! Servlets work fine, but JSP's don't!
> > They can't even
> > compile!
> > I have no clue about it.  Now, I'm trying to compile the
> > JSP's on Forte4j
> > (CE 4 but using JDK 1.3.1, and an internal Tomcat server) and
> > I get this
> > error:
> >
> > JSP/Administracion/MisProyectos.jsp [-1:-1]
> > Errors compiling MisProyectos.
> >
> >
> > How is possible to get a position -1:-1 for an error?
> > Here is the header of MisProyectos.jsp
> >
> > <%@ page contentType="text/html"
> > import="org.dai.infogeneral.databean.*,java.util.*,java.net.*,
> > org.dai.comun.
> > *" %>
> > <%@ taglib uri="/WEB-INF/webdai.tld" prefix="webdai"%>
> >
> > when I get out the taglib (line 2), It compiles, but It's
> > useless without
> > the tags!!!(obviously tags inside don't work)
> > My Web.xml file is alright I think, just like the webdai.tld so I'm in
> > really big problems!!! Any help please!
> >
> > web.xml (reduced!)
> >
> > 
> >  > Application
> > 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
> > 
> >   
> > administracion
> >
> > org.dai.administracion.accion.Administracion > ervlet-class>
> > 10
> >   
> >   
> > 30
> >   
> >   
> > index.jsp
> >   
> >   
> > /WEB-INF/webdai.tld
> > /WEB-INF/webdai.tld
> >   
> > 
> >
> > and my webdai.tld (reduced also)
> >
> > 
> >  > PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag
> > Library 1.2//EN"
> > "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd";>
> > 
> > 1.0
> > 1.2
> > webdai
> > /WEB-INF/webdai.tld
> > webdai
> > webdai taglib
> >
> >   errores
> > org.dai.comun.tags.TagErrores
> > EMPTY
> > Maneja los errores capturados
> >
> > 
> >
> >
> >
> > thanks in advance!!!
> >
> > regards
> > gianca
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>