[Building Sakai] I want to develop a new SAKAI 2.7.0 tool with JSF or JSP technology

Khan vupk at yahoo.com
Tue Oct 18 22:24:56 PDT 2011


Thank you Aaron!
 
I created a class "Employee" inside package "Sprang.Staff"
 
 but I unable to instantiate object of Employee class.
 
 
 path where I placed Employee class is
az_helloworld_jsp/src/main/webapp/WEB-INF/Sprang/Staff/Employee.java
 
I imported packege using directive
<%@ pageimport="Sprang.Staff"%>
 
Following is error
 org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: Unable to compile class for JSP:  An error occurred at line: 37 in the jsp file: /jTest.jsp Employee cannot be resolved to a type 
33: 	/////////////////////////////////////////////////////////////////////////////////////////
34: 	
35: 	Sprang.Staff.Employee obj = new Sprang.Staff.Employee();
36: 37:     Employee obj1 = Employee(); 38: 	/////////////////////////////////////////////////////////////////////////////////////////org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: Unable to compile class for JSP:  An error occurred at line: 35 in the jsp file: /jTest.jsp Sprang.Staff.Employee cannot be resolved to a type 
33: 	/////////////////////////////////////////////////////////////////////////////////////////
34: 35: 	Sprang.Staff.Employee obj = new Sprang.Staff.Employee(); 36: 
37:     Employee obj1 = Employee();
38: 	///////////////////////////////////////////////////////////////////////////////////////// 
 


________________________________
From: Aaron Zeckoski <azeckoski at unicon.net>
To: Khan <vupk at yahoo.com>
Cc: "sakai-dev at collab.sakaiproject.org" <sakai-dev at collab.sakaiproject.org>; "cafe at collab.sakaiproject.org" <cafe at collab.sakaiproject.org>
Sent: Tuesday, October 18, 2011 4:17 PM
Subject: Re: [Building Sakai] I want to develop a new SAKAI 2.7.0 tool with JSF or JSP technology

I very very simple example using JSP is here (hello world):
https://source.sakaiproject.org/contrib/programmerscafe/trunk/samples/helloWorldUser/

Here is a slightly more complex example with multiple pages and database access.
https://source.sakaiproject.org/contrib/programmerscafe/trunk/samples/JspCrudJdbcExercise/

There are bunches of examples of other JSP tools in the code and in
general, most if not all JSF tools use jsp files. You can find more
complex examples that use things like spring mvc + jsp in the contrib
area. Here is one:
https://source.sakaiproject.org/svn/msub/unicon.net/kaltura/trunk/

Good luck!
-AZ


On Tue, Oct 18, 2011 at 4:30 AM, Khan <vupk at yahoo.com> wrote:
> Dear All
>
> I am beginner to sakai tool development.
>
> I want to develop a new SAKAI 2.7.0  tool.
>
> For tool development I want to use JSF or JSP technologies and not RSF or
> WICKET.
>
> Please any one show me IDE and simple way to start with it.
>
> I will be thankfull.
>
> Regards
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
> with a subject of "unsubscribe"
>



-- 
Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111018/6752bba3/attachment.html 


More information about the sakai-dev mailing list