on 03-16-2007 9:44 AM
I am new to SAP, while creating jsps in SAP NWDS scriptlet tags are not working so what ever is written inside out.println is not getting printed.
Hi Ashima,
Please also verify that the J2EE engine is working fine and you have included all the required packages within the application.
If all this is fine then the only problem could be in the configuration files i.e. web.xml or config.xml or deployment procedure you have followed.
Regards,
Prashil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashima,
I didn't said that using scriptlet is wrong but we should avoid using it processing any logic.
For displaying data you can definitely use scriptlet.
Anyways please post your code to analyse what exactly the problem with the code.
Regards,
Prashil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashima,
Ideally it has been suggested that we should avoid using scriptlet, instead use bean object.
Anyways try to replace your out.println(".........."+xxx); with "...........<%=xxx%>
Do remember that the suggested expression is written outside the scriptlet. i.e. <%.......................%>
Hope this'll work.
If this doesn't work then there must be problem with you JSP code. Please submit your code.
Regards,
Prashil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.