> Hi friends,
> 
>       I am trying to create a simple application with portlet and JSF on 
> Jetspeed. I have my portlet.xml and faces-config.xml configured properly. I 
> have defined my portlets in portlet.xml and in web.xml I have configured 
> FacesServlet and mapped it to the url-pattern *.htm.
> 
>       In the portlet's doView method, I forward my request to the 
> corresponding jsp file like
>       PortletRequestDispatcher portletDispatcher = 
> getPortletContext().getRequestDispatcher("/jsp/UserLogin.jsp");
>       portletDispatcher.include(request, response);
> 
>       And in the UserLogin.jsp file, I have the tag to load properties file 
> like
>       <f:loadBundle var="Messages" basename="portlet.jsf.bundle.Messages" />, 
> it has Messages.properties file in the correct path.
> 
>       Then when I try to call the portlet, its give me exception as
>       java.lang.NullPointerException
>       at 
> com.sun.faces.taglib.jsf_core.LoadBundleTag.doStartTag(LoadBundleTag.java:96)
>       at 
> org.apache.jsp.jsp.UserLogin_jsp._jspx_meth_f_loadBundle_0(org.apache.jsp.jsp.UserLogin_jsp:133)
>       at 
> org.apache.jsp.jsp.UserLogin_jsp._jspService(org.apache.jsp.jsp.UserLogin_jsp:91)
>       
>       I have tried different ways to resolve it, but nothing worked. Does 
> anyone have any idea whats going wrong here?        Please help me. 
> 
> Thanks and Regards,
> Anish..
>       


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to