Multilingual based on client IP

Hi all, i'm newbie in adf and i'm facing problem:--
i'm making multilingual functionality on page,which is based on ip of client m/c ...based on tht it tells locale and on basis of locale .....corresponding property file will call.
so on jsp page drop down will come showing various countries in it.when user selects value in tht drop down,page language will get change to native language.
so wht i need is values in drop down connected to some managed/backing bean.
It'ld be better if someone provides me sample application containing this functionality.
Thanks in advance.

Hey the other post will help you. Put the getSelectItemList method in your backing bean and bind the selectItemsList to your drop down in the jspx. That should work.

Similar Messages

  • A good (multilingual) Web Based FTP Client for OS X Server?

    Hi,
    I currently have an SFTP server running and would like to also add a Web-Based SFTP client to the server (via web services).
    Does anyone know of a good Web Client that I could add to this server so that users do not have to have a standalone app (Like CyberDuck or FileZilla?)
    THanks,
    J

    ... still searching

  • ACE: Can I loadbalance based on client Source IP/and client tcp source port?

    We recently migrated serving a client from being thick client at the desktop to being served via a citrix farm.  Prior to the migration the clients came from about 5000 unique source IP's to their VIP, now they come from only 31 unique source IP's from the citrix servers in the farm. A citrix server can host 400 client sessions, since the default action of the ACE is to loadbalance based on source IP's, the ACE is sending up to 400 sessions from one citrix server to 1 real server in the farm.  Is there anyway I can loadbalance based on client source IP and tcp source port so the ACE views the 400 sessions from one citrix server as unique sessions?  The application does not require persistence.

    Hello,
    Yes, you can configure a "Sticky Layer 4 Payload" as descirbed on this Link:
    http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/ace/vA2_3_0/command/reference/sticky.html#wp1039276
    Unfrotunately I do not have any working example. You must calculate the right values for the Offset and the Length to configure.
    Regards Jean-Marc

  • Best practices for securing communication to internet based SCCM clients ?

    What type of SSL certs does the community think should be used to secure traffic from internet based SCCM clients ?  should 3rd party SSL certs be used ?  When doing an inventory for example of the clients configuration in order to run reports
    later how the  data be protected during transit ?

    From a technical perspective, it doesn't matter where the certs come from as there is no difference whatsoever. A cert is a cert is a cert. The certs are *not* what provide the protection, they simply enable the use of SSL to protect the data in transit
    and also provide an authentication mechanism.
    From a logistics and cost perspective though, there is a huge difference. You may not be aware, but *every* client in IBCM requires its own unique client authentication certificate. This will get very expensive very quickly and is a recurring cost because
    certs expire (most commercial cert vendors rarely offer certs valid for more than 3 years). Also, deploying certs from a 3rd party is not a trivial endeavor -- you more less run into chicken and egg issues here. With an internal Microsoft PKI, if designed
    properly, there is zero recurring cost and deployment to internal systems is trivial. There is still certainly some cost and overhead involved, but it is dwarfed by that that comes with using with a third party CA for IBCM certs.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • How to install a java based irc client into a hand...

    I've tried to install a java-based irc-client, but all I get is a webpage thanking for downloading. Something is updated for a while, but no application nor any new files seem to have been stored into the handheld nor mem-card.
    Is there a way to installa programs straight from the web other than Ovi-service. I dod not find any links nor feature to browse outside the OVI-store selection. Ovi however loaded with the installer in my phone, XpressMusic 5310.
    B.Sc Information tech
    Phones I have or used to have: ancient Ericsson, Nokia: 6510, 2610, 5310 XpressMusic

    Hey you can create java client using Eclispe or WSAD or far that matter any other IDE. crate a project save the WSDLs in a package. Right click on WSDL goto webservice option. From there you can generate client.
    cheers,
    sapan
    Is it still open ?
    cheers,
    sapan
    Edited by: sapan on Feb 25, 2009 1:17 AM

  • Joining spreadsheets based on Client Id Number

    Hi
    I have two spreadsheets .
    Spreadsheet 1 has sales rep name , client id , name of client
    Spreadsheet 2 has client id ( not in same sequence as spreadsheet 1 ) , client name , client address , tel numbers
    I would like to combine spreadsheet 1 , i.e. rep name , client id , name of client together with address and contact details on spreadsheet 2  . Spreadsheet one is based on client id , and only contains active client id numbers , whereas spreadsheet
    2 contains all existing client id numbers .
    How do I do it ?

    Assuming Client ID is in column B of both SS1 and 2, and by spreadsheet you mean separate files, not separate tabs within one workbook.
    Open both spreadsheets, then in SS1 type in a cell on row 2 of the first blank columns to the right of your data:
    =VLOOKUP($B2,
    then navigate to SS2, and select the entire columns of information with Client ID as the first column of the selection, and press F4 until you get all $ for both columns, (should look like this:
    =vlookup(B2,'[File Name.xlsx]Sheet Name'!$B:$E
    and then type 
    , COLUMN(B2), False)
    and press Enter. Then copy that cell down and to the right to match your data set and extract as many columns of data as you have.

  • Providing Access based on Client IP Address

    Current Scenario  -
    SAP Portal is accessible directly and via Citrix (VPN).
    Based on the URL alias - we have implemented Desktop Filtering.
    eg if the URL ends with / internet - You get restricted roles
    eg if the URL ends with / intranet - You get wider roles
    In Production, we also have Netscaler Reverse Proxy and HTTPs settings in place for External (outside firewall) access.
    New Requirement (Example) -
    Based on the IP address of the client, determine which subnet it falls under and based on that -
    If used within Citrix - Provide certain roles
    If not used within Citrix - Restricted access / Redirect to a different URL on the redirect server.
    Questions -
    With the current desktop filtering in place based on URL determination and no specific restriction for inside/outside Citrix access -
    1 - Please suggest which would be a good way to crack this? Inside Portal (IP address determination and SAP Logon modification) / Outside Portal (eg Citrix, Network OS Exit, Reverse Proxy etc) based on Best Practise ?
    2 - Not sure if this is relevant : Find IP address of Client with webdybpro (This API works only in Web Dynpro and not PDK) ? I believe tweaking SAP Logon logic can get very painful  and overtly complicated for such scenarios.
    Thanks for your inputs ~ Dhanz

    Vivek,
    On the coding front -
    1 - Will reading the IP address  in the header field x-forwarded-for retrieve right results if reverse proxy is in place ? Wouldnt it retrieve the proxy / load balancer IP instead of Client IP ?
    2 - Also we have HTTPS settings for extranet access - So encrypted data (eg Client IP ) is transferred that the Web Dispatcher cannot manipulate ?
    Please suggest.
    Remember to be polite
    Edited by: Anja Engelhardt on Jan 27, 2012 11:27 AM

  • Specify WSUS server based on client location boundary

    Hello. We are currently using SCCM 2012 R2 to do OSD at our main site, and I'm in the process of getting OSD working at our eight remote locations. Unfortunately, we haven't set up SUP yet (it's coming soon...I hope). So, in the interim, we specify our WSUS
    server in the task sequence during imaging; or, inject updates into the WIM using a script if the latest updates "break" OSD. However, this poses a bit of a problem for our remote locations.
    Currently, all our remote locations have their own OU in AD, and boundaries are set based on their OU. We also have IP address range boundaries at our remote locations so that unknown machines will get assigned to the correct boundary during imaging. Additionally,
    we have a DP on-site at every remote location. Testing with our current task sequence shows that content is being pulled from the correct DP during imaging at the remote location (not across the WAN, which is great). But, I'm not sure how I would go about
    adding a task sequence step that would specify each remote location's on-site WSUS server.
    I'd rather not create eight more task sequences just to specify the WSUS server for each location, since managing one task sequence would be ideal. And, the fact that we will have SUP up soon, means we won't have to deal with this for long. So, is there
    a way to check what boundary the machine is in during imaging, and make a task sequence step only run if it's in that boundary? I really appreciate and help and/or advice anyone can give me. Thanks. 

    Write a script that keys off of the IP gateway of the systems and then branches to set the WUA/WSUS registry values appropriately.
    Alternatively, add 8 steps to the task sequence, each setting the appropriate WSUS serve in the registry for one location and add a WMI condition to the task that allows it to execute only if the client has the correct IP Gateway.
    Branching based on the IP Gateway is the common denominator here are that's indicative of the client's locations. You could also use OU but IP Gateway is the standard method.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • HTTP redirect based on client IP

    Hello,
    Is anyone aware of a method to redirect an HTTP request based on the Client IP using ICM/Web Dispatcher?
    The "icm/HTTP/redirect_" parameter doesn't appear to allow you to use the client IP as a criteria for the redirect, and I have not been able to find any other indication of how this might be accomplished on SMP, SDN, or Online Help.
    The goal of this is to perform a protocol switch and redirect all HTTP requests from a specific IP range to HTTPS.
    thanks!
    John

    Just a thought:
    Have two instances of Web Dispatcher, listening on different ports.
    Split incoming connections to different ports, whichever way is available:
    1. Ask you network team to forward request from one subnet to one port and another subnet to another port.
    2. On Windows server use RRAS
    3. On any server use software routing;
    4. Setup routing appliance before the server.
    Not too elegant, but should work...
    Regards,
    Slava

  • Role based on Client IP

    Hi all. A customer would like to assign a role to users based on their
    IP address. I've taken a look to the Developer Kit and I've seen the
    Client IP is available only for Authentication Condition and not for
    Role Condition.
    Is there another way to achieve this? Thanks,
    Alessandro
    afolli
    afolli's Profile: http://forums.novell.com/member.php?userid=6964
    View this thread: http://forums.novell.com/showthread.php?t=382220

    Hey the other post will help you. Put the getSelectItemList method in your backing bean and bind the selectItemsList to your drop down in the jspx. That should work.

  • Logo on SAP easy access to based on client ID

    hi ,
    we have requirement to upload 2 logo to appear on sap easy access based on the client ID  those logo's has to be appear ..
    please share how to acheive this.
    thanks
    Guru

    Hi,
    Which procedure you follow to upload the image?
    Please follow the steps..I have same environment like you and i successfully uploaded.. Hope this will help you...
    T.code : SMWO
    "X - Binary data for WebRFC application "
    <Enter>
    < Execute>
    Go to Settings-Maintain MIME types
    Click " Create"
    Type : image/gif EXTENSION:.GIF , " SAVE"
    Go to Binary data for WEBRFC , < Create>
    Obj.name : Z<name>.GIF Description: Company Logo
    " Import" .Specify the path name where your .GIF file locatd.
    < Transfer>
    Your logo must br shown in the Binary data for WEBRFC
    Now go to the t.code SM30- Go to " Table/ VIew- SSM_CUST
    < Maintain> < New Entries>
    The entries should be like below..
    Name                                                        Value to be set
    START_IMAGE                                        Z<name>.GIF
    RESIZE_IMAGE                                        NO
    Now log off and log in. You can see the logo in the right hand side of the SAP screen.
    With Regards
    Bhuban

  • Pushing Port Descriptions based on Client changes using PI2.0

    Is it possible to write a template or job in PI to catch a trap for a client change on a wired network and push an interface description to the related interface based on that change ? For example, 802.1x client authenticates to port fa0/13 on switch1, trap is sent to prime (assuming one can be sent) prime runs a configuration template to update the description on that port with the 802.1x name of the client that authenticated ?
    I can think of a few ways to do this using perl and snmp but am hoping that there is a way to do this with PI.
    Thank you in advance for any assistance.
    Dave

    Hi Chris,
    Prime can sense the TRAP but based on traps prime automatically create or push configuration template is not possible as far as I know.
    Thanks-
    Afroz
    [Do rate the useful post]
    ****Ratings Encourages Contributors ****

  • Set NAT's Default Host based on client ID, not IP

    Hello,
    Is there a way to set the NAT's default host to a "Client ID" instead of an internal IP address? I need this because often my PC's IP change and I need to update it manually in the Airport, causing it to restart and breaking all internet in my house.
    What happened to "it just works" ?

    Hi!
    In Airport Utility you have to go to Network tab. There you can add a DHCP reserve for your computer based on it's MAC adress. This way your computer will be always in the same IP.

  • Socket freezes based on client connectivity...

    Hello,
    We've been suffering through a problem in our game for several months, and I have yet to identify why the problem occurs. I've written a small program that duplicates the problem, perhaps someone here will be familiar with what's causing it, and be able to help.
    The problem occurs when one of the connected clients loses internet connectivity (usually this is due to people with microwave style or dial-up connections to the internet that lose their signal). The data continues to be transmitted to their socket, and appears to queue up locally to a certain point. After the queue reaches a certain size, the server thread blocks, and will not continue past the point of sending that data to the 'locked' socket. So a single player's locked connection ends up freezing everyone else's screen updates, as well.
    We've been able to emulate the problem by using the WinXP telnet client and bringing up the right-click menu. (This appears to make the telnet client stop accepting data from the server, so the data queues up and the server locks.)
    The three source code files to duplicate this problem can be downloaded in an archive from here: http://www.aros.net/~rumour/TestServer.zip
    I will also paste the code in-line the post, following the remainder of my message.
    The main method is in TestServer, which will bind to port 1234 of the machine on which it's run. To duplicate the problem, use telnet to make a connection to the server. (The server constantly streams data, so that it won't take long for the queue to fill, and the problem to manifest itself.) Launch a second telnet window which you can freeze (as I mentioned, by right-clicking on a WinXP telnet window [so right-click menu, Mark, Copy, Paste, etc., is visible], and then leaving that menu up, seems to be a great way to duplicate the problem) and connect it to the server also. Freeze the 2nd connection, and observe the 1st. After a short period of time, the 1st connection will also stop updating.
    My hope with SocketChannels was that it might bypass the problem, however, it occurs with this implementation, as well. (Was trying to force a non-blocking socket solution, in case that was the problem.)
    Does anyone have any ideas or experience with a similar problem? We would be most appreciative of any solutions, suggestions, alternatives, or insight into what's going on. And if you'd enjoy seeing the game, please visit http://mtrek.game-host.org - it is a telnet based, real-time space combat game, based on the classic MTrek.
    Thank you for your time,
    J.
    TestServer.java
    import java.net.BindException;
    import java.net.InetSocketAddress;
    import java.net.ServerSocket;
    import java.nio.channels.ServerSocketChannel;
    import java.nio.channels.SocketChannel;
    public class TestServer {
      public static void main(String[] args) {
        TestConnections tc = new TestConnections();
        tc.start();
        // establish server socket, and bind to a port
        try {
          ServerSocketChannel ssc = ServerSocketChannel.open();
          ServerSocket sc = ssc.socket();
          sc.bind( new InetSocketAddress( 1234 ));
          SocketChannel client;
          do {
            client = ssc.accept();
            if (client != null) {
              System.out.println( "Socket connection accepted: " + client.toString() );
              tc.addClient( client );
          } while( true );
        } catch( BindException be) {
          System.out.println("Error binding to port.");
        } catch( java.io.IOException ioe) {
          ioe.printStackTrace();
    TestConnections.java
    import java.util.Vector;
    import java.nio.channels.SocketChannel;
    public class TestConnections extends Thread {
      private Vector clients;
      private int dataLine;
      public TestConnections() {
        clients = new Vector();
        dataLine = 0;
      public void addClient( SocketChannel client ) {
        TestClient tc = new TestClient( client, this );
        clients.addElement( tc );
        tc.start();
      public void removeClient( TestClient client ) {
        clients.remove( client );
      public String getDataLine() {
        // rotate through printable characters, 32-126
        StringBuffer sb = new StringBuffer();
        for (int x = 0; x < 72; x++) {
          sb.append( (char) (((x + dataLine) % 95) + 32) );
        sb.append("\r\n");
        dataLine++;
        return sb.toString();
      public void run() {
        try {
          do {
            Thread.sleep( 10 );
            // loop through all clients, and transmit data
            for (int x = 0; x < clients.size(); x++) {
              TestClient curClient = (TestClient) clients.elementAt(x);
              String transmitString = getDataLine();
              curClient.sendData( transmitString );
          } while( true );
        } catch( InterruptedException ie ) {
          ie.printStackTrace();
    TestClient.java
    import java.nio.ByteBuffer;
    import java.nio.channels.SocketChannel;
    public class TestClient extends Thread {
      private SocketChannel client;
      private TestConnections connections;
      public TestClient( SocketChannel clientSocket, TestConnections connectGroup ) {
        client = clientSocket; 
        connections = connectGroup;
      public void sendData( String data ) {
        try {
          client.write( ByteBuffer.wrap( data.getBytes() ));
        } catch( java.io.IOException ioe ) {
          ioe.printStackTrace();
          connections.removeClient( this );
      public void run() {
        try {
          do {
            Thread.sleep(10);
          } while( true );
        } catch( InterruptedException ie ) {
          ie.printStackTrace();
    }

    I've come to a workaround that, while I'm not particularly happy with it, it works. Before the actual transmission of the data, I instantiate a Timer object that will kill the socket unless the send succeeds within a certain amount of time. The reason I'm not particularly happy with this, is that the transmit method is called very frequently. That's a lot of extraneous Threads getting spawned and killed. I'd prefer to solve this another way, but this is working for the time being.
    For instance, in my sample code, I altered the client sendData method to look like:
    public void sendData( String data ) {
        try {
          Timer timeToKill = new Timer();
          timeToKill.schedule( new TestTimer( this ), 5000);
          client.write( ByteBuffer.wrap( data.getBytes() ));  // you have 5 seconds to comply
          timeToKill.cancel();
        } catch( java.io.IOException ioe ) {
          ioe.printStackTrace();
          connections.removeClient( this );
      }And added a new class, TestTimer.java:
    import java.util.TimerTask;
    public class TestTimer extends TimerTask {
      TestClient clientToPotentiallyDestroy;
      public TestTimer( TestClient t ) {
        clientToPotentiallyDestroy = t;
      public void run() {
        clientToPotentiallyDestroy.kill();
        try {
          clientToPotentiallyDestroy.client.socket().close();
        } catch( java.io.IOException ioe ) {
          ioe.printStackTrace();
    }Before each write call [ client.write(...) ] in the sendData method, a new Timer thread is created with an arbitrary wait period (I actually lowered it to 1 second in the game itself, since it should immediately be able to dump the data to the socket unless it's already been queuing up for quite some time) if the write succeeds within that time, the Timer gets cancelled, and program continues. If the write does not succeed within the specified time, the TestTimer object gets called from the Timer, and the 'offending' socket gets closed by force. This kills the client Thread which ends up blocking the program execution because of the size of the send queue.
    Hopefully, this may help someone else encountering a similar problem, although I'm still hoping for a more elegant solution.
    --J.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Interoperability: WSDL-based Java client with MS SOAP server

    Does anybody have the experience with a Java client communicating with Microsoft
    SOAP server based on the WSDL protocol? My initial experiece shows a lot of problems.
    Any information in this regard is appreciated.
    Thanks

    I'm experiencing the same sort of problem too.
    I downloaded Bea Web Service Broker in order to test some MS Soap-based web services
    before developing some Weblogic EJBs which are to use them, since both of them
    (WS Broker and Weblogic EJBs) are said to use the same underlying package of Java
    classes to access any web service.
    Most of the MS web services won't work with this tool. I have problems with remote
    methods that have one or more parameters (the remote methods seem not to get them)
    and also with some web services that raise FileNotFoundExceptions from URLs (rather
    odd to me) on the Broker, despite the fact those URLs are valid.
    Any hint or suggestion will be very appreciated.

Maybe you are looking for