Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > jsp:include is not allowing me write scriptlet between <jsp:param> tags

Reply
Thread Tools

jsp:include is not allowing me write scriptlet between <jsp:param> tags

 
 
ramakrishna
Guest
Posts: n/a
 
      05-04-2006
Hi,
Please help me in this issue.
Iam including EntitlementControl.jsp in main.jsp using jsp:include
Iam adding params based on certain condition. but it does not allow me

to add java code in between jsparams
can i add condtion in jsp:include


this is my javacode


<jsp:include page="EntitlementControl.jsp">
<jsparam name="controlName"
value='<%=sTest%>'/>


<%if(bReadonly) { %> // error here it
is not allowing me a any scriplet.
<jsparam name="readonly"
value="true"/>
<%}%>
</jsp:include>


tomcat is not allowing me scriplet in <jsp:include tag>

it is showing error at "<%if(bReadonly) { %> "

i had run the same code in jrun application server its work nice.

question: is it java specification or not?
if yes, why is it not working?
if no, what do i do to run in tomcat server?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Droplist calling scriptlet/beans unlikeablePorpoise@gmail.com Java 1 03-20-2007 02:11 PM
Common file which contains scriptlet code... gautam.chavan@gmail.com Java 1 05-15-2006 10:58 AM
Questions: No PHP, but SSI and Scriptlet Hats HTML 3 06-20-2005 12:01 PM
Share vars between scriptlet and jstl? Robert Mark Bram Java 1 03-20-2005 08:38 PM
Tag's handler class bsf.scriptlet not found in classpath - help Phil Powell Java 0 11-21-2003 02:33 PM



Advertisments