How to forward DHCP requests through 1140N AP

We have an 1140N AP connected to a switch and our "network partner" controls the router and will hand out DHCP and do the NAT for this WLAN.  How can I configure the AP to forward DCHP requests through.
I have WPA2 PSK (TKIP) setup and the client is able to authenticate however we fail to get an address.  In this case the Ethernet interface was left alone so it has the default config and it gets a DHCP address fine.  How can I configure this AP to enable the rest of the WiFI clients to get an IP?

Here is my cleaned config.  I put helpers everywhere and still can't an IP. 
I don't have control over the switch or router that this will plug into nor the setup.  The switchport it will plug into has a VLAN designated for Guest Wireless access.  I suspect that I need to redo the config without VLAN10 involved correct?
Current configuration : 4880 bytes
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
hostname [removed]
enable secret [removed]
no aaa new-model
dot11 syslog
dot11 ssid {removed]
   vlan 10
   authentication open
   authentication key-management wpa version 2
   guest-mode
   wpa-psk ascii 7 [removed]
crypto pki trustpoint TP-self-signed-1278736388
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1278736388
revocation-check none
rsakeypair TP-self-signed-1278736388
crypto pki certificate chain TP-self-signed-1278736388
certificate self-signed 01
  3082024D 308201B6 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 31323738 37333633 3838301E 170D3032 30333035 32323138
  33335A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 32373837
  33363338 3830819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
  8100BDA9 327F8A3C CFB3C216 F23AA107 CEEE007D CFC2A89C 9064A4F2 66A07EB7
  EB7F3602 74B505D1 9A374875 1DC71A58 607632F3 2A41250B 6BB79B68 D5C1E00D
  B7AA55EB 4E36668B 9BF92E94 C2B0699D A009902A D7A802D1 DCF699F2 99F20B0B
  D5BAB32F 3F8749B2 6C641CF2 6BC7FE8C 3078876C DAC97CFD 69BA42E5 98F81B37
  70830203 010001A3 75307330 0F060355 1D130101 FF040530 030101FF 30200603
  551D1104 19301782 1561702E 736F732D 61642E73 74617465 2E6E762E 7573301F
  0603551D 23041830 1680141A 78042A2D A7149DAC E90E1EAF 6496AB47 DF674630
  1D060355 1D0E0416 04141A78 042A2DA7 149DACE9 0E1EAF64 96AB47DF 6746300D
  06092A86 4886F70D 01010405 00038181 00B38305 C973DD31 F23C1B17 78181DF9
  A5A8A409 FDBAEF54 DF94DB89 815954EA 45322B5B BDB32C6A F0353228 ADD4A398
  CC249C49 A4C9C66D 08712AC7 7C5D12D5 C412933C 9E2893C3 4A432577 2FCA9A67
  2F89FF79 8FA0DECD 88CBB2C1 A5DA778A 80839D51 1883EEE7 A8754EC9 283E25E0
  7D91F064 AC633286 81232031 0BEF403E C1
  quit
username [removed] privilege 15 password [removed]
bridge irb
interface Dot11Radio0
no ip address
ip helper-address 10.135.14.1
no ip route-cache
encryption vlan 10 mode ciphers tkip
ssid [removed]
antenna gain 0
speed  basic-1.0 basic-2.0 basic-5.5 basic-11.0 basic-6.0 basic-9.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0 m0. m1. m2. m3. m4. m5. m6. m7. m8. m9. m10. m11. m12. m13. m14. m15.
station-role root
bridge-group 1
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
bridge-group 1 spanning-disabled
interface Dot11Radio0.10
encapsulation dot1Q 10
ip helper-address 10.135.14.1
no ip route-cache
bridge-group 10
bridge-group 10 subscriber-loop-control
bridge-group 10 block-unknown-source
no bridge-group 10 source-learning
no bridge-group 10 unicast-flooding
bridge-group 10 spanning-disabled
interface Dot11Radio1
no ip address
ip helper-address 10.135.14.1
no ip route-cache
encryption vlan 10 mode ciphers tkip
ssid [removed]
antenna gain 0
dfs band 3 block
speed  basic-6.0 basic-9.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0 m0. m1. m2. m3. m4. m5. m6. m7. m8. m9. m10. m11. m12. m13. m14. m15.
channel dfs
station-role root
bridge-group 1
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
bridge-group 1 spanning-disabled
interface Dot11Radio1.10
encapsulation dot1Q 10
ip helper-address 10.135.14.1
no ip route-cache
bridge-group 10
bridge-group 10 subscriber-loop-control
bridge-group 10 block-unknown-source
no bridge-group 10 source-learning
no bridge-group 10 unicast-flooding
bridge-group 10 spanning-disabled
interface GigabitEthernet0
no ip address
no ip route-cache
duplex auto
speed auto
no keepalive
bridge-group 1
no bridge-group 1 source-learning
bridge-group 1 spanning-disabled
interface GigabitEthernet0.10
encapsulation dot1Q 10
no ip route-cache
bridge-group 10
no bridge-group 10 source-learning
bridge-group 10 spanning-disabled
interface BVI1
ip address dhcp client-id GigabitEthernet0
ip helper-address 10.135.14.1
no ip route-cache
ip http server
ip http authentication local
no ip http secure-server
ip http help-path
http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
bridge 1 route ip
banner motd ^C
Access to this device is restricted to authorized users. Unauthorized access is a violation of state and federal, civil and criminal laws (e.g., NRS 205.4765). Evidence of unauthorized access will be provided to law enforcement personnel.
^C
line con 0
password [removed]
login local
line vty 0 4
password [removed]
login local
end
Current configuration : 4880 bytes
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
hostname [removed]
enable secret [removed]
no aaa new-model
dot11 syslog
dot11 ssid {removed]
   vlan 10
   authentication open
   authentication key-management wpa version 2
   guest-mode
   wpa-psk ascii 7 [removed]
crypto pki trustpoint TP-self-signed-1278736388
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1278736388
revocation-check none
rsakeypair TP-self-signed-1278736388
crypto pki certificate chain TP-self-signed-1278736388
certificate self-signed 01
  3082024D 308201B6 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 31323738 37333633 3838301E 170D3032 30333035 32323138
  33335A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 32373837
  33363338 3830819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
  8100BDA9 327F8A3C CFB3C216 F23AA107 CEEE007D CFC2A89C 9064A4F2 66A07EB7
  EB7F3602 74B505D1 9A374875 1DC71A58 607632F3 2A41250B 6BB79B68 D5C1E00D
  B7AA55EB 4E36668B 9BF92E94 C2B0699D A009902A D7A802D1 DCF699F2 99F20B0B
  D5BAB32F 3F8749B2 6C641CF2 6BC7FE8C 3078876C DAC97CFD 69BA42E5 98F81B37
  70830203 010001A3 75307330 0F060355 1D130101 FF040530 030101FF 30200603
  551D1104 19301782 1561702E 736F732D 61642E73 74617465 2E6E762E 7573301F
  0603551D 23041830 1680141A 78042A2D A7149DAC E90E1EAF 6496AB47 DF674630
  1D060355 1D0E0416 04141A78 042A2DA7 149DACE9 0E1EAF64 96AB47DF 6746300D
  06092A86 4886F70D 01010405 00038181 00B38305 C973DD31 F23C1B17 78181DF9
  A5A8A409 FDBAEF54 DF94DB89 815954EA 45322B5B BDB32C6A F0353228 ADD4A398
  CC249C49 A4C9C66D 08712AC7 7C5D12D5 C412933C 9E2893C3 4A432577 2FCA9A67
  2F89FF79 8FA0DECD 88CBB2C1 A5DA778A 80839D51 1883EEE7 A8754EC9 283E25E0
  7D91F064 AC633286 81232031 0BEF403E C1
  quit
username [removed] privilege 15 password [removed]
bridge irb
interface Dot11Radio0
no ip address
ip helper-address 10.135.14.1
no ip route-cache
encryption vlan 10 mode ciphers tkip
ssid [removed]
antenna gain 0
speed  basic-1.0 basic-2.0 basic-5.5 basic-11.0 basic-6.0 basic-9.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0 m0. m1. m2. m3. m4. m5. m6. m7. m8. m9. m10. m11. m12. m13. m14. m15.
station-role root
bridge-group 1
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
bridge-group 1 spanning-disabled
interface Dot11Radio0.10
encapsulation dot1Q 10
ip helper-address 10.135.14.1
no ip route-cache
bridge-group 10
bridge-group 10 subscriber-loop-control
bridge-group 10 block-unknown-source
no bridge-group 10 source-learning
no bridge-group 10 unicast-flooding
bridge-group 10 spanning-disabled
interface Dot11Radio1
no ip address
ip helper-address 10.135.14.1
no ip route-cache
encryption vlan 10 mode ciphers tkip
ssid [removed]
antenna gain 0
dfs band 3 block
speed  basic-6.0 basic-9.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0 m0. m1. m2. m3. m4. m5. m6. m7. m8. m9. m10. m11. m12. m13. m14. m15.
channel dfs
station-role root
bridge-group 1
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
bridge-group 1 spanning-disabled
interface Dot11Radio1.10
encapsulation dot1Q 10
ip helper-address 10.135.14.1
no ip route-cache
bridge-group 10
bridge-group 10 subscriber-loop-control
bridge-group 10 block-unknown-source
no bridge-group 10 source-learning
no bridge-group 10 unicast-flooding
bridge-group 10 spanning-disabled
interface GigabitEthernet0
no ip address
no ip route-cache
duplex auto
speed auto
no keepalive
bridge-group 1
no bridge-group 1 source-learning
bridge-group 1 spanning-disabled
interface GigabitEthernet0.10
encapsulation dot1Q 10
no ip route-cache
bridge-group 10
no bridge-group 10 source-learning
bridge-group 10 spanning-disabled
interface BVI1
ip address dhcp client-id GigabitEthernet0
ip helper-address 10.135.14.1
no ip route-cache
ip http server
ip http authentication local
no ip http secure-server
ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
bridge 1 route ip
banner motd ^C
Access to this device is restricted to authorized users. Unauthorized access is a violation of state and federal, civil and criminal laws (e.g., NRS 205.4765). Evidence of unauthorized access will be provided to law enforcement personnel.
^C
line con 0
password [removed]
login local
line vty 0 4
password [removed]
login local
end

Similar Messages

  • How to forward the request

    hi all,
    can somebody tell me how to forward the request from one context to another.
    thanks in adv.
    ritu

    Ritu, when you are talking about a different context are you talking about application, session and page contexts?? If yes, then I don't think you can forward a request to another context!
    If you are after a context (bean) from within your servlet, have you tried:
    mycontext = (MyContextClass)getServletContext().getAttribute("thenameofmycontext");HTH.

  • TS1702 I cannot get an unlocked version of drivesafe.ly to operate on any accounts on my iphone 4S and have had no help when I asked them for support.  I am now trying to figure out how to refund the product.  Anyone know how to make that request through

    I cannot get an unlocked version of drivesafe.ly to operate on any accounts on my iphone 4S and have had no help when I asked them for support.  I am now trying to figure out how to refund the product.  Anyone know how to make that request through itunes?

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • DHCP request through accesspoint and router

    This is how our setup is like:
    Laptops => Cisco 1100 AP(static IP) => Wired LAN (Subnet 1) => Cisco Router => Wired LAN (Subnet 2) => DHCP server
    What i would like is that the DHCP-request from our laptops is forwarded/relayed through the AP and Router to the DHCP-server and back.
    We dont want to use the AP's internal DHCP server but centralise this.
    At the moment i'v configured the AP through CLI and added the following command: ip dhcp-server xx.xx.xx.xx
    Where xx is the IP of the DHCP server
    On the Router i'v added the command ip helper-address xx.xx.xx.xx
    Where xx is the IP of the DHCP server
    Don't know if this is the correct way, but i do know it isn't working.
    Some help is realy appreciated.
    Grx,
    Joris

    You need at least the following connectivity for DHCP relay to work.
    Between the DHCP relay agent and the DHCP server:
    - UDP Port 67 <-> UDP Port 67
    Between the DHCP server and the DHCP client:
    - UDP Port 67 <-> UDP Port 68 (renewing/releasing a lease)
    - ICMP echo (Most DHCP servers check if an IP is still free)
    On the Cisco router you can use some debugging commands
    to check that relaying works.
    (This might produce a lot of output, careful on a production system.)
    #term mon
    #debug ip dhcp server packet
    #debug ip dhcp server events
    For Subnet 1 with the router's IP 10.0.0.1 and two configured
    DHCP servers (192.168.0.1, 192.168.9.1) as "ip helper" a successfull
    exchange looks like this:
    DHCPD: DHCPREQUEST received from client 0100.aabb.bbcc.cc.
    DHCPD: setting giaddr to 10.0.0.1.
    DHCPD: BOOTREQUEST from 0100.aabb.bbcc.cc forwarded to 192.168.0.1.
    DHCPD: BOOTREQUEST from 0100.aabb.bbcc.cc forwarded to 192.168.9.1.
    DHCPD: forwarding BOOTREPLY to client 00aa.bbbb.cccc.
    DHCPD: Forwarding reply on numbered intf
    DHCPD: creating ARP entry (10.0.0.49, 00aa.bbbb.cccc).
    DHCPD: unicasting BOOTREPLY to client 00aa.bbbb.cccc (10.0.0.49).
    #undebug all
    I would also try to ping the router's IP in Subnet 1 and a client
    with a fixed IP in Subnet 1 from the server. (The DHCP server uses
    this to check if a lease is actually free before handing it out)
    Otherwise it's time for packet sniffing on the DHCP server
    and the client. (snoop, tcpdump, ethereal)

  • DHCP requests through ASA

    Hi ,
    I have ASA5585 in routed mode (Check the attached diagram) , and my DHCP client on the inside , while the DHCP server is on the outside.
    I know that ASA can be configured as a DHCP relay , but there is a condition
    “DHCP clients must be directly connected to the ASA and cannot send requests through another relay agent or a router”
    Is this means that the setup in the attached diagram cannot work ?
    Is there any other way to make it work , without changing the ASA to transparent mode?

    Hi,
    I think the text above refers to a situation where you are actually using the ASA to Relay DHCP messages.
    You couldnt therefore use the ASA to relay DHCP messages that were relayed by another device behind the ASA. Though I dont know why the DHCP messages would need to be relayed twice.
    But as we can see in this case the L3 Switch is the device that handles the relay of DHCP messages to the actual DHCP server and the ASA doesnt have to do anything related to DHCP other than pass the unicast UDP traffic. Therefore you wouldnt be confiuring any DHCP related settings on the ASA and the above quote/limitation wouldnt apply to your setup
    So it seems to me that you can leave out all the DHCP/DHCP relay configurations from the ASA and just allow the traffic originating from the L3 Switch
    I might be able to lab this for you at some point at my home network if needed (Though naturally with different ASA model). Though I think we have several environments at work already that use an ASA5585-X (multiple context mode) where the customer Router uses "ip helper-address" to relay DHCP messages to a DHCP server located on a DMZ inteface of the ASA context.
    - Jouni

  • Forwarding DHCP requests

    Just looking for a confirmation that I haven't left anything out on my config for forwarding DHCP packets.
    My DHCP servers will be on 10.1.1.50/24 and 10.1.1.51/24. The users are on 10.1.2.0/24. If I'm to forward the packets from the user segment I have put the following statments on the interface they are connected to;
    interface vlan 101
    ip helper-address 10.1.1.50
    ip helper-address 10.1.1.51
    I have also put the following global statements:
    ip forward-protocol udp 67
    ip forward-protocol udp 68
    Is there anything I'm leaving out? This will be on a 6509 running 12.2 x IOS.

    FYI:
    Usage Guidelines
    Enabling a helper address or UDP flooding on an interface causes the Cisco IOS software to forward particular broadcast packets. You can use the ip forward-protocol command to specify exactly which types of broadcast packets you would like to have forwarded. A number of commonly forwarded applications are enabled by default. Enabling forwarding for some ports (for example, Routing Information Protocol (RIP) may be hazardous to your network.
    If you use the ip forward-protocol command, specifying only UDP without the port enables forwarding and flooding on the default ports.
    One common application that requires helper addresses is Dynamic Host Configuration Protocol (DHCP). DHCP is defined in RFC 1531. DHCP protocol information is carried inside of BOOTP packets. To enable BOOTP broadcast forwarding for a set of clients, configure a helper address on the router interface closest to the client. The helper address should specify the address of the DHCP server. If you have multiple servers, you can configure one helper address for each server. Because BOOTP packets are forwarded by default, DHCP information can now be forwarded by the software. The DHCP server now receives broadcasts from the DHCP clients.
    If an IP helper address is defined, UDP forwarding is enabled on default ports. If UDP flooding is configured, UDP flooding is enabled on the default ports.
    If a helper address is specified and UDP forwarding is enabled, broadcast packets destined to the following port numbers are forwarded by default:
    ?Trivial File Transfer Protocol (TFTP) (port 69)
    ?Domain Naming System (port 53)
    ?Time service (port 37)
    ?NetBIOS Name Server (port 137)
    ?NetBIOS Datagram Server (port 138)
    ?Boot Protocol (BOOTP) client and server datagrams (ports 67 and 68)
    ?TACACS service (port 49)
    ?IEN-116 Name Service (port 42)

  • How to Handle RMA Requests through EDI?

    Hi Folks,
    I have a quick question.
    In general, how do RMA Requests are handled through EDI.
    I don't want RMA requests created in SAP (through VA01) send via EDI.
    How can i handle this situation.
    Please reply in detail.
    Awaiting for your answer,
    Creasy Matt

    Hi veerendra reddy ,
    By default any web server can will have a thread pool to handle client req's.
    In your point also heavy burden to server you are telling that depends on this.
    we can configure this min & max size of this thread pool.
    by default it will be 0-1000 for tomcat server.
    I am not sure in which file this configuration will be.
    But I hope in server.xml or some xml file consists this info.
    If You what you can edit accordingly. to overcome your heavy burden to server.
    Thanks & Regards
    Nagendra

  • How to pass our request through WAP gateway.

    Hi,
    As mentioned in
    http://developers.sun.com/techtopics/mobility/midp/articles/network/index.html
    Java phones tries to reach the server directly, but how to connect to server if there is Gateway is present in between phone and web server
    (i.e. phone -> gateway -> server)
    in such a case how to make a connection to web server
    I tried with
       HttpConnection hc=Connector.open(url);
       hc.setRequestProperty("HttpProsy","proxy-ip");
    but its not working
    is there any other workaround to solve this problem
    Plz help
    @rjun

    Hi,
    use the af:commandLink and in the action property binding to your Managed Bean method. In this method, make what you need , and after that redirect to your url.
    The code will be some like that:
    public void myAction(){
    FacesContext ctx = FacesContext.getCurrentInstance();
    ExternalContext ectx = ctx.getExternalContext();
    HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
    response.addCookie(new Cookie("test","test"));
    try {
    ctx.getExternalContext().redirect(URL);
    response.sendRedirect(url);
    } catch (IOException ex) {
    ex.printStackTrace();
    ctx.responseComplete();
    }

  • DHCP Relay through another firewall

    Hello,
    I have set up two ISA Servers in my lab (learning environment).
    One faces the internet, the other one is in between the lan and the perimetral network.
    Sort of:
    LAN  <--- ISA2--->  DMZ  <---ISA1---> INTERNET.
    The thing is that the other office connects to ISA1 through a VPN-Site-to-Site, and it goes all fine except that ISA1 cannot take any ip from the dhcp server standing on the lan.
    I have read this: http://technet.microsoft.com/en-us/library/cc302680.aspx
    But in my lab, there are two isa servers , so I don't know how to send dhcp requests from isa1 to isa2 excepto for broadcast 255.255.255.255 , but the isa1 does not know how to forward that to the dhcp server in the lan.
    I am mixed up because I am not an expert and am learning now about this dhcp relay thing now.
    Thanks in advance!!
    Luis Olías Técnico/Admon Sistemas . Sevilla (España - Spain)

    Thanks a lot Keith.
    I was all wrong. The relation between perimeter and lan (in ISA2) is route. And as far as I have read, that is how it should be, when no external network is involved.
    I have a question, I feel doubtful about: When ISA1 takes the DHCP request, does he make a broadcast petition to 255.255.255.255 or a unicast request directly to dhcp-server machine ? , because the ISA1 machine is a DHCP relay so, when I configured it I
    was asked to write the ip of the dhcp server, then maybe it just knows where to send the dhcp requests from the client and does not perfom multicast 255.255.255.255 but unicast to the dhcp server ?
    EDITION: In the statistics of dhcp-server, there is no dhcp requests, so the traffic is not reaching it.
    I am still digging in. This is difficult for me.
    Luis Olías Técnico/Admon Sistemas . Sevilla (España - Spain)

  • Multiple HTTP requests through same connection

    Hi...
    I am writing an application which connect to its server through HTTP protocol and the server is basicaly a bunch of servlets hosted somewhere (Right not it in the tomcat running in my PC)
    I know that with Connection Keep-Alive header you can keep the connection alive and do multiple requests from the same server.
    Can some one point me to where can I find some sample code which shows how to send multiple requests through same URL conection or URL object. What i cant figure out is how to reset the URL connection or its streams a and make them send anotehr request message to the serverso server can respond.
    Or do I have to do this manualy (using sockets)

    You SHOULD be able to do a HttpUrlConnection method. However, I have hand-coded HTTP server and client apps and the keep-alive is rarely enabled in servers.
    This is due to better handling of millions of unique hosts requesting, unlike a network os, which is made the other way around.

  • Forward the request to a window with specific parameters

    page0.asp->page1.jsp
    When the user click submit button in page0.asp, it will post the form
    request to page1.jsp.
    page0.asp and page1.jsp are in separate machines. In page1.jsp, based
    on the parameter
    interfaceName, it will forward to different jsp pages. However, we want
    to forward the request
    to a window with parameter like the following, without the menu bar and
    toolbar.
    The question is how to forward the request to a window like that?
    window.open("test2.jsp",null,
    "height=500,width=500,status=yes,toolbar=no,menubar=no,location=no");
    //page1.jsp
    <%
    String interfaceName = request.getParameter("interfaceName");
    if (interfaceName != null)
    {        if (interfaceName.equalsIgnoreCase("id1"))
    url="/id1.jsp";
    else if (interfaceName.equalsIgnoreCase("id2"))
    url="/id2.jsp";
    else if (interfaceName.equalsIgnoreCase("id3"))
    url="/id3.jsp";
    //etc...
    request.getRequestDispatcher(url).forward(request,response);
    %>
    Please help and advise. thanks!!

    The server cannot decide where to send its response to. It can only send
    it to where the request came from.More specifically... to the server, the browser itself makes the request. Where the browser wants to put the response is entirely up to the browser.
    Unfortunately, you can't really use ECMAScript (JavaScript) after the response is returned to redirect it. I suppose you could copy the DOM contents of the response page into another frame's document or something, but that's just ugly.
    and don't cross-post...

  • Forwarding a request with a EFFECT

    can anyone help me on how to forward a request to a jsp from a servlet. I wanna the jsp file name to be seen on the web address bar and not the servlet name.
    this is how i do the forwarding inside the servlet
    request.setAttribute("jCustomer", custBean);
    request.getRequestDispatcher("CreateAccount.jsp").forward(request, response);and this will appears on my address bar"http://localhost:8000/createAccountApp/JunYong'sServlet"
    but can i have something like this "http://localhost:8000/createAccountApp/CreateAccount.jsp"
    to make things clearly, when i clicks on Post New Question, i will be brought to this webaddress
    "http://forum.java.sun.com/post.jsp" then i put in my queries. After i finsihed writing and clicks on Preview button, I am brought to another webaddress
    "http://forum.java.sun.com/preview.jsp". Therefore, I as a user can see clearly where i am brought to and this is the effect i want to achieve.
    So anyone want to help me on this?
    Thanks sincerely

    i tried your method and it works, the jsp name is displayed on the web address. but i think you get me wrong perhaps i didn't elaborate well enough.
    1--> In simple words, the client first came to this jsp named "CreateAccount.jsp".
    2--> He/she then enters their particulars and later clicks on the submit button when they are done.
    3--> This jsp will follws the form action and came to this servlet.
    4--> The servlet will do some processing on the data and lastly passed the results back to the client on the same jsp, "CreateAccount.jsp".
    5--> Before sending, the servlet will set a javabean as an attribute req.setAttribute("jCustomer", custBean) and forwards it. req.getRequestDispatcher("CreateAccount.jsp").forward(req, res)6--> Back to the jsp, on the lower potion, the results are retrieved and displayed from that same javabean passed by the servlet.
    I did use this method as suggested by jackychow "res.sendRedirect("CreateAccount.jsp")". It works as the jsp name are displayed on the web address bar. However, the javabean, "jCustomer" were not set because HttpResponse have no setAttribute() like the HttpRequest. This causes the result not to be displayed on "CreateAccount.jsp".
    My ideal scenario is to dispaly the jsp name onto the webaddress bar and to retrieve information from the same javebean set by the servlet. Is is possible for this to be done on the same jsp???? :-]

  • Do client dhcp requests go through the lwapp tunnel

    do client dhcp requests go through the lwapp tunnel?
    for local not h-reap.
    do they drop out of the lwapp tunnel and hit the dynamic interface and get forwarded to whatever the dhcp is for that vlan?

    The WLC will dump the traffic out on the appropriate dynamic interface. This interface is how the wireless communicates to that particular vlan.

  • How to get JSP to forward a request over SSL?

    I'm new to JSP and servlets, although I've been working with Java for a long time. I'm trying to write a simple user registration and login system to teach myself JSP. I would like to set things up so that the user is able to login securely over https. I'm not sure how to do that, though. There seems to be no place in the relative URLs to indicate that you should be forwarding a request over SSL. I've got sample login page below - would anyone know how to modify it so that it happens securely?
    Also, do I need to install a certificate on my web server?
    index.jsp
    <html>
        <body>
            <h1>Index</h1>
            <a href="login.jsp">Login</a>
        </body>
    </html>login.jsp
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <body>
            <h1>Login</h1>
            <jsp:useBean id="userLogin"
                         class="com.kitfox.webrpg.UserLogin"/>
            <jsp:setProperty name="userLogin"
                             property="*"/>
            <%if (userLogin.isValid()) {%>
            <jsp:useBean id="userId"
                         class="com.kitfox.webrpg.UserIdent"
                         scope="session"/>
            <jsp:setProperty name="userId" property="*"/>
            <jsp:forward page="index.jsp"/>
            <%} else {%>
            <form action="login.jsp" method="post">
                <fieldset>
                    <legend>Enter login information</legend>
                    <label for="login">Login</label>
                    <input type="text" name="login" value="${userLogin.login}"/> <br/>
                    <label for="password">Password</label>
                    <input type="password" name="password"/> <br/>
                    <input type="submit" value="submit">
                </fieldset>
            </form>
            <%}%>
        </body>
    </html>

    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Secure Login</web-resource-name>
    <url-pattern>/login.jsp</url-pattern>
    </web-resource-collection>
    <user-data-constraint>
    <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    This code is used basically for different authentication type . Forward to any jsp under any layer works with <jsp:forward> or else try with request.getRequestDispatcher(" url (can be absolute or accurate path)").forward(request,response);
    Edited by: user8483670 on Mar 13, 2011 9:46 PM

  • How to send a request and get a response through xml

    How to send a request and get a response through xml files?

    This is the code that works for me. Hope you find it useful.
         public static String sendHttpGetRequest(String endpoint, String requestParameters){
              String result = null;
              // Send a GET request to the servlet
              try{
                   // Send data
                   String urlStr = endpoint;
                   if (requestParameters != null && requestParameters.length () > 0){
                        urlStr += "?" + requestParameters;
                   URL url = new URL(urlStr);
                   HttpURLConnection conn = (HttpURLConnection) url.openConnection();
                   conn.setRequestProperty("Accept", "application/xml");
                   // Get the response
                   BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
                   StringBuffer sb = new StringBuffer();
                   String line;
                   while ((line = rd.readLine()) != null){
                        sb.append(line);
                   rd.close();
                   result = sb.toString();
              } catch (Exception e){
                   e.printStackTrace();
              return result;
         }

Maybe you are looking for

  • Mac User Cannot Use Form Created in Windows Acrobat 9.0 Pro

    I have created a form and emailed it to a Mac user.  He does not know what version of Acrobat he has or even if he is using a full version of Acrobat or Acrobat Reader (I tried to walk him through to check his version, but he could not find it). He i

  • Evdre encountered an error while retrieving the data

    hi all i have an error "evdre encountered an error while retrieving data" evdre addin evdre cannot retrieve data working on ms 7.0 bpc excel 2003 i have gone thru the sap service place and found that i have to replace 2003 to 2007 please let me know

  • Xmonad Magnifier conflicts with LayoutCombinators?

    Has anyone else noticed that using the Magnifier Layout together with the layoutCombinator does not work? The magnify toggle works but cycleThroughLayouts does not. If I remove maximizeVertical I can cycle fine. Here is my layout hook: myLayoutHook =

  • Which version lightroom for non-intel mac 10.5.8

    Which Version of Lightroom works best with a (non-Intel) Mac 10.5.8?  Thank You.

  • Substitution in posting the document

    Hi All,        I am using direct input method to post the Fi documents. Documents are stored in BSEG table at end after posting happens. Mean while while posting happens some substitution takes place. eg., If profit center is 111 according to susbsti