Re: How can I write the result of the request in another window?

2002-06-03 Thread Sandeep Kumar Agrawal, Noida
Hi !! Here is the solution to your query. Here are the contents of the file Test.jsp: function doTest() { var vHandle; vHandle=window.open(""); vHandle.document.writeln("Hello . It is magic"); } Hope this helps. Regards, Sandeep Disclaimer: This document

Re: How to redirect JSP to Servlet by clicking button?

2002-06-12 Thread Sandeep Kumar Agrawal, Noida
Hi!! The solution suggested by Gin is good. Here is one more easy way to do this. You can place these 3 buttons in 3 different forms. Make these buttons as "Submit" type. Set the "action" parameter of these forms as per your relative path of the destination servlet. e.g. value="<%=butt

Re: mending-error 500

2002-06-27 Thread Sandeep Kumar Agrawal, Noida
hi! most probably the reason of your problem is that strings are not properly taken care of in your program. Modify the line <%=sel%>> <%=dd%> as follows: > <%=dd%> Because the variable d may conatin strings with spaces. Hope this helps. Regards, Sandeep Disclaimer: This document is intend

slightly offtopic

2002-06-27 Thread Sandeep Kumar Agrawal, Noida
Hi All, I am working over SQL Server7.0 and ASP. Whenever I open a database connection from ASP using the command strDBURL = "Driver={SQL Server};Server=;Database=;Uid=sa;Pwd=" Set m_conDB = Server.CreateObject("ADODB.Connection") m_conDB.Open(strDBURL) Now if I checks the value of m_conDB.erro

Re: how to pass current value in function of jsp?

2002-07-03 Thread Sandeep Kumar Agrawal, Noida
Hi! This task is cerainly feasible, though not advisable to do so. Performing these kind of checks on client-side means that you need to hold some data in your page in form of some variables ( as part of tag). So you can first query for all the employee-ids in your jsp page and store those empl

Re: Problemas con la recursividad

2002-07-03 Thread Sandeep Kumar Agrawal, Noida
Hi!! are you talking of Javascript/vbscript code? If that is the case, you wont be able to access implicit jsp objects like Sesssion because client-side scripts get excuted on client side only. While these objects, which you are talking of, are available when the page is executed on server side.

Re: How to transfer information between JSP and Javascript?

2003-03-23 Thread Sandeep Kumar Agrawal, Noida
Hi Buddies, My views regarding this topic are somewhat different. I think it is not good to reload the page every time you want to access the next element in the array. The reason of "index" not getting auto-incremented is that array is being constructed on Server side. So every time page is gett