And why do you have <html><body> in your Ajax.jsp? You just want to output a plain value.
-Fred On Tue, Jun 17, 2008 at 7:25 AM, raku <[EMAIL PROTECTED]> wrote: > > > Now the Ajax.jsp > <html> > <body><% > if(request.getParameter("ajaxrefno")!=null) > { > ResultSet rs=db.executeQuery("select mydate from display_table where > number='"+request.getParameter("ajaxrefno")+"' "); > if(rs.next) > { > out.print(rs.getString(1)); > } > } > -- Science answers questions; philosophy questions answers. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---