Many software are now 64 bits and many are still 32 bits. Most of them may need Java. So, what will you do for different software which requires 32bits and software which requires 64bits? Have both of them, otherwise you will face problems. If you install 64bits for Eclipse and… (Continue)
I went for an Interview and there interviewer asked me few questions. I disagreed on two questions and their answers. According to interviewer, it is must to use parenthesis while initializing class( new className()), but I said if it requires parameters then it is essential otherwise it is not. After… (Continue)
I thought of write a post for each hours I learn Java for web development, but that I could not maintain. I hope regular visitors may have found the posting useful. As I cannot post more possibly of my Java learning for Web development so thought to end the series.… (Continue)
I have lost in Java's servlet. There are so many things to learn and I do not have good books. SL 314 book is not enough for me. That have some theory part but not good in practical. Also Java strict typing is creating problem. Everything is object is also… (Continue)
Here is a story about 15th and 16th hours. In this hour I have learnt about few basic HTML elements in JSF and how to pass control to Java code. How to show a message pop-up when a button is clicked, how to show List, Menu controls, Checkbox and Options.… (Continue)
JavaServer Faces Technology again. Today I could not get much. Only few things in JSF. Created new class in Java then called that in faces-config.xml in request scope. After that used the properties and methods in JSP page. The problem I faced, was faces-config.xml has not came automatically into the… (Continue)
Oh! This was the tough session as I have not practiced the earlier lessons and this JSF is something new to me. I cannot relate this with my PHP and any other languages (VB, .NET) technologies I have learned. I need to take a dive into JSF and learn it… (Continue)
In this hours, it comes tag files in JSTL. Creating tags and using those tags.
Inside web folder: index.jsp
<%--
Document : index
Created on : Sep 24, 2010, 7:30:10 PM
Author : JAVA
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib tagdir="/WEB-INF/tags/" prefix="Emp"… (Continue)
In the 11th hours, I continued with JSTL. In this, I learned about delimits, Connections to the database. Here is another blah blah post continued. You can continue reading my blah blah post for many days to come. 🙂
Here are the hand written fragments.
Token:
<core:set value="Satya|Prakash:Karan" var="Names" />… (Continue)
On 10th hours, it is JSTL (JavaServer Page Standard Tag Library). We can mix JSP scriptlets with HTML but that takes on readability. JSTL help us there. JSTL can do most common things we usually do in web development.
First need to add library from Project Properties -> add library… (Continue)