This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am configuring my first struts application using struts-1.3.10 and jakarta-tomcat-5.0.28.
I am using the "MiniHR" example from the book Struts_The_Complete_Reference.I have done exactly the same thing as written in the example.
I compiled the application successfully and then created a war file and then placed under webapps directory of tomcat.Still when accessing the application,I get the following error:
C Kushtawar wrote:
I have downloaded javax.servlet-5.1.11.jar for this and put under the Tomcat/Webapps/lib directory.Still I am getting this error.
Have you checked Ankit's link..? A quote from the tutorial:
To use JSTL, you must install JSTL into Tomcat. JSTL can be obtained from the same source as Tomcat. The main URL for JSTL is http://java.sun.com/products/jsp/jstl/. To use JSTL, you must unzip the distribution files and install them into the correct locations within Tomcat.
OCJP 6 (93%)
Joined: Jan 20, 2009
I am able to get over this problem thanks to you guys but I am now encounering a new exception:
type Exception report
description The server encountered an internal error () that prevented it from fulfilling this request.
org.apache.jasper.JasperException: Module 'null' not found.
Please Use Code Tags when you post a source code. Non-formatted code is very hard to read. You can edit your message using button and then add code tags to it.
You earlier said that there was a "Module 'null' not found" and now you are saying about NullPointerException. This is a bit confusing. Read this to know about the html:link tag. I'm not good at struts 1.x, but I think you should use searchForm instead of search as the value of forward attribute of html:link tag...
Joined: Jan 20, 2009
Module "Null" and "NPE" are part of the same exception.I am pasting all the dumps all over again in the correct format.Also I tried SearchForm but that also did not work.Can some body please help me?