Prepare for your Next Interview
This is a discussion on Use JSP implicit object with Java script within the JSP forums, part of the Web Development category; Hello, greetings, can we use JSP implicit object with java script method like"request.getElementById("")". And if we can use this then what will be return ...
|
|||
|
Use JSP implicit object with Java script
Hello,
greetings, can we use JSP implicit object with java script method like"request.getElementById("")". And if we can use this then what will be return type of this line of codeing. And one more thing can we use this in side JSP page. Help me please, Thanks. Warm Regards Ashish |
| Sponsored Links |
|
|||
|
hi,
You can definitely use this inside jsp. Example: <script language="javascript"> function abc(){ var pqr= document.getElementById("firstName").value; } </script> hope this will help. |
|
|||
|
Re: Use JSP implicit object with Java script
if jsp implicit oject that ur speaking is so what like this request.getAttribute("name") then javascript u can call it as expr..
<% String name_scriplet = (String)request.getAttribute("name"); %> <script> var name ="<%= name_scriplet%>"; </script> |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to create an activeX object in VB Script? | chennaprashanth | QTP | 1 | 03-17-2008 02:05 AM |
| Is null an object in java ? | sudeep.batra | Java | 2 | 11-30-2007 01:31 AM |
| Where can we use exactly exception implicit object | naggeek | JSP | 1 | 08-31-2007 01:26 AM |
| While testing an object what type of script is generated? | Geek_Guest | QTP | 0 | 06-20-2007 02:41 AM |