I haven't used portlets, but my guess would be that if you look at the
links generated by a working portlet you'll see that they have extra
query parameters and/or point to a portlet container-specific servlet or
something, so that the portlet container can process the request and
reconstruct all the portlets on the page.
If you compare that to the links in your Struts app, I'm guessing that
you'll see those are different, because Struts doesn't know how to
interact with a portlet container.
As I say, I haven't played with this so I'm guessing; that's why I
recommend you search the archives for previous discussions on the topic.
L.
Meenakshi Singh wrote:
No, that's nothing to do with struts not knowing about portlets. Portlet
environment is set in IBM WSAD V5.1 still it opens in another window when
deployed on the portal server.
-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] Behalf Of Laurie Harper
Sent: Saturday, December 10, 2005 6:14 AM
To: user@struts.apache.org
Subject: Re: IBM Portal server V5.0.2.3
I suspect you may be running into problems resulting from the fact that
Struts is written to the Servlet spec and knows nothing about Portlet
environments. Try searching the archives and/or Google for 'Struts Portlet'.
L.
Meenakshi Singh wrote:
yes I am using WSAD V5.1.1 & using portal server. I have created the
portlet
& have deployed it in the portal server. however, the href in one of the
jsp's is not opening up in the same page where my portlet is showing. It
opens up on a diff page. That is my problem. How do I make it open in the
same page.
That is how I am using the href element in my jsp:
<a
href='<%=response.encodeURL(request.getContextPath()+"/jsp/CentralNoSearch.j
sp")%>' >Search by Central Number</a>
Regards,
Meenakshi.
-----Original Message-----
From: Mark Benussi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 07, 2005 8:29 PM
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: IBM Portal server V5.0.2.3
I think what you want is to create a Portlet. Use WebSphere Studio
Application Developer to create a new Portlet Application and then install
this with Portal Server.
-----Original Message-----
From: Meenakshi Singh [mailto:[EMAIL PROTECTED]
Sent: 07 December 2005 11:39
To: Struts Users Mailing List (E-mail)
Subject: IBM Portal server V5.0.2.3
hiee all,
Please help if anyone has used the IBM portal server.
I have a small struts app deployed on IBM Portal Server V 5.0.2.3
I add 2 jsps to the struts application. In one jsp I am putting a link
with
a href to point to another jsp.
When I click on this link after deploying the portlet, it opens the link
in
the whole browser window which is not the same as the portal page. I want
to open the link in the same portal page.
Would anyone please tell me how I can do that?
Thanks & Regards,
Meenakshi.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]