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”
<%@ 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.
<core:set value=”Satya|Prakash:Karan” var=”Names” />
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)
This is hour six. After NetBeans installation on hour 5th, it is time to do work. Checked with how to Run Servlet, How to run single Servlet instead of whole project, how to use web.xml file and other things about folder structure. Also, learned about, how to pass the POST-ed… (Continue)