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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to