Passing parameter to portal! - I NEED HELP!!!

I NEED HEEELP!!!
I've got a web application (said A) and a portal application (said B) deployed
in the same domain.
I need to pass a variabile from A to B; the portal is called via a sendRedirect
to a desktop file on B; I've tried to store the variable into session: form portal(B)
the session.getAttibute always return null; the same happens if i put the variable
in the query string and try from portal to recover it with request.getAttribute.
Please help me guys!!!
Thank You.
Ale.

I am doing the flip - passing parameters from the portal to other java apps. You
should be able to pass parameters as part of the url as name/value pairs and retreive
them using request.getParameter().
"ERIK GAMMA" <[email protected]> wrote:
>
I NEED HEEELP!!!
I've got a web application (said A) and a portal application (said B)
deployed
in the same domain.
I need to pass a variabile from A to B; the portal is called via a sendRedirect
to a desktop file on B; I've tried to store the variable into session:
form portal(B)
the session.getAttibute always return null; the same happens if i put
the variable
in the query string and try from portal to recover it with request.getAttribute.
Please help me guys!!!
Thank You.
Ale.

Similar Messages

  • My email address is ***********, Apple ID I forgot my password, why not send links that Reset Pass on my email, I need help than why? Contact Us By Email me back with ***********, Thanks

    My email address is ***********, Apple ID I forgot my password, why not send links that Reset Pass on my email, I need help than why? Contact Us By Email me back with ***********, Thanks
    <E-mails Edited by Host>

    You are not addressing Apple here. This is a user-supported technical support forum. If you have tried to restore your Apple ID using iForgot, then try contacting iTunes Customer Service.

  • Authschemes and portal / iviews - need help

    I am aware that when I logon to the SAP portal, normally due to authschemes.xml configuration the default authscheme is used to authenticate the user (which uses the ticket auth template). I am interested to know if it is possible to configure the portal so that by entering a different url, I can use a new iview, and the iview will specify a non-default authscheme. This would allow me to logon using one method by entering the normal portal login URL and by another auth method by entering a different URL.
    From what I understand about iviews (not much) I think this is possible, but I don't know for sure, and how to make it work. Can you help ?
    Regards,
    Tim

    Patrick,
    Sorry, but I am now very confused. I was under the impression that authschemes were configured in authschemes.xml and available for use in any J2EE authentication requirement, not just for portals. I have seen references before to using authschemes for non-portal login, and can see nothing which is portal specific.
    My understanding of what you said before is :
    1. user accesses portal
    2. portal login page redirects to our servlet, which may ask the user some questions or give them options before deciding what type of authentication to use.
    3. our servlet triggers the authentication via UME API
    4. The auth stack is processed based on the authscheme name given in UME API, and CreateTicketLoginModule will be used to issue an SSO2 ticket for SSO purposes.
    5. The servlet will then redirect back to the portal page and the SSO2 ticket in browser will allow the logon to complete.
    Is the above what you were suggesting, or if not, can you help me understand where I am getting this confused/wrong ?
    The part we are having problems with is step 3 where we are unable to pass the authscheme we want to use as a parameter.
    Thanks,
    Tim

  • ReDeploying Portal Content - Need Help Plz.

    Hello All,
    Is there is way to redeploy all Portal Content. All of a sudden the Links and Iview in the my Portal are not working it keep saying that it cannot find the iViews and the Application is missing, can some one please help me with this.
    Best Wishes,
    John.
    Message was edited by: John Bray

    Hi John,
    if you have a backup of your portal server file system you could restore from the backup the ...\irj\root\WEB-INF\deployment directory (with subfolder) and remove from every PAR-File the .bak extension.
    By that all PARs will be deployed on the next server startup.
    If the PCD content (iViews,Pages,etc) is missing, you need to restore the DB or you could import a transport package from another server.
    Hope this helps,
    Robert

  • New to Portal and need help with PDK

    Hi there,
    I have looked all over otn to find a simple document that explain how to install and use PDK but I can't find any. Can someone help me with this? There is a video on otn but it doesn't work here.
    Regards,
    Robert

    The Getting Started page on Portal Studio is a possible way to start.
    There's a PDK article Installing the PDK-Java Framework and Sample Providers you may want to check out too.

  • Newbie in portal and need help

    Hi,
    In portal, is there any view (like data dictionary views) where I can get the name of the reports and the name of the tables or views that they are based on
    example.
    let's say I have 2 reports.
    1- rept_dept based on scott.dept table
    2- rept_emp based on scott.dept and scott.emp table
    I need a SQL statment that will produce this output
    report name table_name
    rep_dept scott.dept
    rep_emp scott.dept
    scott.emp
    Thank you !
    Gregg.

    Jose,
    i suggest you start with looking at the status of the report with id=14511 in the logs of the reportserver. You can find these from the Oracle Entreprise Manager by selecting the reportserver -link, than follow the failed/completed task-links.
    If the report finished succesfully, Internet Explorer probably tried to show the report before it was finished. If this is the case, you can build a small timer that waits for the report to finish or that queries the report server if the report is finished before you trie to show the report.
    Questions:
    Can you show the report when you enter the url to the report manually in Internet Explorer?
    Do you use Headstart?

  • BSP / Portal Integration - Need Help!

    Greetings,
    We are running a BSP which has many pages and is displayed through the Enterprise Portal.  When the Portal splits the BSP pages up, the main DO_INIT runs every time someone clicks a tab (very slow).  The user appears to get a separate session for every tab.  When running the BSP's directly from the backend system (not split into Portal tabs) this does not happen.  This is making our performance unacceptable.
    Any ideas are appreciated!
    We are running NetWeaver Portal 7.0 SP12 against an ABAP backend of SAP ECC 6.0 / ERP 6.0 SP10.
    Thanks!
    Kris

    Hi Kristjan,
    The BSP applications which you have used looks like is embedded in the main portal application.
    Instead I would suggest you to call your BSP application from DO_INITATTRIBUTES method. Use construct_url_from_bsp method for calling another BSP.
    Reward points if helpful.
    Thanks,
    Chaith.

  • Portal newbie needs help (datasync?)

    I'm trying to create my own portal now. Went through the online help and already
    created the tutorial portal. I'm now trying to create my own based on an existing
    domain using steps B,D and F at http://edocs.bea.com/wlp/docs70/dev/exstdom.htm#1010401
    I can deploy my app using Builder, and I can create the portal and one portlet
    using the Business Control Center, but once I try to sync, I get trouble. The
    log file has the following. Any help would be appreciated.
    ####<Jun 23, 2003 1:50:50 PM PDT> <Error> <HTTP> <NCEN-WS3865> <gary_dev_server>
    <ExecuteThread: '9' for queue: 'default'> <kernel identity> <> <101018> <[ServletContext(id=6943256,name=datasync,context-path=/intranetDataSync)]
    Servlet failed with ServletException>
    javax.servlet.ServletException: [ServletContext(id=6943256,name=datasync,context-path=/intranetDataSync)]:
    Servlet class com.bea.p13n.management.data.transport.servlets.DataSyncServlet
    for servlet DataSyncServlet could not be loaded because a class on which it depends
    was not found in the classpath C:\bea\user_projects\gary_dev_domain\gary_dev_server\stage\intranet\datasync;C:\bea\user_projects\gary_dev_domain\.\gary_dev_server\stage\intranet\datasync\WEB-INF\classes;C:\bea\user_projects\gary_dev_domain\.\gary_dev_server\.wlnotdelete\intranet_datasync_6943256\jarfiles\WEB-INF\lib\datasync_servlet52367.jar;C:\bea\user_projects\gary_dev_domain\.\gary_dev_server\.wlnotdelete\intranet_datasync_6943256\jarfiles\WEB-INF\lib\p13n_util52368.jar.
    java.lang.NoClassDefFoundError
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:791)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:517)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)

    Let's see if the log entries look better now.
    ####<Jun 23, 2003 1:50:50 PM PDT> <Error> <HTTP> <NCEN-WS3865> <gary_dev_server>
    <ExecuteThread: '9' for queue: 'default'> <kernel identity> <> <101018>
    <[ServletContext(id=6943256,name=datasync,context-path=/intranetDataSync)]
    Servlet failed with ServletException>
    javax.servlet.ServletException: [ServletContext(id=6943256,name=datasync,context-path=/intranetDataSync)]:
    Servlet class com.bea.p13n.management.data.transport.servlets.DataSyncServlet
    for servlet DataSyncServlet could not be loaded because a class on which
    it depends
    was not found in the classpath C:\bea\user_projects\gary_dev_domain\gary_dev_server\stage\intranet\datasync;C:\bea\user_projects\gary_dev_domain\.\gary_dev_server\stage\intranet\datasync\WEB-INF\classes;C:\bea\user_projects\gary_dev_domain\.\gary_dev_server\.wlnotdelete\intranet_datasync_6943256\jarfiles\WEB-INF\lib\datasync_servlet52367.jar;C:\bea\user_projects\gary_dev_domain\.\gary_dev_server\.wlnotdelete\intranet_datasync_6943256\jarfiles\WEB-INF\lib\p13n_util52368.jar.
    java.lang.NoClassDefFoundError
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:791)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:517)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)

  • Not all values pass from webservice... need help.

    Hello SDN!
    I've got a webservice based on the ABAP function module. This WS imported in my Webdynpro application (NW 7.0).
    Webservice has some input parameters and one table. Structure of that table contain one include and some other fields. If I test this FM in SAP GUI, table contains all fields filled values. But in Web dynpro application after execute this WS only fields belonging to include contains values and other fields has no values although function module return values for all fields.
    Did anybody face with similar issue& How to resolve it?

    Hi!
    This webservice has been successfully tested with another instrument...
    Node structure is follwoing:
    Request_Z_CO_PLN0_ZD_SP_1:
    ....+--- Response_Z_CO_PLN0_ZD_SP_1
    ...........+--- Result_Z_CO_PLN0_ZD_SP_1
    .......................|---- resAttr1
    .......................|---- resAttr2
    .......................|----  resAttr3
    .......................|---- resAttrN
    ....|---- attr1
    ....|---- attr2
    ....|---- attr3
    ....|---- attrN
    where attr1 - attrN are input parameters.
    Here the code:
         wdContext.nodeRequest_Z_CO_PLN0_ZD_SP_1().bind(new Request_Z_CO_PLN0_ZD_SP_1PortType_z_CO_PLN0_ZD_SP_1());
              IPrivateZD.IRequest_Z_CO_PLN0_ZD_SP_1Element elem = wdContext.currentRequest_Z_CO_PLN0_ZD_SP_1Element();
    // fill input parameters
              if( params.getWerks() != null){
                   elem.setWERKS( params.getWerks() );
              ru.sng.phd.models.z_co_pln0_zd_sp_1.Request_Z_CO_PLN0_ZD_SP_1PortType_z_CO_PLN0_ZD_SP_1 modelObj =
                   wdContext.currentRequest_Z_CO_PLN0_ZD_SP_1Element().modelObject();
              modelObj._setUser("user");
              modelObj._setPassword("pwd");
              modelObj.execute();
              wdContext.nodeResponse_Z_CO_PLN0_ZD_SP_1().invalidate();
              wdContext.nodeResult_Z_CO_PLN0_ZD_SP_1().invalidate();

  • Need help!: How to covert Excel into BLOB and pass into procedure?

    Hi,
    I am writing a program in which I am uploading file from front-end and passing that file into Oracle procedure in BLOB format.
    Can someone help me ,that **how to convert Excel sheet into BLOB and then how we can pass that BLOB object to procedure in oracle*.
    Any help will greatly appreciated.
    Thanks

    Guys,
    I am able to convert FormFile into byutes using getFileData();
    But when I am tryint oconvert into BLOB,it is dhoowing me the error.
    Please find the complete details below.
    I am trying to Upload one file using FormFile of Struts and I need to pass that Form File into one procedure having BLOB as aIn parameter. SO I need to convert that file into BLOB object
    The code that I am trying is :
    try{
    BLOB blob= BLOB.getEmptyBLOB();
    System.out.println("before");
    blob.setBytes(theFile.getFileData());
    System.out.println("after");
    cs.setBlob(3, blob);
    }catch(Exception e){System.out.println("in the BLOB "+e);}
    After running the code,I am getting the following error
    java.lang.ArrayIndexOutOfBoundsException
    at java.lang.System.arraycopy(Native Method)
    at oracle.jdbc.driver.DatumBinder.bind(OraclePreparedStatement.java:15839)
    at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:2865)
    at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2150)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3279)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3389)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4222)
    at dms.bo.impl.LoadManagement.UploadMetadataDAOImpl$1.doInCallableStatement(UploadMetadataDAOImpl.java:38)
    at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:953)
    at dms.bo.impl.LoadManagement.UploadMetadataDAOImpl.getBlobString(UploadMetadataDAOImpl.java:28)
    at dms.web.action.LoadManagement.UploadMetadataAction.perform(UploadMetadataAction.java:33)
    at dms.web.action.common.BaseAction.execute(BaseAction.java:17)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Thread.java:619
    So with

  • Need help with session sharing in WebCenter Portal

    Hi, How can I share session between a WebCenter Portal application and the portlets it is consuming?
    Basically I want this for authentication. In the portal framework application, I'm setting a user object in the session, How can I get the object in a portlet?
    Regards,
    Navaneet

    IN the second page, you have to make sure that the session
    has been started.
    Put this at the very top of the page -
    <?php if (!isset($_SESSION)) session_start(); ?>
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Alidad" <[email protected]> wrote in
    message
    news:g184i4$jgf$[email protected]..
    > have created a login page (php/mysql) with username and
    password boxes.
    > when
    > the form is submitted the mainpage loads up.
    >
    > i want the main page to be specific to that user, so i
    want their name to
    > appear in the first line. eg.. Welcome back 'David'
    >
    > I read a tutorial in the past that tought me to send the
    users id in the
    > URL
    > and then create a record set on the mainpage that was
    filtered by the URL
    > parameter.
    >
    > I have forgotten how to do this and the tutorial is no
    longer available on
    > Adobe's site.
    >
    > I tried that with
    > $_SESSION['MM_Username'] = $loginUsername; \\ in first
    page then
    > echo $_SESSION["MM_username"]; \\in second page, but
    > the
    > problem is that is not showing user name.
    >
    > i need help with that please!
    >
    > can anyone tell me how to do this? Thanks in advance,
    >
    > AM
    >

  • I need help, speach over got accidently turned on in my Iphone 6, now i cant get into my phone it wont take my pass word and when I try to use Siri it says not available  what do I do

    I need help, speach over got accidently turned on in my Iphone 6, now i cant get into my phone it wont take my pass word and when I try to use Siri it says not available  what do I do

    Hi, Jennifer.  
    Thank you for visiting Apple Support Communities.  
    I understand that VoiceOver has been activated and you are unable to access your device.  I have done this myself and here are the steps to disable this feature.  
    VoiceOver
    Press the home button three times quickly (formerly "Triple-click home").
    Accessibility Shortcut
    Managing Accessibility features using iTunes
    Connect your iPhone, iPad, or iPod touch to any computer with iTunes installed.
    In iTunes, select your device.
    From the Summary pane, click > Configure Universal Access in the Options section at the bottom.
    Select the feature you would like to use and click OK.
    Use Accessibility features in iOS
    -Jason H.  

  • Help me in passing parameter

    <%@ page import="java.net.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.io.*" %>
    <%@ page import="java.sql.*" %>
    <html>
    <head>
         <title>Untitled</title>
    </head>
    <body>
    <%
         Vector mail = new Vector();
         try{
         Class.forName("com.mysql.jdbc.Driver").newInstance();
         catch (Exception E) {
         out.println("Unable to load driver.");
         E.printStackTrace();
         try{
              Connection C = DriverManager.getConnection("jdbc:mysql://localhost/attendance","root","");
    %>
    <div align="center"><font size="+6">Student BarList</font><br>
    In this page will display out the student that attendance NOT MORE THAN 70%. The Student Below is NOT ALLOW to take exam for the relevant subject.
    The student whoever not satisfy with the bar can negotiate with the lecturer of the relevant subject.<p/>
    The student below will be bar from the relevent subject:
    <%Statement S = C.createStatement();
                   ResultSet rs = S.executeQuery("SELECT * FROM bar");
                   ResultSetMetaData rsStruc = rs.getMetaData();
    out.println("<table bgcolor=red cellpadding=10 cellspacing=1 size=70>");
                   out.println("<tr bgcolor=red>");
                   int colCount = rsStruc.getColumnCount();
                   String colName = "";
                   for(int i=1;i <= colCount; i++){
                   colName = rsStruc.getColumnName(i) ;
                   out.println("<td><B><font color=white>" + colName + "</font></b></td>\n");
                   out.println("</tr>");
                   while (rs.next()) {
                   String email=rs.getString("email");
                   mail.addElement(email);
                   out.println("<tr bgcolor=ffffff>");
                   for(int i=1;i <= colCount; i++){
                   colName = rsStruc.getColumnName(i) ;
                   String fld = rs.getString(colName);
                        out.println("<td>" + fld + "</td>");
                   out.println("</tr>");
                   out.println("</table>");
                   rs.close();
                   C.close();}
    catch (Exception E) {
         out.println("SQLException: " + E.getMessage());
         for(int i=0; i< mail.size(); i++){
    String add= mail.elementAt(i)+",";
    out.println(add);
         %>
    <form action="simplemail.jsp" method="post">
    <input type="text" name="address" value="<%=add%>">
    <input type="submit" name="send" value="Send Mail">
    </body>
    </html>
    what problem with my page i want to read the vector data then set it inside the variable (e.g [email protected],[email protected]) then put it into the textbox and passing parameter to next page.. how i gotta solve this problem?

    i have to use the hidden input html to send the vector to the next page but found out the problem "Type mismatch: cannot convert from String to Vector"
    <%@ page import="java.net.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.io.*" %>
    <%@ page import="java.sql.*" %>
    <html>
    <head>
    <title>Untitled</title>
    </head>
    <body>
    <%
    Vector mail = new Vector();
    try{
    Class.forName("com.mysql.jdbc.Driver");
    catch (Exception E) {
    out.println("Unable to load driver.");
    E.printStackTrace();
    try{
    Connection C = DriverManager.getConnection("jdbc:mysql://localhost/attendance","root","");
    %>
    <div align="center"><font size="+6">Student BarList</font><br>
    In this page will display out the student that attendance NOT MORE THAN 70%. The Student Below is NOT ALLOW to take exam for the relevant subject.
    The student whoever not satisfy with the bar can negotiate with the lecturer of the relevant subject.<p/>
    The student below will be bar from the relevent subject:<br/>
    <%
    Statement S = C.createStatement();
    ResultSet rs = S.executeQuery("SELECT * FROM bar");
    ResultSetMetaData rsStruc = rs.getMetaData();
    out.println("<table bgcolor=red cellpadding=10 cellspacing=1 size=70>");
    out.println("<tr bgcolor=red>");
    int colCount = rsStruc.getColumnCount();
    String colName = "";
    for(int i=1;i <= colCount; i++){
    colName = rsStruc.getColumnName(i) ;
    out.println("<td><B><font color=white>" + colName + "</font></b></td>\n");
    out.println("</tr>");
    while (rs.next()) {
    String email=rs.getString("email");
    mail.addElement(email);
    out.println("<tr bgcolor='ffffff'>");
    for(int i=1;i <= colCount; i++){
    colName = rsStruc.getColumnName(i) ;
    String fld = rs.getString(colName);
    out.println("<td>" + fld + "</td>");
    out.println("</tr>");
    out.println("</table>");
    rs.close();
    C.close();}
    catch (Exception E) {
    out.println("SQLException: " + E.getMessage());
    //String add = "";
    //for(int i=0; i< mail.size(); i++){
    //add = mail.elementAt(i)+",";
    //out.println(add);
    %>
    <form action="simplemail.jsp" method="post">
    <input type="hidden" name="address" value="<%=mail%>">
    <input type="submit" name="send" value="Send Mail">
    </body>
    </html>the vector should be pass to this page:
    <%@ page import="java.util.*, javax.mail.*, javax.mail.internet.*" %>
    <%
    Vector to2= new Vector();
    to2=request.getParameter("address");
    //String subject=request.getParameter("subject");
    //String message2=request.getParameter("message");
    for(int i=0; i< to2.size(); i++)
         String add = (String)to2.elementAt(i);
         System.out.println(add);
    Properties props = new Properties();
      props.put("localhost:25","localhost:25");
      Session s = Session.getInstance(props,null);
      MimeMessage message = new MimeMessage(s);
      InternetAddress from = new InternetAddress("albert");
      message.setFrom(from);
      InternetAddress to = new InternetAddress(add);
      message.addRecipient(Message.RecipientType.TO, to);
      //message.setSubject(subject);
      //message.setText(message2);
    message.setSubject("Bar exam acknowledgement");
    message.setText("You been bar from the exam, please check on the student attendance online for more information");
      Transport.send(message);
    %>
    <html>
    <p align="center">A Message has been sent.<br>Check your inbox.</p>
    <p align="center"><a href="mail.html">Click here to send another!</a><br>
    </p>
    </html>please help me!!! i stuck in this oledi

  • Need Help with Portal security

    Hi All,
    I'm using the Oracle Portal builder to post some links (Dsicoverer reports links) on a portal. Is there any way where only a certain group of people have access to those reports on the portal? Please need help.
    Thanks

    thinkingeye wrote:
    Thanks Roberto
    Is there any way i can do that at the report level? Create a password and give it to them, so that whent they click on the link they will be asked the password and once they enter the password they can view the report.If you wish to do it for discoverer portlets or reports, you may also use private connections and the access and editing controls that come with discoverer reports on discoverer portlet provider.
    thx,
    AMN

  • Need help with Portal Themes -- Please help

    I need help with Portal Themes.  I have read every document I can find but I am having no luck.  All I want to do is change the colors for the Exceptions on one of my queries.  I have created my own Portal Theme where I have changed the colors but I do not know how to assign my newly-created Portal Theme to my query.  Can someone please give me the detailed steps on how to do this? Please help because this is driving me crazy.
    Thanks.
    Ryan

    Hi,
    Refer
    Exceptions - How to change the colors
    This may help.
    Thanks,
    JituK

Maybe you are looking for