Rhett Wang

Greenhorn
+ Follow
since Apr 03, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Rhett Wang

Recently, I got a new supporting job. There are a lot jQuery in this project.

Even I used JavaScript for many years, but I was just using it and not very good at it. I thought JavaScript is simple(some kinds of ) and tough................

But when began to read the the code in that project, I found jQuery is so nice. Most of case, just several lines and do a lot of job.

I have fallen in love with jQuery already.

English is not my mother language, but I have to, and I like to read so many new books in English.

The documents on http://docs.jquery.com/Main_Page are pretty good. but I like to read the paper book more.



Anirudh Vyas wrote:Hi,

I need oracle drivers for a maven project that i am working on. My question is how to install the drivers on the maven repository (local).
I am looking for complete command line thing for maven.I know that it goes something like:

mvn install:install-file -Dfile={Should i put complete path here?} -DgroupId=org.jdbc.OracleDriver <-- is this right?

I dont know what should come in artifact and version. Can someone give me the whole command line thing?

Any help would be appreciable.

Regards
Vyas, Anirudh




mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.3.0 -Dpackaging=jar -Dfile=ojdbc.jar

1 I would like use "CD" to make ojdbc.jar in the current folder, then I can just use -Dfile=ojdbc.jar
2 -DgroupId=com.oracle -DartifactId=ojdbc14

They just identify , you can use whatever you want. we'd better use com.oracle ;org.jdbc.OracleDriver or oracle for DgroupId
15 years ago
When I followed the SCBCD 5.0 Study Guide(By Mikalai Zaikin)
I Created the EJB3 Project,
the JBossIDE-2.0.0.Beta2 reports the following:

Severity and DescriptionPathResourceLocationCreation TimeId
Project TEST is missing required library: 'E:\DEV\jboss422GA1\server\default\deploy\ejb3.deployer\jboss-ejb3x.jar'TESTBuild path121316458050049

COuld you tell me what is the reason, and how to fix it?

Thanks!
16 years ago
Congratulations!

Could you tell us which Chapters of EJB 3 in Action need to study for exam?
16 years ago
Congratulations!

Could you tell us which Chapters of EJB 3 in Action need to study for exam?
Congratulations!
Could you tell us which Chapters of EJB 3 in Action need to study for exam?
Thank you!
Now I fully understand the difference between javax.servlet.http.HttpSessionBindingListener
and javax.servlet.http.HttpSessionAttributeListener
They are like this:

protected void doPost(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException
{
String protocol = req.getProtocol();
String msg = lStrings.getString("http.method_post_not_supported");
if (protocol.endsWith("1.1")) {
resp.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, msg);
} else {
resp.sendError(HttpServletResponse.SC_BAD_REQUEST, msg);
}
}

SC_METHOD_NOT_ALLOWED-----405
SC_BAD_REQUEST------------400

code 403 should be brought by other things.
1 Check the version of JDK that TOMCAT requires
2 Config the environment variable --"JAVA_HOME"
17 years ago
Congratulation!
Thanks for sharing your preparation.
Good question!

I have found this fact in my work.
In IE, we can use Ctrl+ N to open a new window, and the new window will keep the same session.
But It seems that FireFox does not work like this.

BTW,I think we should do some research about the difference of Tab and Window.

Hope to get more infomations.