Hello!

I tried to invoke a URL by a portlet to reuse our existing Servlet.  Regardless
of the invoked URL, i got ownly a text message:

"JSPPortlet: Could not include the following  URL: http://www.google.com : null"

displayed in the portlet

The portlet code looks like this

   
...........
 public void init() {
        servletURL =            
this.getPortletConfig().getInitParameter("servlet_url");
    }

    public ConcreteElement getContent(RunData data) {
        PortletConfig pc = this.getPortletConfig();
        try {
            ElementContainer base = new ElementContainer();
            CapabilityMap map = CapabilityMapFactory.getCapabilityMap(data);

            System.out.println("SERVLET PORTLET URL: " + servletURL);

            EcsServletElement e = new EcsServletElement(data, servletURL);
            e.base.addElement(new EcsServletElement(data, servletURL));
      }catch() {
      }

      return ( base);
...........

I am using:

Tomcat 3.2.1
        with xerces 1.2 
jetspeed 1.3a1
        

Can anybody help me with the solution of this problem?


Kindest regards
_________________________________________________ 
Michael Hufnagl

Salzburg Research Forschungsgesellschaft m.b.H. 
SunTREC
                                             Jakob- Haringer- Strasse 5/III 
                                             A-5020 Salzburg
                                             Austria
                                             Phone   +43 (0)662 2288 464
                                             Fax     +43 (0)662 2288 222 

mailto: [EMAIL PROTECTED]
http://www.salzburgresearch.at
_________________________________________________ 


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

Reply via email to