Posts

Showing posts from May, 2019

remove underline from the hyperlink in html

<a href="Login.jsp" style="text-decoration:none" ><li>Log Out</li></a> If we set the text-decoration:none then the underline will automatically removed. #remove underline from html hyperlink #remove underline from jsp hyperlink #removeunderline

invalid column index sql exception

* If that's a SQLException thrown by Java, it's most likely because when you are trying to get or set a value from a ResultSet, the index you are using isn't within the range. * For example, you might be trying to get the column at index 3 from the result set, but you only have two columns being returned from the SQL query. #sql exception #sqlException #invalidcolumnindexexception #invalid column index exception in oracle

java.sql.SQLException: ORA-00942: table or view does not exist

java.sql.SQLException: ORA-00942: table or view does not exist --------------------------------------------------------------------------------------------- It occours for two reason... 1.You have not created the table. 2.After creating the table you are not coomit it by the sql command commit; #sql Exception

java.sql.SQLException: Fail to convert to internal representation

java.sql.SQLException: Fail to convert to internal representation ----------------------------------------------------------------------------------------------------------------- It occours when data type missmatch. in data base you have created the field "Age" as number but retriving it as string so this error will occours.

Redirect your page using confirm box (yes or no basis/ok or cancel basis) in java

Code -- ---------- - ------------------- <b o d y > <button value="deactivate" onclick=deletePost() /> <script> function deletePost()  {     var ask = window.confirm("Are you sure you want to delete this post?");     if (ask)      {         window.alert("This post was successfully deleted.");         window.location.href = "register.html";     } } </script> </body>                                                                                                               - -S and ee p Kum ar Mishra --------------------------------------------------------------------...