Menu

browser problem

Help
2006-12-16
2012-10-09
  • NARENDRAPRAKASH

    NARENDRAPRAKASH - 2006-12-16

    Hi

    I am using display tags in my project

    I am using decorator attribute in display:table. My code is

    public String startRow() {
    if(getPageContext().getRequest().getParameter("d-1588-e") == null) {
    Hashtable userDAO = (Hashtable) getCurrentRowObject();
    StringBuffer sb = new StringBuffer("<a href=\"alert('called')");

        System.out.println(&quot;recno is&quot;+userDAO.get(&quot;RECNO&quot;));
       // sb.append(userDAO.get(&quot;RECNO&quot;));
    
            sb.append(&quot;\&quot;  &gt;&quot;);
            System.out.println(sb);
            return sb.toString();
        }
        else {
            return &quot;&quot;;
        }
    }
    

    It is working in Internet explorer.It is not working in Netscape Browser..........

    I want to execute in netscape browser..
    Plz give me some help regarding this,........................

     
    • Chenna

      Chenna - 2006-12-22

      hi NARENDRAPRAKASH

      if you are creating any url , don't use back slash(), replace it with forward slash.

      Netscape and fire fox may cause problem while generating url

       

Log in to post a comment.