• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

problem with HTML link in portlet

Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,

i am working on a project in which i am making a portlet in oracle portlet API and server is oracle 10g. i have a main page into which i have link1 and link2, which are HTML link to other two JSP pages. when i click on LINK1 i want that may link1.JSP shold be displayed in the same MAIN portlet page, and same for LINK2.

but i am getting my pages in a new page/container not in MAIN page. one solution i have is to code LINK1 and LINK2 in same MAIN page and use java script to show page when corresponding link is clicked but i can't do that.

can someone please give me some idea or some function(even in other portlet API(JSR-168, IBM ect.)) to perform this. my page is working as desired for a button but i want to do this for a HTML link.

tumbleweed and gunslinger
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Using JSR-168, you'll have to construct the URL so that it links back to the processAction method() of the portlet, passinng the link action you want to take.

Then, from there, you cn redirect to the .jsp of your choice.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic