Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Abhik Ghosh

Ranch Hand
+ Follow
since Feb 28, 2008
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 Abhik Ghosh

Hi .. I want an SCJP 1.5 voucher at a price lesser than 7500/ that NIIT is currently offering . Can anyone please provide me one? Please contact me at abhik.ghosh82@gmail.com
11 years ago
web.xml


12 years ago
Hi , I am trying to develop a dropdown using OptionsCollection but I get the above error.
A solution will be greatly appreciated.
Here is my code:

index.jsp



struts-config.xml



Inputform.java



InputAction.java



CountryData.java



Thanks..
12 years ago
I tried to install Devaka's examlab in a machine which has original Win XP SP 1 . But I am again having problem loading the Microsoft Jet Driver. The error message is :

Setup cannot install system files or update shared files if they are in use.Before proceeding, we recommend that you close any applications you may be running.

.
Please help.
Struts version: 1.3.10
Tomcat version : 5.5.28


12 years ago
This is the exact error message I am getting when trying to install the JET Driver :

Setup cannot install system files or update shared files if they are in use.Before proceeding, we recommend that you close any applications you may be running.

I just tried to install Devaka's examlab but there is an error with the JET Driver. The setup is working fine but when it comes to the driver part, it says: "Setup cannot install files or update files if they are in use. Before proceeding, please close any application that you may be running." Now I am not running any other processes. My OS is Win XP SP 2 (not original though).
Please help.
Struts 1 version
12 years ago
The reason behind J Desai ' s code and as mentioned by Ankit, that since Exception class has both Checked Exception and Runtime Exception as subclasses, and since there is nothing in the try block, so the compiler gives it a pass thinking the try block can have Runtime Exception which it bdoes not need to catch. Not so for the Unchecked Exception case. It tries to search for one, does n't get it and so consequently cannot enter the catch block.
I am using validator in struts and though I am getting ClassNotFoundException:org.apache.struts.util.StrutsValidator
My code is as :
struts-config


LoginForm.java




LoginAction.java




validation.xml



validator-rules.xml



login.jsp



Please help.

12 years ago
And Ali.. thanks a lot for correcting my code.
Thanks Ali. I have also just written a fresh code that sorts a HashMap both by keys as well as by values.
Here it is:
Thanks Ankit. That was a great help..
I want to sort a HasMap by its values.

My code is :


But it is giving output as :
Name@3e0e7bf=Val@923e30
Name@4711993=Val@130c19b
Name@3c78865=Val@1f6a7b9

I want it to be sorted by the values.

Please help.
Hi.. I just found a soln to the problem... within the folder apache-tomcat-6.0.20 there is another apache-tomcat-6.0.20.so point your root dir to the second folder , in my case it is E:\apache-tomcat-6.0.20\apache-tomcat-6.0.20... and the problem is solved.