Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.

Sachin Kediyal

Greenhorn
+ Follow
since May 11, 2006
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 Sachin Kediyal

Hi pete,
One suggestion I can give is to compare the timestamps from the database.
12 years ago
Do following Environment variable settings
1) Define a new Environment variable JAVA_HOME and give the physical path of the JDK were it is installed on ur machine for example: JAVA_HOME: c:\jdk1.4.2
2) Define a new Environment variable CATALINA_HOME and give the physical path of the tomcat webserver located on your machine for example: CATALINA_HOME:c:\tomcat4.0
3) After defining these paths start the tomcat webwebserver by running the script startup.bat in /tomcat_home/bin/ folder.
If the tomcat has successfully started then check the status of your deployed web application in Tomcat's Administration Console.If required restart the application.
12 years ago
JSP
I guess you have to register the tld [Tag library descriptor] in web.xml
12 years ago
JSP
You have not properly mapped your ActionForm class in the struts-config.xml.Check the <form-bean> and <action-mapping> in the struts-config.xml. Also check that each and every field property name in the JSP has a setter() and getter() method define in the ActionForm class.
12 years ago
Hi Anurag,
Can you also provide the source code for your ActionForm class and the struts-config.xml file.
12 years ago
Hi Anil,
Replace your action mapping with this in struts-config.xml
<action path="/greeting" type="sample.GreetingAction" name="GetNameForm" scope="request" input="/pages/inputname.jsp" >
<forward name="sayHello" path="/pages/greeting.jsp"/>
</action>
The problem is the request is being passed to your GreetingAction Servlet.Your GreetingAction Servlet knows to dispatch
the request to "sayHello" to generate the response but it is not able to locate greeting.jsp since you had not mentioned the complete virtual path of greeting.jsp correctly.You have mentioned only (/greeting.jsp).
In the inputname.jsp your action tag should be like this
<html:action name="/greeting">
12 years ago
Hi Prasanna,
There is a slight difference. Struts provide internationalization features to a web application means the custom labels in the application can be viewed in different language characters as required by the end user for example a client wan'ts his companies web application to be accessed by English as well as Japanese users. In this case you have to define two different Resource bundle files (.properties) containing english and Japanese language characters and had to map this with your struts-config.xml and the view. Rest everything is being taken care by the struts framework.
But in case you wan't to implement the same stuff using web.xml then you need to implement your own customized logic.
12 years ago
You can use "Jakarta Struts Live" for learning struts. This book is freely available over the internet. This book covers all the major struts concepts with practical examples and gives a hands on practice.All the topics are upto the mark.
12 years ago
There are a number of books available for this exam. I am giving you there details

1) Head First JSP and Servlets
2) SCWCD Exam Study kit by HanumantDeshmukh,Jignesh Malavia (Manning Publications)
3) Professional SCWCD Certification by Daniel Jepp,Sam Dalton(Wrox publication)

The most popular is the Ist one (Head First JSP and Servlets). Even I am using it for SCWCD preparation.

Thanks & Regards
Sachin.C.Kediyal