I am new to Selenium. This is my first attempt. And I want to access the Elements in the new window through Selenium RC. I have a page with a hyper link clicking on it will open new page. I want to enter username and password elements in the new window. Html Code is

Employee Login

and the new page elements are "emailAddress" and "password" for login. 

My selenium code is 

```
public static void main(String args[]) throws Exception
{
    RemoteControlConfiguration rc=new RemoteControlConfiguration();
    rc.setPort(2343);
    SeleniumServer se= new SeleniumServer(rc);
    Selenium sel=new DefaultSelenium("localhost",2343,"*firefox","http://neo.local/");
    se.start();
    sel.start();
    sel.open("/");
    sel.windowMaximize();
    //sel.wait(1000);
    sel.click("empLogin");
    //sel.wait(2000);       
    //sel.openWindow("http://myneo.neo.local/user/login", "NewNeo");
    //sel.waitForPopUp("NewNeo", "1000");
    //sel.selectWindow("id=NewNeo");
    Thread.sleep(20000);
    sel.type("emailAddress", "kiranxxxxx@xxxxxx.com");
    sel.type("password", "xxxxxxxx");

}

```

First I tried with normal approach, where it failed to identify the elements. Then I tried with open window and selectWindow options, where it through errors like 

```
"Exception in thread "main" com.thoughtworks.selenium.SeleniumException: ERROR: Window locator not recognized: id
at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:109)
at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:103)
at com.thoughtworks.selenium.DefaultSelenium.selectWindow(DefaultSelenium.java:377)
at Demo.main(Demo.java:24)"

```

Some one told me that it is not possible with Selenium RC. It can achieved through Selenium Webdriver only. Is it true? 

Please Help,
Thanks in Advance.