cancel
Showing results for 
Search instead for 
Did you mean: 

How to Debug JSP in NWDS ?

Former Member
0 Kudos

Hi ,

can we debug JSP file in NWDS ?

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

Regards,

Vipin

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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 ?