Results 1 to 4 of 4

Thread: JSP redistribution

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2001
    Location
    Yewston, Texis
    Posts
    240

    JSP redistribution

    We have developed a product that uses JSP. Right now, we ship it with JDK1.3. I was looking at the Sun License agreement and it says that it prohibits bundling the JDK with any other product, Oops! So if our customers want it, they've got to get it themselves.

    However, Sun *does* allow you to bundle in their JRE.

    Question: If I create an installation that bundles only the JRE, will JSP work? The reason I suspect that JSP might not work is because JSP's are compiled and therefore would need the JDK. Anybody have any ideas?

    thx

    cudabean

  2. #2
    Hyperactive Member CaptainPinko's Avatar
    Join Date
    Jan 2001
    Location
    London, Ontario, Canada
    Posts
    332

    Re: JSP redistribution

    Originally posted by Cudabean
    The reason I suspect that JSP might not work is because JSP's are compiled and therefore would need the JDK
    if something is already compiled why would it need the JDK? the JRE is like the JDK minus the stuff for compiling so why would you need anything else?
    "There are only two things that are infinite. The universe and human stupidity... and the universe I'm not sure about." - Einstein

    If you are programming in Java use www.NetBeans.org

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2001
    Location
    Yewston, Texis
    Posts
    240
    Thanks for the response. I stated that wrong. What I should have said is:

    The reason I suspect that JSP might not work is because JSP's are compiled on the fly after every change and therefore would need the JDK

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Nov 2001
    Location
    Yewston, Texis
    Posts
    240
    I think I've resolved this. If you don't anticipate any of your jsp's changing, you can precompile them before distributing using a program called jspc.

    cudabean

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width