This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

Hari Peng

Greenhorn
+ Follow
since Jun 25, 2004
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 Hari Peng

Thanks ,Gaurav .
I think I should go to find this book as soon as possible .
hi,every one:
I finish my scwcd this morning,since my EJB knowlage is not enough.so SCBCD come into plan.
I have few knowlage about books I can choose.and I live in Beijing,so some book newest in USA maybe not availiable to me now,can some one introduce several mature book about SCBCD?thanks a lot.
hi,Raju
glad to know your opions same with me,and your remind is right,when I
post this,I drop the "/".
Hi,every one,
I am doing a mock exam(Whizlabs) on SCWCD.there is one problem confusing me.
<=================================
q:
which is correct way to pass parameter to a dynamically included page?
A:
a....
b....
c.<jsp:include page="includedPage.jsp">
<jsp aram>
<param:name>paramName</param:name>
<param:value>paramValue</param:value>
<jsp aram>
</jsp:include>
d.<jsp:include page="includedPage.jsp">
<jsp aram name="paramName" value="paramValue">
</jsp:include>
e....

=======================>>
I omit the answers have obvious mistakes,I think d has no problem, and c is wrong: its tag <jsp aram> is not end;
but the answer is c.is this answer right?
Hi,Marc
thank you for your help,
you point out that the 'transaction' is my real intention,that's true,It's luck that this wrong spell happen on the begin of this program,so its used
later consistently,it does not result in this error.

and in you post:
===========================================
Since it works in java_home but not in tomcat (?catalina_home??), try adding java_home to tomcat's path if it isn't already.
===========================================

I thought since the directory structure of servlet app
is a standard,the container will know the class is in '/WEB_INF/classes/'
before.

I don't know where to set the classpath of a servlet container,(web.xml,or struts_config.xml)?
16 years ago
Hi,every one,

My cicrument is Tomcat 5.0 + struts 1.1,this is a simple logon page,I put
LogonAction.class in WEB_INF\classes\netcom\docmanager\transcation

struts_config.xml is:
...
<form-bean name="logonForm" type="netcom.docmanager.formbean.LogonForm"/>
</form-beans>
<action-mappings>
<action path="/logon" name="logonForm" type=" netcom.docmanager.transcation.LogonAction " scope="request" >
<forward name="failure" path="/ logon.jsp"/>
<forward name="success" path="/ mainmenu.jsp"/>
</action>
</action-mappings>
...

when address the url ".../logon.do",following error info is given:

"No action instance for path /logon could be created
java.lang.ClassNotFoundException: netcom.docmanager.transcation.LogonAction"

but I call "java netcom.docmanager.transcation.LogonAction",this class can be found,so this is not the issue about classpath,

Can anybody know what's wrong with it?
16 years ago
Hi, every one,
When I do some exercise,I meet this question about HTTP:
<===========================================
5. Identify the authentication mechanisms that are built into the HTTP specification.
(Select two)
a Basic
b Client-Cert
c FORM
d Digest
e Client-Digest
f HTTPS
Answers: a and d
===========================================>
My doubt is the answer d & f, as we know, not all the browers support Digest,so if it is "build in" HTTP,how this happen?
I think the HTTPS should be right,since its similitude name.