Bad Java Code compiling using jasper


Web tier: servlets, JSP, Web frameworks: Bad Java Code compiling using jasper

  1. Bad Java Code compiling using jasper (5 messages)

    I'm compiling JSPs using Ant and Jasper.
    The task was made using the Ant manual. The execution is succesfull but the generated code can´t compile in Java.
    For example, i got this:

    import omega.util.*;
    import ;
    import omega.sgt.*;
    import ;

    So i can´t compile because the import doesn't import anything.
    Any suggestion?

  2. What do your <%@ page import %>s look like?
  3. It looks like this:

    <%@ page contentType="text/html"%>
    <%@page import="omega.pc.UsuarioBanco
  4. You have double commas between #s 4,5 and 6.
  5. Thanks i'll fix it.
    But i use Jdeveloper as IDE and i compile and execute without problems. There's something wrong with JDeveloper.
    Thanks again.
  6. jasper .........
    some times
    if your codes is not canonical
    you will gain wrong compiling ................