Skip to content

hr4official/java

Repository files navigation

java basic programs

html + java = jsp

next tech of servlet is jsp

no 3 file all in one

jsp stands for java server pages

jsp have extension of .jsp

jsp is nothing but servlet only '

jsp file execulted on server only (apach tom cat )

jsp have html code as well as jsp code

jsp used for ui/front end/display purpose

jsp provides more functionality then servlet

jsp is extension of servlet

java simple programs for input output using scanner

applet program (house design)

For jdbc connect through inbuilt odbc

step 1

Control Panel\System and Security

step 2

search for odbc and select 64 or 32 accroding to your system

step 3

select system dsn tab

step 4

click to add

step 5

select database (here we use access so choose accdb)

if you are not able to find aceess database here then go to your system drive (generally c:/) and go and follow ( C:\Windows\SysWOW64 ) go for odbc.exe and search for accdb there

step 6

comlete this and close

I used jdk 1.8 And NetBeans 6.9.1

multithreading

Multithreading is a Java feature that allows concurrent execution of two or more parts of a program for maximum utilization of CPU. Each part of such program is called a thread. So, threads are light-weight processes within a process.

Threads can be created by using two mechanisms :

  1. Extending the Thread class
  2. Implementing the Runnable Interface

multithreading program

TestThread.java

example2.java

PerfectPrime.java

Java web development

jsp

About

java

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages