cheers!!, I am following fDaoud's book and he did not mention about this htm thingy or may be i missed it. Appreciate your help
On 23 May 2011 12:39, Bob Schellink [via click] < [email protected]> wrote: > Look at your log file. index.htm is not mapped to a page because you > don't provide an IndexPage impl. > Point your welcome page to another page which is not processed by > Click eg: index.html or redirect.html. > Also your url-mapping can simply be: *.htm > > Bob > > On Mon, May 23, 2011 at 9:53 AM, zolf <[hidden > email]<http://user/SendEmail.jtp?type=node&node=6393506&i=0>> > wrote: > > > this is my web.xml file and in the index.htm file i have > > > > > > <html > > xmlns="http://www.w3.org/1999/xhtml"> > > > > <head> > > > > <meta > > http-equiv="refresh" content="0;URL=hello-world.htm"> > > > > <title> > > Insert title here</title> > > > > </head> > > > > <body> > > > > </body> > > > > </html> > > > > > > <? > > xml version=*"1.0"* encoding=*"UTF-8"*?> > > > > < > > web-app xmlns:xsi=*"http://www.w3.org/2001/XMLSchema-instance"* xmlns=*" > > > http://java.sun.com/xml/ns/javaee"* xmlns:web=*" > > http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"* xsi:schemaLocation=*" > > > http://java.sun.com/xml/ns/javaee > > http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"* id=*"WebApp_ID"* > version > > =*"2.5"*> > > > > <display-name>*clickhello*</display-name> > > > > <servlet> > > > > <servlet-name>ClickServlet</servlet-name> > > > > <servlet-class>org.apache.click.ClickServlet</servlet-class> > > > > <load-on-startup>0</load-on-startup> > > > > </servlet> > > > > <servlet-mapping> > > > > <servlet-name>ClickServlet</servlet-name> > > > > <url-pattern>*.*htm*</url-pattern> > > > > </servlet-mapping> > > > > <welcome-file-list> > > > > <welcome-file>index.htm</welcome-file> > > > > </welcome-file-list> > > > > </ > > web-app> > > > > > > > > > > On 23 May 2011 12:20, Bob Schellink [via click] < > > [hidden email] <http://user/SendEmail.jtp?type=node&node=6393506&i=1>> > wrote: > > > >> Did you update your web.xml welcome page url appropriately? > >> > >> Your page should be here: > >> http://localhost:8080/clickhello/hello-world.htm > >> > >> Bob > >> > >> On Mon, May 23, 2011 at 9:06 AM, zolf <[hidden email]< > http://user/SendEmail.jtp?type=node&node=6393454&i=0>> > > >> wrote: > >> > >> > > >> > Hi Bob, > >> > > >> > thanks for your feedback. i changed the html to htm,but now when i > enter > >> the > >> > url http://localhost:8080/clickhello/ > >> > i get Page not Found Error. below i have copied my tomcat log > >> output.please > >> > help me > >> > > >> > [Click] [info ] *** Initializing Click 2.3.0 in debug mode *** > >> > [Click] [info ] initialized LogService: > >> > org.apache.click.service.ConsoleLogService > >> > [Click] [debug] listing classes in > >> > > >> > jar:file:/C:/Apache/Tomcat/webapps/clickhello/WEB-INF/lib/click-2.3.0.jar!/META-INF/resources > > >> > >> > [Click] [info ] found jar: > >> > file:/C:/Apache/Tomcat/webapps/clickhello/WEB-INF/lib/click-2.3.0.jar > >> > [Click] [debug] listing classes in > >> > > >> > jar:file:/C:/Apache/Tomcat/webapps/clickhello/WEB-INF/lib/click-extras-2.3.0.jar!/META-INF/resources > > >> > >> > [Click] [info ] found jar: > >> > > >> > file:/C:/Apache/Tomcat/webapps/clickhello/WEB-INF/lib/click-extras-2.3.0.jar > > >> > >> > [Click] [debug] automapped pages: > >> > [Click] [debug] /click/error.htm -> CLASS NOT FOUND > >> > [Click] [debug] /click/not-found.htm -> CLASS NOT FOUND > >> > [Click] [debug] /hello-world.htm -> clickhello.page.HelloWorldPage > >> > [Click] [debug] /index.htm -> CLASS NOT FOUND > >> > [Click] [debug] initializing FileLoadService: > >> > org.apache.click.service.CommonsFileUploadService > >> > [Click] [debug] initializing TemplateService: > >> > org.apache.click.service.VelocityTemplateService > >> > [Click] [debug] initializing ResourceService: > >> > org.apache.click.service.ClickResourceService > >> > [Click] [debug] initializing MessagesMapService: > >> > org.apache.click.service.DefaultMessagesMapService > >> > [Click] [info ] Click 2.3.0 initialized in debug mode > >> > [Click] [debug] GET http://localhost:8080/clickhello/ > >> > [Click] [debug] /index.htm -> CLASS NOT FOUND > >> > [Click] [info ] renderTemplate: /click/not-found.htm - 6 ms > >> > [Click] [info ] handleRequest: /index.htm - 18 ms > >> > > >> > -- > >> > View this message in context: > >> > http://click.1134972.n2.nabble.com/Beginner-to-Click-Help-tp6391108p6393363.html > >> > Sent from the click-user mailing list archive at Nabble.com. > >> > > >> > >> > >> ------------------------------ > >> If you reply to this email, your message will be added to the > discussion > >> below: > >> > >> > > >> > >> > > > > > > -- > > View this message in context: > http://click.1134972.n2.nabble.com/Beginner-to-Click-Help-tp6391108p6393462.html > > > Sent from the click-user mailing list archive at Nabble.com. > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://click.1134972.n2.nabble.com/Beginner-to-Click-Help-tp6391108p6393506.html > To unsubscribe from Beginner to Click - Help, click > here<http://click.1134972.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=6391108&code=emphZmZlcmlAZ21haWwuY29tfDYzOTExMDh8LTIxNDEwNzU1ODQ=>. > > -- View this message in context: http://click.1134972.n2.nabble.com/Beginner-to-Click-Help-tp6391108p6393548.html Sent from the click-user mailing list archive at Nabble.com.
