Results 1 to 4 of 4
  1. #1
    praveena is offline Member
    Join Date
    Jan 2008
    Posts
    8
    Rep Power
    0

    Default help with jsp page

    hi evryone !!

    I'm having problems with my jsp page..
    when i use the comment tag nested inside another tag , it closes the upper tag and reports
    jasper exception..

    <%! some declarations here..
    <%-- this comment closes the declarative tsg --%>
    %>//this is not seen

    any help ?

  2. #2
    Nagesh M is offline Member
    Join Date
    Feb 2008
    Posts
    1
    Rep Power
    0

    Default

    Hi This Is A Simple Solution If u want Double Comments do like this and try

    <!-- Your Declarations
    <&#37;-- Your Comments --%>
    -->

    By Nagesh M

  3. #3
    praveena is offline Member
    Join Date
    Jan 2008
    Posts
    8
    Rep Power
    0

    Default

    i need to have comments in between my coding
    ie. inside my defnitions
    eg:
    <%! String hello(){

    return"hello evry1";
    }
    <%-- this returns the message --%>

    %>

    am getting exceptions since --%> is interpreted as closing tag for <%!

  4. #4
    gibsonsydsa is offline Member
    Join Date
    Feb 2008
    Location
    South Africa
    Posts
    9
    Rep Power
    0

Similar Threads

  1. Need help with a web page
    By mspiro in forum New To Java
    Replies: 0
    Last Post: 12-26-2007, 07:58 PM
  2. Page Timer
    By deeadeed in forum New To Java
    Replies: 0
    Last Post: 12-05-2007, 09:44 PM
  3. how to print more than one page
    By elizabeth in forum New To Java
    Replies: 1
    Last Post: 07-25-2007, 01:51 PM
  4. How to run jsp page
    By nikisonproblem in forum New To Java
    Replies: 1
    Last Post: 07-09-2007, 04:16 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
  •