User Profile

Collapse

Profile Sidebar

Collapse
gsuns82
gsuns82
Last Activity: Aug 2 '10, 05:34 AM
Joined: Mar 17 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • gsuns82
    replied to Cross-Domain Cookies
    in Java
    Cross/Sub Domain Cookies

    Hi,
    I tried having two webapps
    (1) WebApp.domain.c om ==> here i add cookie in respose as follows

    Cookie cookie = new Cookie("namedCo okie","test");
    cookie.setDomai n(".domain.com" );
    response.addCoo kie(cookie);

    (2)WebApp1.doma in.com==>Here i tried to access the cookie as follows, but cant able to access

    ...
    See more | Go to post

    Leave a comment:


  • gsuns82
    started a topic Cross-Domain Cookies
    in Java

    Cross-Domain Cookies

    Hi All,
    I am trying to have two webapps such as WebApp1 and WebApp2.

    1. I am setting one cookie in WebApp1 in the HttpResponse.
    2. How to read the same cookie from HttpRequest at WebApp2?

    I know it sounds weired b'coz cookies are specific to websites, we cant access it from different webapp. But i heard of CROSS-DOMAIN cookies which can be shared across multiple webapps.How to implement this requirement...
    See more | Go to post

  • gsuns82
    started a topic Cross browser issue in createTextRange()

    Cross browser issue in createTextRange()

    the following code works fine in IE6 but does not work in Mozilla,any idea to fix this cross browser issue???

    Code

    Code:
    PastedText = document.getElementById("hiddenText").createTextRange();
    				   PastedText.execCommand("Paste");
    Regards,
    Sundar
    See more | Go to post
    Last edited by Dormilich; Aug 21 '09, 12:21 PM. Reason: Please use [code] tags when posting code

  • fixed using clipboard

    This is the requirement,if i let the white space along with the input that will be taken in account for the maxlength,so thr is no any other goes....anyway i have fixed it using clipboard

    Regards,
    Sundar
    See more | Go to post

    Leave a comment:


  • can u give me some samples?

    can u give me some sample code???it would be great if it could get the value while the user pastes it.

    Regards,
    Sundar
    See more | Go to post

    Leave a comment:


  • How to capture input value while user gives using ctrl+v???

    nope,it cant help me,i want to capture the user input when he/she uses ctrl+v,i have given an example

    Regards,
    Sundar
    See more | Go to post

    Leave a comment:


  • How to capture input value while user gives using ctrl+v???

    Hi all,
    Is it possible to read the input value given by the user by ctrl+v,how do we use java script to read the input?

    example: If the user selects a value using ctrl+c from some where and enters the value in my form's text field using ctrl+v ,how to fetch this value using javascript?

    Thanks in Advance,
    Sundar
    See more | Go to post

  • Hi friend,
    window.dialogAr gument returns the reference of parent window,
    the problem i face is parent window gets refreshed before the server side code gets executed,so the latest value is not reflected when i use javascript parent window refresh.....


    how to fix this?


    regards,
    sundar...
    See more | Go to post

    Leave a comment:


  • gsuns82
    started a topic Refreshing parent window from modal window?

    Refreshing parent window from modal window?

    Hi all,
    I am using modal window for some update purpose,
    the issue i am facing is,i am not able to refresh parent after closing
    modal window.

    The code i used:
    ------------------------

    For opening modal window from parent window:
    Code:
    showModalDialog("mypage.jsp",window,"dialogHeight:480px;dialogWidth:700px;");
    ...
    See more | Go to post
    Last edited by acoder; Oct 30 '08, 08:01 AM. Reason: Added [code] tags

  • thanks a lot,good one...
    See more | Go to post

    Leave a comment:


  • gsuns82
    started a topic How to use Jsp Implicit objects in javascript?
    in Java

    How to use Jsp Implicit objects in javascript?

    Hi,
    I am trying use jsp implicit objects in side a java script method.
    can any one tell me how to implement this requirement?

    <script>
    function fun()
    {
    var path = <%=request.getC ontextPath()%>;
    }
    </script>

    is the above mentioned a valid one,if not wats the right way to achieve this?

    ...
    See more | Go to post

  • gsuns82
    started a topic scjp1.6 dumps
    in Java

    scjp1.6 dumps

    hi,
    can any one mail me the latest dumps for scjp1.6?
    <removed>

    Thanks in advance,
    sundar
    See more | Go to post
    Last edited by r035198x; Mar 25 '08, 11:39 AM. Reason: posting emails is against site rules

  • gsuns82
    started a topic Help me in JMS
    in Java

    Help me in JMS

    Hi all,
    I am using Jms TopicPublisher and TopicSubscriber inorder to
    process multiple requests.

    summary of the requirement:
    *************** *************** ***
    1.TopicPublishe r.java it posts a message to Topic which will be read
    by the TopicSubscriber through a Listener.

    2.TopicSubscrib er.java as stated it reads the message from topic,performs
    my business logic using published...
    See more | Go to post

  • Having problem in org.apache.commons.httpclient.methods.PostMethod?? ??

    Hi all,
    I am not able to login a site using the following code,
    can anyone suggest me the right way?
    There is no any https connection.


    HttpClient client=new HttpClient();
    client.getParam s().setCookiePo licy(CookiePoli cy.BROWSER_COMP ATIBILITY);

    String userAgent="Mozi lla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)";
    String connection="Kee p-Alive";...
    See more | Go to post

  • gsuns82
    started a topic CommandLink problem?
    in Java

    CommandLink problem?

    Hi all,
    I have a commandLink in my jsp page.
    CammandLink:
    ----------------------
    <h:commandLin k action="#{searc hResultBeanCont roller.getProdu ctResults}" >

    The commandLink works fine when i click it,but this commandlink is not working when i use Rightclick open in newTab option or open in new window.
    I tried to replace commandLink with outputlink but...
    See more | Go to post

  • gsuns82
    replied to Problem with mac os safari browser...
    Hi,
    I tried a code for disabling cache on any browser,but the safari browser on mac os still caching my page,so that it shows the same items on print priview from its cache.
    The code:
    ***********
    [CODE=php]function ae_nocache()
    {
    header("Expires : Tue, 03 Jul 2001 06:00:00 GMT");
    header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
    ...
    See more | Go to post
    Last edited by acoder; Nov 12 '07, 11:41 AM. Reason: Added code tags

    Leave a comment:


  • gsuns82
    started a topic Problem with mac os safari browser...

    Problem with mac os safari browser...

    Hi all,
    The following code is not working properly in Mac os/safari browser.

    [CODE=javascript]function newWindow(){
    window.open('<j stl_core:url value="/pages/orders/printAllPacking Slip.jsf"/>','jav','width =500,height=500 ,resizable=yes, scrollbars=yes' );
    } [/CODE]

    The problem i am having is,the above newWindow() will be called inorder to print all items,i can able to retrieve...
    See more | Go to post
    Last edited by gits; Nov 12 '07, 08:08 AM. Reason: added code tags

  • gsuns82
    replied to CommandLink mouse right click problem!!!
    in Java
    We can expect Java programmers trouble shooting in JavaServerFaces .
    I got replies regarding JSF in the recent past.
    Anything wrong in it???

    Regards,
    sundar....
    See more | Go to post

    Leave a comment:


  • gsuns82
    started a topic CommandLink mouse right click problem!!!
    in Java

    CommandLink mouse right click problem!!!

    Hi all,
    I have a problem in CommandLink,whe n i use mouse right click open in new tab or open in new window over the CommandLink it shows a previous page instead of actual page.I tried to overcome this using <redirect/> tag in faces-config xml but its a vain eventually.

    No request is generated to server while trying open in new tab.

    Any of u ever had this issue,any suggestions???.
    Awaiting...
    See more | Go to post

  • gsuns82
    started a topic Help me in CommandLink problem???
    in Java

    Help me in CommandLink problem???

    Hi all,
    I am working with jsf framework now,I have a problem in commandLink.
    (i.e):When i use mouse right click,open in newTab or open in new window
    on the commandLink, it is not navigated to the actual page,it goes to the
    previous page of the commandLink page.
    commandLink works properly when we click it,not getting the desired
    result page on Right click open in newtab and as well as open in new
    window....
    See more | Go to post
No activity results to display
Show More
Working...