on 08-23-2006 8:08 PM
Hi ,
can we debug JSP file in NWDS ?
I tried debugging MAM application , but it never reaches JSP Page.
Regards,
Vipin
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ?
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.