NOTICE

Adfly Links not working Find Direct Links HERE

Error in connecting JSP with MYSQL database table Resolved !

Ok Here the Solution to connect MYSQL with JSP above given program

First open Netbeans

Click on SERVICES
then Right Click on the server like for me its "Apache Tomcat" then select __Edit Server.XML__


Add below Line at line 39 i think between GlobalNamingResources tags

    <Resource name="jdbc/DATABASENAME" type="javax.sql.DataSource" maxActive="4" maxIdle="2" username="root" password="" maxWait="23000" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/DATABASENAME"></Resource>

and Save it

Now select Projects

then right Click on the project you are working and select Properties

Now in Libraries Under Compile tab click Add JAR

Then locate your "mysql-connector-java-5.1.18-bin.jar" Download it from Here if you don't have

then click ok

then restart server 

then Its Done !

0 comments :

Feel free to leave comment if you like above widget, have any questions or just say Hi! :)

"TATA Docomo Chhodo Andolan" Due to NO 3G for 2G Join on Facebook

Lets Join 



To show your support against the step taken by DOCOMO to not provide 3G signal to any body using 2G plans.

Show your view join on this page to show your views...

0 comments :

Feel free to leave comment if you like above widget, have any questions or just say Hi! :)

How to Open popup in chrome without scrollbars, Disable Resize of popup and Auto resize according to content

         UPDATED NOW WORKING 


Today I am going to show a tutorials which is a deadly need for many webmasters these days.

Chrome is the most popular browser used by many users these days. Popup is a thing which is used by from Facebook to simple advertisers. Sometimes situations may arise when we want features in opened popup windows.

We Usually ask some Questions related to Popups specially for Chrome:

  • How to disable scroll-bars in chrome popup ?
  • How to prevent Re-size of popup window opened ?
  • How to Auto Re-size Popup window according to the content inside it ?

Is it possible to answer above Questions ?


Now its a YES.

Here we go ....

All changes or Additions will be done in the page which will open inside the Popup Window.

Step 1)

Add Below code in file from where Pop Window will open or having click to pop like Button

<head>

    <script type="text/javascript">

        <!--

        function myPopup2() {

            window.open( "pop.html", "myWindow",

            "status = 1, height = 300, width = 300, resizable = 0" )

        }

        //-->

    </script>

</head>

<body>

    <form>

        <input type="button" onClick="myPopup2()" value="POP2!">

    </form>

    <p onClick="myPopup2()">CLICK ME TOO!</p>

</body>&#8203;




Step 2) 

Now add Below code in the file [ pop.html ]  which will open in the pop up window

You can any type of content in place of GREEN code below
<script src="http://remove-chrome-scroll-bars.googlecode.com/files/control_popup.js"></script>

<img width="400px" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzwWK0QeYBssg0UmOvYxQIPyvuQlSJYSJjMRFwgS5Fs7xXbgLu50NOalWAILSK_1Cc9mGJTOC_iyhn0359z6VTBK8oWurTdfKwCSqyN1-wvho3bSMO9YvUTg02hn5D-3mwQyh-R2IpyvA/s320/57screen-cut.png">

<b>Blogger Plug n Play</b> You Can't Hide Me :>

0 comments :

Feel free to leave comment if you like above widget, have any questions or just say Hi! :)