1. Printing a java scriptlet variable as if it is a JavaScript variable stackoverflow.comhello i need to output a java variable inside a javascript call inside a tag inside a jsp ! for example:
the ... |
2. What is the exact difference between the scriptlet tags <%= some code %> and <# some code %>? stackoverflow.comWhat is the exact difference between the scriptlet tags |
3. getRealPath() in jsp custom tag file using EL or scriptlet code stackoverflow.comI'm trying to access the servlet path from a tag file like so;
However it complains it cannot find the symbol;
string:///xxxxx:89: cannot find symbol
symbol : ... |
4. Scriptlet variable doesn't get evaluated inside an attribute of a custom JSP tag stackoverflow.comI am trying to have a JavaScript function called when I click a link. This JavaScript function is definied in an attribute of a JSP tag and I am trying to ... |
5. JSP tags + scriptlet. How to enable scriptlet? stackoverflow.comI have a page which uses a tag template.
My web.xml is very basic.
I simply want to run some code in the page. |
6. scriptlet VS Tag in JSP coderanch.comThe only real difference is in the time it needs to compile. Scriptlets are added to the generated Java source verbatim, while tags need to be parsed to generate the method calls (and potentially object instantiations) they represent. At runtime the difference is probably trivial. The only real difference is that using scriptlets you're able to get more code into your ... |
7. Using Custom tags inside HTML or Scriptlet coderanch.comOverlooking the fact that custom tags reduce the need for scriptlets in a JSP, is there a way to use invoke a custom tag inside a scriptlet or within a HTML tag? for eg/. if I have a custom tag handler that prints out a static url, would it be possible to invoke that tag inside lets say a HTML |
8. Display tags and Jsp Scriptlet coderanch.com |
9. The different/limitations between declaration and scriptlet tags coderanch.com |
10. converting scriptlet code into custom tag coderanch.comHi pls.. let me know how to convert the below jsp code in to custom tag handler ------------- <%@ page import = "aab.woca.ggca.gui.*"%> <%--@ page import = "com.abnamro.woca.adc.gui.*"--%> <%! // Global constants public static final int NUM_STEPS = 5;// includes the "finish" step public static final int WELCOME = 0; // Auxiliary functions public static String disable(int curr, int limit){ return ... |
11. JSP declaration tag and Scriptlet tag coderanch.comHello anoop well in code 1, if you open multiple browser windows, then in that case value will hold the latest value .. for example suppose you declare value as <%! int value=0 ; %> and in your code suppose you do <% value=value+1;%> then when you open one browser value you will get the value of the variable "value" as ... |
12. is there a way to call tags from within JSP scriptlet methods? coderanch.com |
13. |
14. Is it possible to put a scriptlet inside the href attribute of a tag? coderanch.com |
15. How to get to the custom tags on a page from a scriptlet? coderanch.com |
16. Between declaration tag and scriptlet which one is threadsafe? coderanch.com |