Nishar, First, I would make use of JspPortlet rather than create a portlet class (unless you have any special reasons to do so).
Second, you may use the following tag in your action (assuming thatTest2.jsp is located on the template search path): <jetspeed:link template="Test2.jsp" /> Hope this helps. Best regards, Mark C. Orciuch Next Generation Solutions, Ltd. e-Mail: [EMAIL PROTECTED] web: http://www.ngsltd.com > -----Original Message----- > From: Aliyar, Nishar [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 03, 2002 7:44 AM > To: Jetspeed Users List > Subject: Problem with Portlet and JSP > > > > Hai All, > I got a problem with Portlet and JSP. I wrote a Portlet which > disply a jsp like this > > public ConcreteElement getContent(RunData data){ > > try{ > > return (new > EcsServletElement(data,"WEB-INF/my-jsp/CreateLdapRoleGuiJsp.jsp")); > } > catch(Exception ee){ > > ee.printStackTrace(); > } > } > > okai portlet is abple to disply CreateLdapRoleGuiJsp.jsp and my > CreateLdapRoleGuiJsp.jsp is like : > > <form method="post" action="Test2.jsp"> > <p>Enter The LDAP Role : > <input type="text" name="name"> > <p> > <input type="submit" value="Create Role"> > </form> > > but when click the button it won't go to Test2.jsp , I placed the > Test2.jsp with the > CreateLdapRoleGuiJsp.jsp (I mean in the same folder) > whats wrong here dears, > > Greetings, > Nishar. > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
