This discussion is archived
3 Replies Latest reply: Feb 13, 2011 3:47 PM by EJP RSS

compile JSP question

809036 Newbie
Currently Being Moderated
I would like to ask about how to compile jsp and what file will be generated after compiled JSP file
any one give me simple example??
  • 1. Re: compile JSP question
    EJP Guru
    Currently Being Moderated
    Your IDE can probably compile a JSP but in any case so will your JSP container, on demand. A JSP compiles to a .class file.
  • 2. Re: compile JSP question
    809036 Newbie
    Currently Being Moderated
    you mean IDE will compile the jsp when i run the project?
    if i want to complie a jsp and then i just copy the class file to another place is OK, no need jsp file?

    Edited by: 806033 on 2011年2月12日 上午5:03
  • 3. Re: compile JSP question
    EJP Guru
    Currently Being Moderated
    you mean IDE will compile the jsp when i run the project?
    I said 'can probably'. What's hard to understand about that? I don't know what IDE you are using so I cannot possibly be more specific.
    if i want to complie a jsp and then i just copy the class file to another place is OK, no need jsp file?
    Of course.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points