Archive

- Posts Tagged ‘Java’

Java 32bit and Java 64bits – Have Both

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)

PHP is not Java

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)

Last one: Java learning – XML – a rant

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)

17 to 20: Java Learning: Struts – a rant

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)

14. Learning Java: JSF, part 2 – a rant

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)

13. Learning Java: JSF – a rant

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)

12. Learning Java: JSTL, part 3 – a rant

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)

11. Learning Java: JSTL, part 2 – a rant

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” />
<core:forTokens… (Continue)

10. Learning Java: JSTL – a rant

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)