Win a copy of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP this week in the Cloud/Virtualization forum!

Zhao zhenhua

Ranch Hand
+ Follow
since Jul 17, 2006
Zhao likes ...
IntelliJ IDE Firefox Browser Ubuntu
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 Zhao zhenhua

Thanks for your explain. The answer is ACE
In which three directories relative to a web application's root,may a tag library descriptor file reside when deployed directly into a web application?
A: /WEB-INF
B: /META-INF
C: /WEB-INF/tlds/
D: /META-INF/tlds/
E: /WEB-INF/resources
F: /META-INF/resources

Can anyone help me?Thanks
Any other resources under /WEB-INF/** will be protected by web server means that they are NOT visiabled by Client(web brower).
Hope my explaining can help you.
Any one can correct me if having some mistakes.

Originally posted by Vilish S:
Thanks Vilish and all of yours sincerely help!I am trying..

Originally posted by Zhao zhenhua:
[QB]
Yes,I lauch the server GlashFish from NetBeans.I doubt the server has some problems.I have not configure any files...I using the latest version NetBeans6.0


Did you launch the server from NetBeans ? I'm wondering if you have a configuration problem here.


Yes,I lauch the server GlashFish from NetBeans.I doubt the server has some problems.I have not configure any files...I using the last versin NetBeans6.0
[ December 27, 2007: Message edited by: Zhao zhenhua ]
I change the pageEncoding="UTF-8" and it still doesn't work.

Originally posted by Christophe Verre:
This web.xml and this JSP are part of the same application, right ? Everything looks fine, you should be able to get the init param in both cases. Did you set anything special in your JSP, like the page directive ?


Yes,they are all the same app.My index.jsp has only just one page directive here:

Do you means the pageEncoding is the key?I will try it again!

Thank you very much! Dear Christophe.
In my DD with following code:

And my index.jsp


But the output is :

I don't know what happened with my problem ,i am using the NetBeans with GlashFish server and the generated codes following:

Please help me !!!
[ December 27, 2007: Message edited by: Christophe Verre ]
Wow,great score!~Congratulations!~~~~
Thank you anil and Raghavan for your patient explainations a lot!
but why it say"unreachable code"??


a. Compile error unreachable code
b. Comepile error: cant throw two exceptions at the same time
c. Compile error: both Exceptions need to be handled in try catch block
d. Runtime error
e. No errors. Compiles fine without warnings

the answer is a,why? Who can you rancher help me?Thanks