[jboss-user] [jBPM] - Java code called by a jsp:include is not processed in an .ftl page

Feki Ahmed do-not-reply at jboss.com
Thu Sep 6 06:04:07 EDT 2012


Feki Ahmed [https://community.jboss.org/people/bardelman] created the discussion

"Java code called by a jsp:include is not processed in an .ftl page"

To view the discussion, visit: https://community.jboss.org/message/758262#758262

--------------------------------------------------------------
hi, 
i ve this tag : 


| *Quote:* |
| <jsp:include page="<%=(String)request.getAttribute(\"pagetoreq\")%>" />  |

and i got the html of the requested page which is the following : 

| *Quote:* |
| <form name="taskForm" action="TaskProcessServlet"> <br> 
<%=request.getAttribute(\"user\") %> 
<input type="hidden" name="user" value="<%=request.getAttribute(\"user\") %>" /> <br> 
<input type="hidden" name="taskId" value="<%=request.getAttribute(\"taskId\") %>" /> <br> 
<%=request.getAttribute("taskId") %> 
<input type="hidden" name="taskStatus" value="<%=request.getAttribute(\"taskStatus\") %>" /> 
<%=request.getAttribute(\"taskStatus\") %> 
Priority: <input name="priority" value="<%=process.getVariable(\"priority\") %>" /> <br> 
Model Number: <input name="modelNumber" value="<%=process.getVariable(\"modelNumber\") %>" /> <br> 
Quantity ( 1 to 1000): <input name="quantity" value="<%=process.getVariable(\"quantity\") %>" /> 
<input type="submit" value="Submit" name="action" /> <br> </form> |


but the problem is that the java code on it isn t processed so i got this at the end : 

| *Quote:* |
| <%=request.getAttribute(\"user\") %> " /> 
" /> 
<%=request.getAttribute("taskId") %> " /> <%=request.getAttribute(\"taskStatus\") %> Priority: " /> 
Model Number: " /> 
Quantity ( 1 to 1000): " /> |


how to make the java code in the called page being processed ? thnx for help !!!
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/758262#758262]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120906/95a30b50/attachment-0001.html 


More information about the jboss-user mailing list