"[EMAIL PROTECTED]" wrote : So you have an empty window on the portal page, 
with an error message ?
  | 
  | How did you create the window ?

This is the code of my HelloWorld.java 

package source;
import javax.portlet.*;
import java.io.*;

public class  HelloWorld extends GenericPortlet{
  protected void doView(RenderRequest request,
  RenderResponse response) throws
  PortletException, IOException {
        response.setContentType("text/html");
        response.getWriter().println("Hello Portlet");
        }
}


and rest is my Portlet.xml has following code


  HelloWorldDescription
        
    <portlet-name>hello
        </portlet-name>
    <display-name>hello
        </display-name>

    <portlet-class>classes.source.HelloWorld
        </portlet-class>
    <!--<expiration-cache></expiration-cache>-->
        
          <mime-type>text/html</mime-type>
      <portlet-mode>VIEW
          </portlet-mode>
        
    <supported-locale>en
        </supported-locale>

        <portlet-info>
          Hello World
          <short-title>Hello World
          </short-title>
          Hello,pluto
      </portlet-info>


This is the only thing i have 
tell me one thing to deploy a project in Jboss through Eclipse should i 
download Jboss IDE Plugin if yes
then which version i should download

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027885#4027885

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027885
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to