HI regarding URL

hi experts,
i m developing a report in alv grid in which one column in which website addresses are coming what the user wants that ven ever the user click on the link in the alv output then that internet explorer will open along with addresses ..
for eg if he clicks on www.yahoo.com then this site will get open from alv output.
plz help me to sort out this problem.
Use meaningful subject
Edited by: Vijay Babu Dudla on Jan 28, 2009 4:22 AM

Total Questions:  467 (236 unresolved) 
SEARCH!!
pk

Similar Messages

  • Regarding URL Address Display

    Hi,
    When we deploy webdynpro applications in browsers, we get the totel url address in the address bar .But when we deploy it inside portal we get url address only as
    http://xxxxxxx/irj/portal  .
    Why the detail url address is not displayed ?
    Thanks a lot .

    Hi,
    The Web Dynpro applicatiolns run inside an iframe, that's why you don't see the detailed url.
    If you right click somewhre on the application, you'll see the detailed url.
    Regards,
    Omri

  • Question regarding URL (extremely urgent)

    I have this:
    try{
       url = new URL(getDocumentBase() + "App.htm");
    catch(Exception ex){
       System.out.println("No such page");
    getAppletContext().showDocument(url, "_blank");This code is what my action listener for a button does.
    The problem is that when I click the button, a page is opened with url:
    (the document base)\AotA.htmApp.htm
    note: AtoA.htm is where my applet is embeeded.
    I wonder why this still includes the AtoA.htm in the new URL.
    thanks

    here's the whole of my code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.net.*;
    public class AtoA extends JApplet implements ActionListener{
         JPanel panel;
         JButton button;
         URL url;
         public void init(){
              new AtoA();
         public AtoA(){
              panel = new JPanel();
              getContentPane().add(panel);
              GridBagLayout g = new GridBagLayout();
              GridBagConstraints c = new GridBagConstraints();
              panel.setLayout(g);
              button = new JButton("Button");
              button.addActionListener(this);
              c.anchor = GridBagConstraints.CENTER;
              c.gridx = 0;
              c.gridy = 0;
              g.setConstraints(button, c);
              panel.add(button);
         public void actionPerformed(ActionEvent e){
              if(e.getSource() == button){
                   try{
                        url = new URL(getDocumentBase() + "App.htm");
                   catch(Exception ex){
                        System.out.println("No such page");
                   getAppletContext().showDocument(url, "_blank");
    }... just in case you wanna check it out.
    thanks for sparing me some of your time.     

  • Regarding URL Creation

    I want to submit a request to action class Lookup.do with in the Portal context. I have a struts portlet associated with the Lookup action. How to create portal url for Lookup action in the following jsp.
    <%@ page language ="java" import="javax.portlet.PortletURL" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="http://www.bea.com/servers/portal/tags/netuix/render" prefix="render" %>
    <%@taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
    <html>
         <head>
              <script>
                   function doSubmit() {
                        document.lookupForm.action = 'kop/Lookup.do';
                        document.lookupForm.submit();
              </script>
              <title>Struts Application</title>
         </head>
         <body bgcolor="red">
         <html:errors />
              <html:form action="Lookup">
              <p><font face="Arial" size="3" color="white"><bean:message key="test.Heading"/></font>
              </p>
                   <table>
                        <tr>
                             <td><font face="Arial" size="3" color="white">Login Name:</font></td>
                             <td><html:text property="loginName" /></td>
                        </tr>
                        <tr>
                             <td><font face="Arial" size="3" color="white">Password:</font></td>
                             <td><html:password property="loginPassword" /></td>
                        </tr>
                        <tr>
                             <td><html:submit /></td>
                        </tr>
                   </table>
                   Click here to continue.
              </html:form>
    </html>

    Lalit,
    It is almost certainly a problem with your proxy configuration, as it works fine for me (with no proxy in between).
    John

  • Regarding URL Connection Creation.

    Hi,
    I am trying to create a URL Connection in JDev 11.1.2, and using the following JDev RSS URL:
    http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/132361.xml
    However, when I am testing the connection, its saying "Specified URL Connection is not accessible.".
    However, the same link when I access from the browser, its accessible.
    I have tried setting the proxy as well but same result.
    Is this a known issue or am I missing something?
    Thanks,
    Lalit.

    Lalit,
    It is almost certainly a problem with your proxy configuration, as it works fine for me (with no proxy in between).
    John

  • Query regarding URL Encoding......in struts

    Hi Friends,
    I am working in Struts.
    Now in some cases i have to send some data (like some id or falg value ) in URL as queryURL.
    now when the page calls at that time on the address bar i saw the whole URL.
    I wanted to encode that URL.so that no one can undestand the actual parameter values and name.
    So can any one help me about this.
    Thank You,
    Ajay Patel

    You could simply POST the data as opposed to using GET. Though it doesn't encode/ encrypt the data, but simply adds the parameters into the body of the request. If someone were to look at your requests, they'd be able to see this data.
    As for actually hiding it through encryption, you could get JavaScript libraries to do this on form submit but I doubt you'd need that much security. You could also try base64 encoding for a simpler approach.
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    (Yes I know it's on JavaRanch but I think it applies everywhere)
    ----------------------------------------------------------------

  • Regarding URL Encoding in C#

    hello,
    We have a need to compress a string into a representation that is shorter than the original string then to decompress it.  I wanted to know if there is a way to do this in .NET for strings that are about 1000-1500 characters (not extremely long, but
    we need to compress them for use in a URL/querystring)(maximum length limit allowed is 256).
    plz help me i am a beginner in programming.....plzzzzzzzzzzzzzz
    <aside class="meta trailing-meta" style="font-family:inherit;padding:10px 0px;min-height:55px;border-top-width:1px;border-top-style:dotted;border-top-color:#d5d5d5;">
    </aside>
    Latheesh K Contact No:+91-9747369936

    I don't know what Magnus is on about with server urlencode.
    That's.... not going to do you any good at all.
    You could potentially zip a string and send that:
    public static void CopyTo(Stream src, Stream dest) {
    byte[] bytes = new byte[4096];
    int cnt;
    while ((cnt = src.Read(bytes, 0, bytes.Length)) != 0) {
    dest.Write(bytes, 0, cnt);
    public static byte[] Zip(string str) {
    var bytes = Encoding.UTF8.GetBytes(str);
    using (var msi = new MemoryStream(bytes))
    using (var mso = new MemoryStream()) {
    using (var gs = new GZipStream(mso, CompressionMode.Compress)) {
    //msi.CopyTo(gs);
    CopyTo(msi, gs);
    return mso.ToArray();
    public static string Unzip(byte[] bytes) {
    using (var msi = new MemoryStream(bytes))
    using (var mso = new MemoryStream()) {
    using (var gs = new GZipStream(msi, CompressionMode.Decompress)) {
    //gs.CopyTo(mso);
    CopyTo(gs, mso);
    return Encoding.UTF8.GetString(mso.ToArray());
    static void Main(string[] args) {
    byte[] r1 = Zip("StringStringStringStringStringStringStringStringStringStringStringStringStringString");
    string r2 = Unzip(r1);
    from
    http://stackoverflow.com/questions/7343465/compression-decompression-string-with-c-sharp
    However
    You might want to first consider using  a cookie instead if that is an option.
    Note that either way you will need some actual code running on the client in order to do this.
    Unless something very strange is going on then this would seem to not actually be an asp.net question.
    Since it's calling something on a web server as opposed to the thing that is called on that web server I would think this forum could well be the correct one.
    If this is to happen on a client from a web page then you will need javascript rather than c#.
    http://stackoverflow.com/questions/4570333/string-compression-in-javascript
    Please don't forget to upvote posts which you like and mark those which answer your question.
    My latest Technet article - Dynamic XAML

  • Query regarding URL redirection

    Hi,
    I have JSP 1 being hosted in one application server 1, i.e. thats the login page, on succesfull login i need to redirect the control to another JSP 2 hosted in another appilcation server 2.
    But if any user tries to access the JSP2 directly i need to throw up a message saying he is currently not logged in.
    So while redirecitng from JSP1 i need to pass some paramter or data which can be retrieved in JSP2 and decide on whether the user has come after successful logging in or direclty accessed the JSP2.
    If i save something in session,will that be accessible accross two differnet application servers
    Please let me know what approach can i take or some references
    Regards,
    Sandeep

    Ask in the JSP forum.

  • Help regarding URL class

    hi everybody ,
    iam havinga aprogram which is running infinitely which opens a connection to an url.
    everything works fine if for the first time internet is connected,
    but if the internet is not connected when the program starts then even if the internet connection is restored back i get a unknownhostexception

    try to start as much as possible new. create new instances of urls internetconnections ect.
    No guarantee that it works but that should be as close as possible to starting the programm new.

  • Invalid URL Pattern exception when deploying ear file

    Hi,
    I encountered some problem during deploying an ear file into SJSAS PE. This ear file has successfully been deployed into WebLogic Server and works fine.
    The error message is as follows:
    Deploying application in domain failed; Error loading deployment descriptors for module [wsgServerRel1_0] -- Invalid URL Pattern: [pfk/PfkMainServlet] Error loading deployment descriptors for module [wsgServerRel1_0] -- Invalid URL Pattern: [pfk/PfkMainServlet] The following is the relevant part regarding URL pattern:
         <servlet>
              <servlet-name>PfkMainServlet</servlet-name>
              <servlet-class>com.sns.pfk.servlet.PfkMainServlet</servlet-class>
              <load-on-startup>0</load-on-startup>
         </servlet>
         <servlet-mapping>
              <servlet-name>PfkMainServlet</servlet-name>
              <url-pattern>pfk/PfkMainServlet</url-pattern>
         </servlet-mapping>What else I need to do to make it work?
    Regards,
    Xinjun

    You have an error in your url-pattern. A url-pattern must either begin with a slash ("/") for the exact match or directory match or it could begin an asteric("*") for the extension match(refer to the servlet spec).
    In your case it should be something like:
    <servlet-mapping>
              <servlet-name>PfkMainServlet</servlet-name>
              <url-pattern>/pfk/PfkMainServlet</url-pattern>
    </servlet-mapping>
    or
    <servlet-mapping>
              <servlet-name>PfkMainServlet</servlet-name>
              <url-pattern>/pfk/*</url-pattern>
    </servlet-mapping>

  • IWeb as part of URL?

    I seem to recall reading that one of the enhancements in version 1.1.1 is that one can have shorter URLs -- iWeb need no longer show (I am assuming here that one is hosting it on Dot Mac and not using domain masking, etc.).
    In other words, instead of:
    http://web.mac.com/username/iWeb/sitename/pagename
    one could simply have:
    http://web.mac.com/username/sitename/pagename
    However, after upgrading, my URLs still include iWeb. Even if I create new sites.
    Any suggestions or comments?

    The only thing I remember regarding URLs is that after iWeb 1.0.1, you no longer have to type the trailing /iWeb/ on the URL....
    http://web.mac.com/yourname/iWeb <== used to be required
    http://web.mac.com/yourname <== now this takes you to the same place
    I don't recall anything else about further shortening of the URL. Now, if you are publishing more than one site to .Mac, then your must specify the entire URL down to the sitefolder...
    http://web.mac.com/yourname/iWeb/sitefolder1
    http://web.mac.com/yourname/iWeb/sitefolder2
    You don't need to specify the pagename because iWeb will setup the redirection index.html files for you. But you must not leave out the /iWeb/ part of the URL.
    I hope this "solves" your question. If so, please mark my reply as "solved" using the little buttons in the title bar of this reply. Thanks.

  • I need to achieve performance in using URL

    Which api better supports in increasing performance regarding URL
    * org.apache.tomcat.util.net.URL or java.net.URL*

    It's the requirement by our client. As of now we are using java.net.URL and running application with sequence of requests and responses. The requests are as high as more than 6000. So performance issue is came into picture. Our client needs to use apachi api. We dont know whether it'll increase performance or not, just to know whether apachi api helps us in this matter???

  • How to display success message in function module

    Hi Experts,
                      I am developing new function module regarding URL finder. As per my requirement ,
                                                 If USER ID is not provided -display SUCCESS MESSAGE and Provide sy-uname.
    how to display success message.if possible can You write the code.
    Thanks
    raju

    Hello,
    We can use an exporting parameter like single character field like 'S' for success and 'E' for error instead of a message.
    Another option is you can use the Tables parameter and populate Return table with error or success message. Return table of type 'BAPIRET2'.
    Hope this might help you!
    Regards,
    MM Jaffer.

  • How to do XMLDSig using third-party JCA providers?

    Hi all,
    Can anyone please let me know how to do XMLDSig using third-party JCA providers? The Sun XMLDsig documentation says that "A JSR 105 implementation SHOULD use underlying JCA engine classes, such as java.security.Signature and java.security.MessageDigest to perform cryptographic operations", but it doesn't say how to define the JCA provider programmatically. I don't want to change the Providers order in the security.properties file.
    Do we need to make any changes in the JCA provider classes to work with XMLDSig and XML encrypt?
    I'd appreciate your help.
    Joe

      How to identify whether the third party app has registered URL scheme or not. I also send a request mail to the third party app developers regarding URL scheme, but there is no reply from them.

  • Soap sender adpater issue missing sender interface and namespace in the msg

    Hi Expert,
    I got a problem when try to using soap sender adapter.
    Here is the sceanrio:
    Http web service client call ---PI soap sender adapter -some routing data-business system inbound.
    Sytem information:
    SAP_ABA     700     0019     SAPKA70019     Cross-Application Component
    SAP_BASIS     700     0019     SAPKB70019     SAP Basis Component
    PI_BASIS     2005_1_700     0019     SAPKIPYJ7J     PI_BASIS 2005_1_700
    ST-PI     2008_1_700     0001     SAPKITLRD1     SAP Solution Tools Plug-In
    SAP_BW     700     0021     SAPKW70021     SAP NetWeaver BI 7.0
    ST-A/PI     01L_BCO700     0000          -     Servicetools for other App./Netweaver 04
    Here is my problem. I use soapui trigger a test msg to PI system. But in the sxmb_moni, only sender service is there.
    The sender interface and sender namespace is missing. And the msg has error called: :INTERFACE_REGISTRATION_ERROR.
    Which means I do not have a inbound interface to process the msg.
    But I suppose to redirect the msg to business system.
    Here is the configuration:
    reciever determination: soap sender service, soap outbound interface, soap interface namespace --> reciever business sytem.
    Interface ditermination: soap sender service, soap interface --> receiver interface, receiver namespace.
    Sender agreement: soap service, soap itnerface --- soap communication channel
    receiver agreement, soap service---> receiver sevice, receiver interface, reciever namespace  and reciever cummunication channel
    define of soap sender adapter:
    soap sernder, with use encoded header and use query string checked and qos as exactly once.
    Anyone has any idea here? Many thanks! And most strange thing is yesterday it works and today it failed.
    Please kindly help here.
    Thanks a lot,
    Leon

    Hi guys,
    thanks for the input.
    Hi Sven,
    I have input default interface and namespace.
    Hi sivasakthi,
    Regarding mistype, it may happen, I will do it again right away.
    And the URL is generated by the wsdl toolkit in the directory.
    I marked use encoded header and query string in the communication channel.
    I will generate the wsdl again and test it again.
    Regarding URL(endpoint of web service):
    http://hostname:50000/XISOAPAdapter/MessageServlet?channel=:AGSSAL_SOAP:AGSSAL_SOAP_CC&version=3.0&Sender.Service=AGSSAL_SOAP&Interface=urn:a1s_saplivelinkcontent.service.sap.com^MI_O_AS_DELIVERNOTIFY_SOAP
    Again thanks for you guys help.
    Best regards,
    Leon

Maybe you are looking for

  • I have a MacBook Pro, 10.10.2 Yosemite. My external hard drive no longer appears on my screen or in Time Machine

    I have a MacBook Pro, 10.10.2 Yosemite. My external hard drive no longer appears on my screen or in Time Machine. I have gone into Disc Utility to repair disc, and get the message: Error: Partition map check failed because no slices were found. I was

  • Getting files off my pc to my mac. using an external hard drive

    i have brought a seagate hard drive. i am trying to get the stuff of my pc on to my mac. everytime i format the hard drive in the mac. i connect it to the pc and it says the drive needs formatting. i need help haha

  • MSVCR80.dll  Error 7  Windows Error 126

    This post concerns error message MSVCR80.dll and Error 7, Window error 126.  I got these error messages after installing the latest version of itunes.  The errors excaped thru my virus protection softwares, so I assume many other windows users got th

  • Java class not found : Run

    Installed Siebel server in console mode successfully.Invoked siebel server configuration wizard as below and have been experiencing the java error: siebel5@laatsc68 /siebel2/scapps/sieb80/siebsrvr/bin # ./ssincfgw -args LANG=enu MODE=LIVE MODEl_FILE=

  • Periodic housekeeping/data deletion in OLAP cube

    Hi All, We have a cube partitioned on date.Our agreed retention period of data is one year.Can you please suggest any standard daily housekeeping way to drop all the partitions older than 365 days.(Grateful if you give little details as-well). NB. We