Results 1 to 4 of 4
  1. #1
    an24 is offline Member
    Join Date
    Nov 2009
    Location
    Russia
    Posts
    9
    Rep Power
    0

    Default 2 test questions on JSP.

    Please, can you help me with this two test-questions.

    1. JSP supports which of the following platforms?
    A) Windows NT
    B) Linux
    C) Java environment
    D) All

    2. A certain JSP file written for Linux platform, compiled on Win NT and moved on the Sun Solaris Platform. Which of these statements are true?
    A) Jsp file can not be compiled on the Win NT.
    B) Jsp does not support Win NT platform.
    C) Jsp file can not be run on the Sun Solaris Platform.
    D) None of the above.

  2. #2
    rebal is offline Member
    Join Date
    Dec 2009
    Posts
    1
    Rep Power
    0

    Default

    hi
    i think the answers for number one question is d) all
    and the question number 2 is d) none of above
    i don't clam that is the right answers but i think so
    you can make sure from another member if the others want to help us

  3. #3
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Location
    Canada
    Posts
    684
    Rep Power
    6

    Default

    I would think question 1 the answer is C), as although [tomcat, jetty, servlet container with a JSP compiler servlet] does run on Windows and Linux, it is not limited to these platforms, and to date there is no "Java" server pages implementation outside of the Java virtual machine runtime environment.

    I am not sure of wording, but I would think A) for question 2, because the truth, is a file can not be compiled on the Win NT, it is compiled in a JSP servlet, in a servlet container, in a Java runtime. ; b and c are false because within the container JSP is supported on the platform.

  4. #4
    Join Date
    Apr 2009
    Posts
    9
    Rep Power
    0

    Default

    The first question sounds incorrect to me - It should read "which platform supports JSP" since JSP is not a platform and really does not support anything.

    The second question is also incorrect - since there is no such thing as writing a JSP for Linux platform (you could probably write a Java Desktop application for a specific platform, but not a JSP). JSP are written to run on web-servers and in reality have usually no dependency on the operating system.

Similar Threads

  1. *TEST* --ignore this--
    By angryboy in forum Reviews / Advertising
    Replies: 5
    Last Post: 05-01-2009, 09:15 AM
  2. Test - please delete
    By Fubarable in forum Forum Lobby
    Replies: 7
    Last Post: 04-25-2009, 09:08 PM
  3. Some Questions - from old test papers 100 level
    By Julie in forum New To Java
    Replies: 5
    Last Post: 09-03-2008, 07:20 AM
  4. Replies: 0
    Last Post: 04-05-2008, 01:38 AM
  5. Palindrome Test
    By Ada in forum New To Java
    Replies: 1
    Last Post: 05-26-2007, 02:36 PM

Posting Permissions

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