Content Services (ECM)
Process Services (BPM)
Application Development Framework
Digital Business Platform
Announcements & Opportunities
Alfresco Ambassador Program
Alfresco Content Services (ECM)
to create and rate content, and to follow, bookmark, and share content with other members. Not a member?
Can we calling a class from a JSP generated in web forms??
Question asked by
on Nov 15, 2008
on Nov 15, 2008 by mrogers
Show 0 Likes
I have genetated a jsp from which i am calling a class. Where should i put the class file and how can i call it from my generated jsp????? :?:
No one else has this question
Mark as assumed answered
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Nov 15, 2008 5:03 PM
The class needs to go onto the classpath of your application server.
There are a few ways to call a Java class from a JSP but the simplest is to add scriptlets to the JSP page which are java code contained within <% %> characters. e.g. <%= new java.util.Date() %>.
You can also define a bean with <jsp:useBean>. A third way is to define a jsp tag. And the fourth way is through some sort of action controler framework like jsf or struts. Just google for "jsp basics" to get some more detail.
Show 0 Likes
Retrieving data ...
Deploying and Running Alfresco Content Services 6.0
Workflow not completed, if we are using Service task with parallel Gateway.
alfresco coomunity and activiti integration
ADF 2.0.0 Release Note
v1 REST API - Part 3 - Creating Nodes