Marco Vanoli

Ranch Hand
+ Follow
since Jan 12, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Marco Vanoli

Yes it's like that , because i use public a wifi connection with a web proxy. Is there possibility to bypass it?
Tnks
Hi , my jboss cannot connect to the net because i'm behind a web proxy. So, the license of jRebel cannot be checked. How can I config Jrebel on JBoss 4.2.2 to pass throught the web proxy?
Tnx, Marco
Hibernate is still the top framework or there is something better? Are there emergent framework that looks very good?

thanks!
Hi
i have a integer for example 12345.
In my JSP i have to render this value as 123,45

I have to use the struts beans:
<bean:write name="ratingBean" property="importoCapitaleF" format="#,###.##"/>
but i cannot do it..

Someone can help me?
Tnx
16 years ago
Hello, on the official website the documentation is not very good, so
I need some documentation about DOJO, i'd like something like tutorial or some book suggest.
Any hints?

tnx Marco.
[ November 26, 2007: Message edited by: Bear Bibeault ]
In a recent presentation of Sun they showed the new Studio creator that has a rich integration with JSF and Ajax, what do you think about it? And also what is your best IDE x developing JSF+Ajax?
Tnk,Bye!
[ April 06, 2006: Message edited by: Ilja Preuss ]
19 years ago
JSF
i have a bean a and a b ones. I want to copy properties of bean a in bean b, but not all, fore exaple all excluded id propery, is it possible?
19 years ago
i have an action that call another one(chain action). The second action is used also from a link with a parameter (&id=4). Now i want to set from the first action a parameter. Is it possible?
19 years ago
Can somebody give me some link to some tutorial or explenation how to use eclipse debugger , tnks
In a form bean i create an indexed properties as this:


the problem is that in Struts tutorial there is only the get method and not the set one

I am doing the right thing to adding the set methods, otherwise how works indexed properties?

tnks
[ October 06, 2005: Message edited by: Marco Vanoli ]
19 years ago
it is possible to copy one list in a set?
as:
List l = (List) x.getset();

My compiler give error.. is there a quickest way to not do a loop with iterator for addin every one set elements to the list?

tnKs
19 years ago
My project is in deep develop so i cannot change hibernate.
I' d like to know only the Kelly Wilson phrase that say to use static service for accessing to dao.
I understand this:
I will have an action class that call class (static or normal?) wich implements methods (static or normal) that are the service that i need.
At the end service classe use fine grain DAO to simple acces to database.

Is it al right? .. An my bigges dubt is about servlet' s threads.
I have to synchronize service methods or not?

tnk
19 years ago
doGet and doPost of HttpServlet are protected.


This is from "just java 2":


protected void doGet(HttpServletRequest req, HttpServletResponse resp)

throws javax.servlet.ServletException, java.io.IOException;

You call methods on the HttpServletRequest argument to find out what the browser is asking for exactly. There's a method you call to get a PrintWriter from the HttpServletResponse, and you write your resulting plain text, HTML, image file, audio file, or Javascript using it. What you write gets sent back to the browser. It's as simple as that.

Note that the two routines are labelled as "protected," meaning that they can only be called by routines in the same package or in a subclass. That makes sense. It is probably not meaningful for your servlet to be called other than to process an HTTP request. If it is meaningful to invoke your doPost() routine otherwise, then your system design probably needs some refactoring, perhaps to split out a chunk of the common code into a Java bean.
19 years ago

Originally posted by meraman odedra:
I have one query plz explain me

here
System.out.println();
What is System?
What is out?
What is println()?
thanx



I try to respond but i am a beginner to so anybody could correct me.

Deduction looking javadoc:

System is a java.lang class. From javadoc :
The System class contains several useful class fields and methods. It cannot be instantiated. Among the facilities provided by the System class are standard input, standard output, and error output streams; access to externally defined properties and environment variables; a means of loading files and libraries; and a utility method for quickly copying a portion of an array.

out is a static field of the system class, it contains an object PrintStream that rapresent the standard output, wich by default is the console.
From javadoc :
The "standard" output stream. This stream is already open and ready to accept output data. Typically this stream corresponds to display output or another output destination specified by the host environment or user.
For simple stand-alone Java applications, a typical way to write a line of output data is:
System.out.println(data)
See the println methods in class PrintStream.

println() is a method of PrintStream class.

So at the end i suggest you to look at java documentation and try to understand all base classes as java.lang package.
19 years ago