Showing posts with label server. Show all posts
Showing posts with label server. Show all posts

Thursday, April 26, 2012

[Java] [JSP] Login and Logout

          Hello, Reader ^^! Back again with source code. This time is Login and Logout which is written in Java programming language and JSP extension. This one demonstrates how to do login and logout. It uses session to persistent the information between pages and MySQL to get user data from database. Okay, that's all I can say. Thank you for reading ^^!




Download/View Source Code
- Dropbox
- Dropbox (Repository)
- GitHub
- GitHub (Repository) 







[Java] [JSP] Insert Data to MySQL

          Hello, Reader ^^! Back again with source code. This time is Insert Data to MySQL which is written in Java programming language and JSP extension. In this one, it shows how to insert data input from html page into mysql query. The input itself is processed in jsp page using mysql library. This example also shows error if any of the input is null value, returning to the input page. To ensure that the input is really inserted, after submitting input, it will redirect to view page showing the query in the database, if you see your input, that means the inoput is successfully inserted into MySQL database. Okay, that's all I can say. Thank you for reading ^^!






Download/View Source Code
- Dropbox
- Dropbox (Repository)
- GitHub
- GitHub (Repository) 







[Java] [JSP] Search Based Similarity (Substring)

          Hello, Reader ^^! Back again with source code. This time is Search Based Similarity (Substring) which is written in Java programming language and JSP extension. In this one, it shows how to do a search based on similarity of word using substring. In this case is title. If the title contain the substring, it will be included in query. Btw, you need MySQL library to call it before you can use it. Okay, that's all I can say. Thank you for reading ^^!




Download/View Source Code
- Dropbox
- Dropbox (Repository)
- GitHub
- GitHub (Repository) 







Tuesday, April 24, 2012

[Java] [JSP] Search Based Tag

          Hello, Reader ^^! Back again with source code. This time is Search Based Tag which is written in Java programming language and JSP extension. In this one, it shows how to do search based tag. It will return output based on whether the post has the tag which input is received from user. It also calls from mysql database so you might need a .jar before you can use the mysql in jsp. Okay, that's all I can say. Thank you for reading ^^!


(Note: the picture there is 7, but since my monitor is too big or I was too lazy to minimize it, so I crop it xD)


Download/View Source Code
- Dropbox
- Dropbox (Repository)
- GitHub
- GitHub (Repository) 







Saturday, April 14, 2012

[Java] [JSP] Reuse Existing Class in Other Jsp Page

          Hello, Reader ^^! Back again with source code. This time is Reuse Existing Class in Other Jsp Page written in Java programming language with JSP extension. This one shows how to use existing class so it can be used in other jsp pages. It will be shown in class's values that shows that the class isn't recreated when   accessing other jsp pages. Okay, that's all I can say. Thank you for reading ^^!




Download/View Source Code
- Dropbox
- Dropbox (Repository)
- GitHub
- GitHub (Repository)







[Java] [JSP] User Input: Text

          Hello, Reader ^^! Back again with source code. This time is User Input: Text written in Java programming language with JSP extension. In this one, it will how how to obtain input from jsp which then it will be passed into other JSP page as the result. It also uses Java class as mediator. Okay, that's all I can say. Thank you for reading ^^!




Download/View Source Code
- Dropbox
- Dropbox (Repository)
- GitHub
- GitHub (Repository)







[Java] [JSP] Hello World

          Hello, Reader ^^! Back again with source code. This time is Hello World which is written in Java programming language and used JSP extension. With JSP, Java code can be implemented on web pages. Now, in this one, it will show "Hello World" text. It also use JavaBeans. JavaBeans is just standard extension for JSP page. It made class reusable in jsp page. Okay, that's all I can say. Thank you for reading ^^!


Hello World


Download/View Source Code
- Dropbox
- Dropbox (Repository)
- GitHub
- GitHub (Repository)