This week's book giveaways are in the Angular and TypeScript and Web Services forums.
We're giving away four copies each of Programming with Types and The Design of Web APIs and have the authors on-line!
See this thread and this one for details.
Win a copy of Programming with Types this week in the Angular and TypeScript forum
or The Design of Web APIs in the Web Services forum!

Vu Pham

Ranch Hand
+ Follow
since May 28, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vu Pham

I have changed the order of JAR file in "Configure Build Path". It's ok now :-)

Thanks all for your help :-)
11 years ago
Hi all,

I'm using Stax API (http://stax.codehaus.org/) in my project. I'm using Eclipse IDE also. But I'm having a small issue. I have a java file like below:


import javax.xml.XMLConstants;

...
final private static SchemaFactory SCHEMA_FACTORY =
SchemaFactory.newInstance( XMLConstants.W3C_XML_SCHEMA_NS_URI );
...


I want to use XMLConstants of J2SE lib. The problem is IDE just understands XMLConstants class here is of Stax API. XMLConstants class of Stax API doesn't have W3C_XML_SCHEMA_NS_URI property. That's why Eclipse can't compile my java file. I can't remove Stax API from my program because there are some others places I used it. Do you know how to solve this one? Thanks very much.

Kind regards,
Vu Pham
11 years ago
Hi Victor,

As I know, sometimes we can't use #variable, we must use %{#variable}. But I don't know why? Anyone know about this?
11 years ago
Ok, thanks Sony and David :-)
11 years ago
Hi Sonny,

In my 2nd question, I used

<s:text name="response"/>

This one will be incorrect. Why it doesn't get the value from getResponse()?
11 years ago
Hi all,

1. I'm confuse about %{variable} and #variable. What are the different between them?


2. I have 1 more question
In my project, I use

<s:text name="%{response}"/>

It can get the value from getResponse(), I can't use <s:text name="response"/>

However, in the same form, I use

<s:textarea rows="4" name="remarks" id="remarks" cols="100" />

It can get the value from getRemarks()

Do you know why?


Thanks :-)
11 years ago
Ok, got it. Thank Ulf Dittmer :-)
11 years ago
No. I mean I saw they use

java.rmi.RemoteException
java.rmi.Remote

Thanks :-)
11 years ago
Hi all,

Anyone know why AXIS use RMI in its code for what purpose? I have tried searching but couldn't get the clearly answers yet.

Thanks all.
11 years ago
No... I'm developing a desktop application :-)
11 years ago
Hi all,

I'm going to develop an application that has Flash in UI layer and Java in Business layer. Do you know how we communicate between them? Or do you know any open source supporting that one?

Thanks,
11 years ago
Hi everyone,

ASP.NET has code-behind technique, does Java support it? Please tell me, thanks very much

Vu Pham
11 years ago
JSP
Yeah I will enjoy this book. Big thanks to Dan Allen and Javaranch :-)
Those things are just what you think... Can you please show me some samples?