Vu Pham

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

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 :-)
15 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
15 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?
15 years ago
Ok, thanks Sony and David :-)
15 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()?
15 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 :-)
15 years ago
Ok, got it. Thank Ulf Dittmer :-)
15 years ago
No. I mean I saw they use

java.rmi.RemoteException
java.rmi.Remote

Thanks :-)
15 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.
15 years ago
No... I'm developing a desktop application :-)
15 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,
15 years ago
Hi everyone,

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

Vu Pham
16 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?