Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

peter kosmas

Ranch Hand
+ Follow
since Aug 26, 2008
(SCJP 5.0)
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by peter kosmas

Hello , I have lots of Problems trying to translate the Agreement of JFORUM file gr_GR.txt that i have created .. It seems that whatever i do it does not work ...
When i write greek for the language file file it works fine . but with this file translated i get the agreement like this ..


i tried lots of methods 1 was using the native2ascii tool
doing this and trying all thes changes :

native2ascii.exe -encoding ASCII terms_gr_
GR.txt test.txt

native2ascii.exe -encoding ISO8859_7 terms_gr_GR.txt test.txt

native2ascii.exe -encoding ISO8859_1 terms_gr_GR.txt test.txt

native2ascii.exe -encoding UTF8 terms_gr_GR.txt test.txt

Nothing i get the Text like this :


i would appreciate some help ...
7 years ago
yes ...
What Happens ....
i use webservices on an application with weblogic 10.3 ...
when i send from client to server i get an error if my clock is not synchronized with the same time ....
If i was using weblogic 8.3 i could append web-services.xml on server and set the parameter <clock-precision> the milliseconds for clock skew between two clocks
Client and Server....
this cannot be handled this way with Weblogic 10.3 . You have to Setup server on an other way...
i want to change this parameter ...
9 years ago
Hello there , i have a problem with weblogic 10.3 when i try to use webservices ....
my problem is that i can't find a way to set clock skew for weblogic by changing the time ..
i checked Oracle but the only information i get is to setup web-services.xml that is ONLY FOR Weblogic 8g i am using 10.3
and this is deprecated .....
I also found some code WebserviceTimestampMBeanImpl on weblogic Jar but i can't find the dependencies for this .....
Any Help ??

9 years ago
Hello ...
I have a problem by mapping these two tables

i want the keys that are mapped not to be generated...
but to be entered manually ..
I am new to JPA and trying some examples ...
Can someone help ???

Create a row with isbn xx
and insert by that isbn 1-2-3 Instances with data by that isbn
the problem is i get the exception :

Exception in thread "main" org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: jpa.beans.BookInfo.bookInfo in jpa.beans.Book.bookInfo
at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(

So i use this example and get

import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import jpa.beans.Book;
import jpa.beans.BookInfo;
import org.hibernate.SessionFactory;

import org.hibernate.cfg.AnnotationConfiguration;
import org.hibernate.classic.Session;

import org.hibernate.tool.hbm2ddl.SchemaExport;


I just want to iterate with JSTL an Array Of Objects nothing else
i have tested the other stuff and works fine
What is wrong,is when i declare the iteration with for each

is this what code is needed when you want to iterate an array of Objects???
<c:forEach items="${quotes}" var="quo">


This is the Bean

I fill an Array of them by this method
//THis works

Now i want to iterate this Array just to see if it works
by this For Each

# <c:forEach items="${quotes}" var="quo">
# ${quo.quote}

# </c:forEach>

Is this Declared right ???
10 years ago
Hello there
i am using Spring and JSTL and i have this problem
how do i iterate an Array of Objects with JSTL ???

This does not work ...
Can someone tell me how do i Iterate an Array of Objects ??
10 years ago
I found it
10 years ago
Hello ...
I am now starting a topic and i want to use multiple delimeters to break a file

something like this
person is the 1 nice name of 2 of this type 3 and bla bla bla 4 and blablabla 5
and i want to break the lines where the numbers are
i use usedelimeter("[1-50]") but it does not work
can someone help me ???
Scanner scanner=new Scanner(file);
10 years ago
i know that !!!
but i would like to have them complete .....
Hello to everyone
I am trying to enter Marcus Green site and purchase The notes in PDF
but the link is dead !!!
some tutorials on subjects don't work
Like this one :
some links are also Dead !
can someone help Me Find those notes ???
i even email the Author but i get Mailer Daemon

Marcus Marcus ??? Where are your Notes ???
Hello ...
I have now started studying the SCWCD and i am a bit ..
Bought my first book but was very disapointed cause the ENGLISh was VERY BUT TO UNDERSTAND (Dificult Explanations)
as it had very good reviews in Amazon i realized the Writer did not explain Concepts Well ...
I ordered the Kathy sierra one i Hope it might Be a better Choice as when i studied the Book for SCJP i was very pleased
Please give me some INFORMATION
For Good Material As Exams and Books Or Notes
I don't mind if they are not Free ....
What i want is Some Good BOOSTING RUSH Stuff To help me prepare for the Exam
(And offcaurse easy English ) Cause that book i purchased HAD NOT EASY ENGLISH !!!

hello to everyone i am starting preparation for the Sun Certified Web Components Developer exam for version 310-083 but i find lots of resources on
the 310-081 version and i would like to know something for sure.
1. Are there any particular differences on the Version 310-083 vs 310-081 ?
2. If i buy a book for the older version 310-081 can i get prepared or have problems ?
i checked this one (Publication year 2002) ....
SCWCD Exam Study Kit: Java Web Component Developer Certification (Paperback)
Manning Publications (July 2002)
can this be helpfull???
any suggestions ?
javax.el.PropertyNotFoundException: /components/dataGridCombo.xhtml @28,113
binding="#{dataBean.dataScroller}": Target Unreachable, identifier 'dataBean' resolved to null
javax.faces.FacesException: javax.el.PropertyNotFoundException: /components/dataGridCombo.xhtml @28,113 binding="#{dataBean.dataScroller}": Target Unreachable, identifier 'dataBean' resolved to null
at com.sun.faces.application.ApplicationImpl.createComponent(
at com.sun.facelets.tag.jsf.ComponentHandler.createComponent(
at com.sun.facelets.tag.jsf.ComponentHandler.apply(
at com.sun.facelets.tag.CompositeFaceletHandler.apply(
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(
at com.sun.facelets.tag.jsf.ComponentHandler.apply(
at com.sun.facelets.tag.CompositeFaceletHandler.apply(
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(
at com.sun.facelets.tag.jsf.ComponentHandler.apply(

Hello there i am using Facelets with Spring and i get this error !!!
What i know is that this error

Can Someone Help me ???

10 years ago
Hello when i try to install the mave program i get the Error :

INFO For more information, run Maven with the -e switch
INFO INFO Total time: 8 seconds
INFO Finished at: Mon Sep 21 12:00:53 EEST 2009
INFO Final Memory: 14M/25M

Can SOmeone help me over this ??? I tried to check the Environent path and the path is OK !!!
Best Regards...

10 years ago
Hello i have a problem with my first project
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<?xml version="1.0"?>

<%@ taglib uri=""; prefix="h" %>
<%@ taglib uri=""; prefix="h"%>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
the error is :
Cannot find tag library descriptor :" prefix="h"" prefix="h"
when i use the url it can't be found at the browser
can someone help me please with this ???
the full code is here

10 years ago