Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~11.7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for sasi_88

hi, i want to disable the back button in IE browser. i have the code but it's not working logout.jsp [CODE] <script language="javascript"> window.history.forward(); </script> [/CODE] i don't know where to put the script code it is put in the logout.jsp file or before please help me out of this

Member Avatar for Satyaveer1990
0
5K
Member Avatar for sasi_88

[CODE] <html> <head> <script> function A() { var oas = new ActiveXObject("Scripting.FileSystemObject"); var d = document.a.b.value; var e = oas.getFile(d); var f = e.size; alert(f + " bytes"); } </script> </head> <body> <form name="a"> <input type="file" name="b"> <input type="button" name="c" value="SIZE" onClick="A();"> </form> </body> </html> <html> <head> <script> function A() …

Member Avatar for Stefan_Lam88
0
139
Member Avatar for sasi_88

[CODE] Class.forName("oracle.jdbc.driver.OracleDriver"); Connection connect =DriverManager.getConnection("jdbc:oracle:thin:@172.17.0.14:1521:develop","username","password"); String qry=("update sample set one=2 where two=3"); PreparedStatement ps = null; ps=connect.prepareStatement(qry); int i=ps.executeUpdate(); if(i==1) out.println("success"); else out.println("failed"); [/CODE] The above code is not working The table is create table (one number,two number); i tried some other queries like select and delete and insert is …

Member Avatar for ivatanako
0
101
Member Avatar for sasi_88

[CODE] <html> <head> <script> function goSubmit() { document.frm.submit(); } </script> </head> <body> <form action ="view1.jsp" method="post" name="frm"> <table> <tr> <td> <input type="radio" name="rg" value="faculty" onClick="goSubmit()"/> </td> <td> <input type="radio" name="rg" value="date" onClick="goSubmit()"/> </td> <td> <input type="radio" name="rg" value="content" onClick="goSubmit()"> </td> </tr> </table> </form> </body> </html> <html> <head> <script> function goSubmit() …

Member Avatar for sasi_88
0
107
Member Avatar for sasi_88

i have the table with 100 records at the first time the page loading i want to display only 10 records and the more link if the link is clicked display 10 more records the records are populated from the oracle database i don't know how to use the oracle …

Member Avatar for masijade
0
60
Member Avatar for sasi_88

<a href="d:\jsp.pdf">view</a> this is not working but jsp.pdf is within the web application ( href="jsp.pdf" ) is fine. The problem is when i run the program the url is always start with http:\localhost\ so if i give ( href="d:\jsp.pdf") like this the url is http:\localhost\d:\jsp.pdf how to resolve this please …

Member Avatar for coervivekmca
0
82
Member Avatar for sasi_88

if i want two submit buttons ok1 and ok2 if the user click ok1 control goes with 1.jsp or click ok2 control goes with 2.jsp but ok2 is not working. is there any mistake two submit buttons then what are methods to resolve my code is here [code=html]<html> <head> <meta …

Member Avatar for rakhi4110
0
188
Member Avatar for sasi_88

hi i have the database like author books etc but i want to the tree lookup ->author ->books ->topics first on page load display all the authors from the databse and click the particular author display the child node of all the books written by the author. again click the …

0
56
Member Avatar for sasi_88

hi, i have two combo boxes one for country and another for state both populated from data base dynamically. [CODE] <%@page import="java.sql.*"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <select name="ctry"> <% String city=""; Statement pstm; ResultSet rs; try{ Class.forName("oracle.jdbc.driver.OracleDriver"); Connection connect =DriverManager.getConnection("jdbc:oracle:thin:@172.17.0.14:1521:develop","devuser","devuser"); pstm = connect.createStatement(); rs …

Member Avatar for brynFlew
0
191
Member Avatar for sasi_88

would like learn how to to create tree view using JSP. But I don't have any idea to work it out. Also the content of the tree is retreived from the database.

0
58
Member Avatar for fredrickme

Good day all please ADO, I need help.After developing my jsp,the code work fine except that it displays image link from the database instead of the image itself.I tried manipulating the blob datatype by setting (Blob bl=resultset.getBlob(n)) but it returns an error.Secondly,assuming i want the size of that image to …

Member Avatar for Shanti C
0
6K