Skip to Content
avatar image
Former Member

How to Debug JSP in NWDS ?

Hi ,

can we debug JSP file in NWDS ?

I tried debugging MAM application , but it never reaches JSP Page.

Regards,

Vipin

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 24, 2006 at 09:26 AM

    Hi Vipin,

    It is not possible to debug JSP file in NWDS as far as i know.

    One more question is what made you to debug JSP because JSP's are used only for display purposes and it contains no business logic. So check in java files before control reaches the jsp files.

    Regards,

    Siva.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Siva,

      Yes, JSP are always used for display purposes as we know.

      But, there are some variables, scriplets , being used in MAM Code.

      For e.g :

      <%

      String allOrderURL = helper.eventURL("onOrderList", "orderListType", "ALL_ORDERS");

      String localOrderLURL = helper.eventURL("onOrderList", "orderListType", "LOCAL_ORDERS" );

      String allOperationURL = helper.eventURL("onAllOperationList");

      %>

      So just get the value of the above variable.

      We cant debug it.

      But, what if i use System.ou.println ( allOrderURL ) in the sciplet above in MAM Code .

      In which Log file , this information would be stored?

      where would be the location of this Log File ?

  • avatar image
    Former Member
    Aug 25, 2006 at 09:48 AM

    Hi Vipin,

    If you write System.out.println() statements then the result of that would be displayed on startup console of NWDS.

    If you want to check without using NWDS, you can check this by instead of starting MI client directly use startup.bat of MI and start the MI client so that any results of System.out.println() can be viewed on the startup.bat console.

    Hope this answers your questions.

    Regards,

    Siva.

    Message was edited by: Siva Rama Krishna J

    Add comment
    10|10000 characters needed characters exceeded