How to Link another JSP Page in the same portal component

Hi Guys,
  I am a new guy to SAP, currently, I want to add href link to another JSP in the same component, so I used <a href="<%=webpath%>/jsp/AboutPage.jsp">, but obviously, the link can not display target page due to privilege restriction, does anyone know how to resolve this problem? thanks very much!
  Best Regards
  James

Thanks srinivas,
   Sorry for late response, too busy yesterday.
   Currently, I want to create a URL link in the page which links another JSP page in the same portal component, but the problem is this JSP page is under PORTAL-INF folder, so due to privilege problem, I can not create the link like the following:
<a href="jsp/test.jsp">Link</a>
   I konw if I move test.jsp out of folder PORTAL-INF, the above way should work, but then, I found the JSP page can not access componentRequest and get resource bundle object.
  Am I clear, please let me know, thanks!
Regards.
James

Similar Messages

  • When i clink a given link in google than that webpage open in another window. How i can open that page in the same tabe ?

    when i clink a given link in google search than that webpage open in another window. How i can open that page in the same tabe ?

    Hello gogotutu
    In the [https://support.mozilla.org/en-US/kb/awesome-bar-find-your-bookmarks-history-and-tabs#os=win7&browser=fx17 Location bar], type [http://kb.mozillazine.org/About:config about:config ]and press '''Enter'''.
    The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise!, to continue to the about:config page.
    In the Search field, type [http://kb.mozillazine.org/Browser.link.open_newwindow browser.link.open_newwindow]
    double-click and put as a value '''1''' , click OK to save it.
    do the same with '''browser.link.open_newwindow.override.external''' , again put '''1''' as a value(it is -1 by default).
    check also, always in about:config, the [http://kb.mozillazine.org/Browser.link.open_newwindow.restriction browser.link.open_newwindow.restriction] and put as value''' 0''' .
    thank you

  • How to redirect a JSP page after the session is killed

    Hello!
    I am quite new to JSP. I have a question about how to redirect a jsp page after the session is killed. Could anyone help?
    thanks a lot in advance!

    You can't, directly. There's no connection betweenthe server and browser.
    even after invalidating the session. we can do it
    directly using the statement
    response.sendRedirect("....");
    or we can use the meta refresh tag.if session is invalidated and if we try to do response.sendRedirect(".. ") it throws IllegalStateException

  • TOC entries: is there a limit to how many links you can have to the same htm in TOC?

    TOC entries: is there a limit to how many links you can have to the same htm in TOC? I have an HTM that requires multiple links in the TOC. Now I can't compile a CHM. I have eliminated all other possible problems...

    Hmm, that would be a new one on me, but I see new things all the time and try to always keep an open mind.
    Okay, so one way past this might be to do the following.
    Create a snippet. Copy the content of the desired page and paste into the snippet.
    Create 30 different versions of the same topic by simply placing the Snippet into each topic. Then insert the different topics into the TOC.
    You should still be able to modify the content of the topic in the single place (the snippet) and by having discrete points from the TOC, there should be no issue and synchronization should work beautifully.
    Cheers... Rick

  • How appears a  new JSP  file  in the same page?

    Hello all,
    I have a JSP file in a portal page.From this file I want to open another one.The new file must be opened in the same portal page with the same size and exactly in the same place. But it always openes a completely new page and the portal page disappears.I know that the mistake is from the provider file, but I don't know what should I change.
    Thanks for your help!
    K.Chrostani

    In my.jsp you could put a form with n submit buttons whith different values of parameter "name", like this:
    ---My.jsp------
    <form method="yourMethod" action="My.jsp">
    <input type="submit" value="Button1" name="button1">
    <input type="submit" value="Button1" name="button2">
    <input type="submit" value="Buttonn" name="buttonn">
    </form>
    <%if(request.getParameter("button1")!=null){%>
    <jsp:include page="f1.jsp">
    <%}%>
    <%if(request.getParameter("button2")!=null){%>
    <jsp:include page="f2.jsp">
    <%}%>
    <%if(request.getParameter("buttonn")!=null){%>
    <jsp:include page="fn.jsp">
    <%}%>
    I didn't try it but it might work.

  • How to Open another jsp page from jsp page

    Hi,
    I am new to JSP. I need help to handle issue given below:
    I have created one JSP Page for Login which contains Username and Password with a Submit Button. Once user inputs UserName and Password and Press Submit Button, It calls another JSP Page "Validate_login"
    Validate_Login JSP does a JDBC call to Databse and validate User Name and Password. Now i want to open a "Employee.jsp" page if Username and Password matches with the one in database.
    Pls advice what function or tag should i use to open this page in If (condition) true section.. I tried Window.open but it return back with error.

    I tried with the function suggested by Doly. But nothing is happening. It doesn't redirect to any page. only a blank page comes.
    here is complete code . pls correct me if i am wrong somewhere.
    this is code of Validate_Login.jsp page which is invoked when user press login button on login.jsp.
    my purpose is to validate username and password from database and redirect to employee.jsp if it is ok else back to login.jsp
    here is source of Validate_login.jsp
    =============================================================
    <%@ page language="java" import="java.sql.*" pageEncoding="ISO-8859-1"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Validate Login</title>
    </head>
    <body>
    <%
    String username = request.getParameter("username");
    String password = request.getParameter("password");
    String viewPATH = "c:/MyData.mdb";
    String dsnPATH = "jdbc:odbc:DRIVER=Microsoft Access Driver (*.mdb); " +
    "DBQ="+viewPATH+"; " +
    "UserCommitSync=Yes; " +
    "Threads=3; " +
    "SafeTransactions=0; " +
    "PageTimeout=5; " +
    "MaxScanRows=8; " +
    "MaxBufferSize=2048; " +
    "DriverId=281; " +
    "DefaultDir=C:/ProgramFiles/CommonFiles/ODBC/DataSources";
    Connection conn = null;
    Statement stmt = null;
    ResultSet rs = null;
    try
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         conn = DriverManager.getConnection(dsnPATH, "", "");
         stmt = conn.createStatement();
    rs= stmt.executeQuery("SELECT * FROM Employee where emp_id='"+username+"'");
    while(rs.next())
    String pass = rs.getString("password");
    if (pass.equals(password))
    { response.sendRedirect("Employee.jsp");}
    else
    { response.sendRedirect("login.jsp");}
    catch(Exception e)
    e.printStackTrace();
    finally
         if(stmt!=null) stmt.close();
         if(conn!=null) conn.close();
    %>
    </body>
    </html>

  • How to fill an 8x10 page with the same image for making buttons?

    How do you make a button template using the grid?  How do you import the image onto that, and how do you fill an entire page with the same image ie-  1" circles

    I'm trying to do the same thing but I want 1" squares.  I just upgraded from Elements 6 and I did this
    quite often for pendant necklaces.  I used to go and print individual prints, but the previous options are not there.  ;(
    And the picture package is only showing 20 (2x2) as being the smallest size.  I don't see a custom button.
    Can anyone tell me how to do this?  We're doing these for a fundraiser and I can't even print anymore.
    Thanks,
    Kimberly

  • How do I create multiple catalogs in the same portal?

    Hello,
    I have 2 stores in different locations and they each have their own catalogs (similar
    products) and inventory, but I want the user to be able to select the store in
    which he wants to buy. Ex - It could be New York store or New Jersey store.
    How can I create 2 or more catalogs and access them in the same Portal? What is
    the differentiator?
    Regards,
    Shashi
    Answer appreciated.

    Shashi,
    You need to read about configuring the Catalog services:
    http://edocs.bea.com/wlp/docs40/catalog/index.htm
    These docs have not yet been moved into the 7.0 doc set but also apply to
    7.0.
    Sincerely,
    Daniel Selman
    "Shashi Goli" <[email protected]> wrote in message
    news:3d4184cc$[email protected]..
    >
    Hello,
    I have 2 stores in different locations and they each have their owncatalogs (similar
    products) and inventory, but I want the user to be able to select thestore in
    which he wants to buy. Ex - It could be New York store or New Jerseystore.
    >
    How can I create 2 or more catalogs and access them in the same Portal?What is
    the differentiator?
    Regards,
    Shashi
    Answer appreciated.

  • How can i execute some code in a jsp page on the same page ? plz read.

    I have made a single JSP Page where in i want to delete users, create users, update table data.
    I have all the UI on the first page. Now i want to write my all JDBC coding on just this single page. I don't want to create 3 separate pages. Can it be done ?

    This is my page !!
    I have 3 separate pages insert.jsp, delete.jsp, update.jsp to implement the jdbc coding. I know that i can get it done by calling a single jsp page using URL rewriting. But i want to code for events on this very page only.
    <%@page language="java"%>
    <%@page import="java.sql.*"%>
    <HTML>
         <BODY>
              <form method=post action="insert.jsp">
                   Username:<input type=text name=username><br>
                   Password:<input type=password name=password><br>
                   <input type=submit>               
              </form>
              <hr>
              <form method=post action="delete.jsp">
                   Username:<input type=text name=username><br>
                   <input type=submit>               
              </form>
              <hr>
              <form method=post action="update.jsp">
                   Username:<input type=text name=username><br>
                   Password:<input type=password name=password><br>
                   <input type=submit>               
              </form>          
         </BODY>
    </HTML>

  • How can I have two pages in the same Oracle Drive Path?

    I have been using OracleDrive for some time to publish a specific kind of document once every week.
    Now I have on my front page a content area that show the newest 3 of these documents. However, I'd like to place a link at the bottom that says "Show All", and that should link to a page that shows all my items in this folder.
    So basically I want to have two pages that are based on the same folder..
    How can I achieve this behaviour?
    Thanks,
    Botzy

    Greetings,
    When you say two monitors do you mean two separate computers (like 2 iMacs)?
    If you mean 2 seperate macs then you could either:
    Use a network keyboard / mouse sharing program like Teleport: http://www.macupdate.com/app/mac/14042/teleport
    Use a physical KVM switch: http://www.belkin.com/IWCatProductPage.process?Product_Id=267031
    Hope that helps.

  • Unable to return from a column link to popup page in the same window

    Using 3.2
    I have a tabform with a link to a pop-up page (and passing values). It's working fine but when I 'Save' on the pop-up, instead of returning to the originating page, it opens up a new window with the originating page on it. How do I get back to the originating page? I'm sure it's in my branch or button url syntax but can't figure it out. I tried creating a process to 'close window' but still opens up a new window.
    FYI - if I just do the 2nd page as a normal page, all is fine but the users would prefer a popup.
    Thx.
    Sandie

    Use the template 'Popup' for your page.
    Create a After Submit Process and select the option 'Close Window'. Make sure this is the last process (highest sequence number). This will automatically closes the popup window and user will be on the parent page.
    Do not create any branches on the popup page or any target in your Save button.
    If you need to refresh the parent page with the information entered on the popup page, enter the following code, at the end, in the process that does your DML (a process that comes before the Close Window process).
    htp.p('<script>');
    htp.p('window.opener.location.reload(true);');
    htp.p('</script>');
    I have created popups this way and they work, at least in 3.2version. In APEX 4.0, the parent page is not refreshing with the data entered on the popup page, which I'm currently investigating into. If you have a different code to refresh the parent page, please share it with me.
    Edited by: rbheemir on Nov 10, 2010 2:56 PM

  • How to look at two pages at the same time

    while working on master pages and regular pages, it would be helpful to be able to have them side by side.
    is there a way to do that?

    Hi,
    do you mean something like this,
    if yes, then in Muse, select Window > Arrange > and try different option.
    To learn more about it, visit this article
    Adobe Muse Help | Workspace basics
    Do let me know if you have any question.

  • How to display the JSP output in the same page....

    im new to JSP..... can anyone tell me how to display the output of a particular JSP page in the same page itself...... if anyone could send a small sample code it will be very useful for me....
    thanks in advance
    regds
    Krish......

    Hi Robert -
    When you say you are writing a template-based Renderer, do you mean that you are creating a custom look and feel and replacing the header Renderer? If so, I'd recommend instead simply creating your own template (not template-based Renderer), and reference your template directly from your uiXML pages where you want to insert the timestamp.
    You'll probably want to write a method data provider which calls System.currentTime(), convert the result to a date, and then use Java's date formatting capabilities (see java.text.format.DateFormat) to produce a user presentable String that you can return from your data provider.
    For more info (and samples) on templates and data binding, see the "Templates and Data Binding" section of the "Includes and Templating in ADF UIX" help topic:
    http://tinyurl.com/5b7bf
    Andy

  • Linking to an anchor within the same page

    Anyone know how to link to an anchor within the same page?
    For instance, im making a FAQ page. at the top of the page I would like to list all the questions. i would like the viewer to be able to click a question which brings them to the answer on the bottom of the page.
    looked in inspector couldn't find it. linking to anchors is pretty basic, so id be really suprised if iweb doesn't have this feature. so im assuming im missing it.......
    how do i do this?

    Anyone know how to link to an anchor within the same page?
    how do i do this?
    Linking to an anchor within the same page is no more than scrolling to it, and can be (easily) emulate with javascript window.scroll function.
    See my post here: http://discussions.apple.com/thread.jspa?messageID=7676908&#7676908
    All javascript is linked to the example page.

  • Scan multiple pages to the same computer file

    How can I scan multiple pages to the same computer file on my HP Officejet Pro 8600 Plus?  Currently it will only scan each page to a separate computer file.  I scan one document and then when it asks if I want scan another page I say yes and scan it.  However they still go to separate computer files. 
    Thanks!
    This question was solved.
    View Solution.

    Thanks so much!

Maybe you are looking for

  • Mapping issue in QA

    *Hai Experts!* *I am facing an issue in Quality server. The scenario is SOAP to JDBC. Which is working fine in Development server. But in QA the mapping is not happening and the Following error is displaying in the Trace view.* *Can any one help me i

  • Unable to find "Adobe PDF" resource files error

    Hi Good Day.. I just installed my Acrobat Professional 11 last week.. I had no problem with the 2 computers but in 1 computer I'm experiencing this error while trying to combine excel files into PDF... " Unable to find "Adobe PDF" resource files Do y

  • Getting Lion from Apple store in local mall

    So if I want a Flash version of Lion today I can just walk into an Apple store with a 4 GB drive and they'll load it for me?

  • In iTunes 10.3, the 'Purchased' tab only shows apps and books

    .... not music. I wish to redownload some old purchases. Why is it not appearing?

  • UCCX-RTMT-ALERT- After Upgradation of UCCX from 8.0.2 to 8.5 SU2.

    Hello After upgradation of UCCX from 8.0.2 to 8.5 SU2 we are receiving below RTMT error which says critical. Any ideas ? At XXX 02 08:37:27 EDT 2012 on node XXX-IPCC01, the following SyslogSeverityMatchFound events generated:  SeverityMatch : Critica