Can I use Form based Authentication to secure my html pages
Hi, I am trying to secure some of my web pages using the Form based Authentication provided by tomcat. I am using tomcat3.3a with Apache 1.3.12. I am able to restrict the jsp pages but not the html pages. Is this the way it works? If there is anything i need to set for html pages. I will appreciate your help. thank you, satish.
Re: JSP Error
Hi, I have checked the permissions, I have Read permissions for every one for the files in the webapps directory. I have tried to access the tomcat directly on port 8080, but i see The Page cannot be displayed page under IE. Do you think I have to change any configuration to access. thank you, Satish. - Original Message - From: Larry Isaacs [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, January 29, 2002 3:15 PM Subject: RE: JSP Error I believe this usually turns out to be a permissions issue. Make sure the user under which Tomcat is running has permission to read the webapp directories. You can also try accessing Tomcat directly on port 8080 to see if behavior is different from accessing through Apache. Cheers, Larry -Original Message- From: Satish Reddy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 2:02 PM To: Tomcat Subject: JSP Error Hi All, I am having problems running JSP using tomcat3.3a with Apache1.3.12. on linux. I am able to run the same JSP on Windows without any problems. When I tried to run the example JSP. I get this following error. 2002-01-29 12:59:26 - Ctx(/EM) : Exception in R( /examples + /jsp/num/numguess.jsp + null) - org.apache.jasper.compiler.ParseException: Cannot read file: /jsp/num/numguess.jsp at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source) at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source) at org.apache.jasper.compiler.JspReader.init(Unknown Source) at org.apache.jasper.compiler.JspReader.createJspReader(Unknown Source) at org.apache.jasper.compiler.Compiler.compile(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.jsp2java(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(U nknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:475) Can anyone here please help me get through this problem. Thank you, -satish -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JSP Error
I checked the jasper-xxx.log file, it has exceptions saying that it cannot find method, getResourceAsStream (String) . I also got the same kind of error when I ran the example Servlets, it says it can not find method getSession() in HttpServletRequest. I have all the necessary jar files in the $TOMCAT_HOMElib/coomon directory. the Stack Trace for the jsp error is here, 2002-01-29 12:55:25 - JspReader: Exception parsing file /jsp/num/numguess.jsp - java.lang.NoSuchMethodError: javax.servlet.ServletContext: method getResourceAsS tream(Ljava/lang/String;)Ljava/io/InputStream; not found at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source) at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source) at org.apache.jasper.compiler.JspReader.init(Unknown Source) at org.apache.jasper.compiler.JspReader.createJspReader(Unknown Source) at org.apache.jasper.compiler.Compiler.compile(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.jsp2java(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(U nknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:475) thank you, Satish - Original Message - From: Larry Isaacs [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, January 30, 2002 10:30 AM Subject: RE: JSP Error Check in the appropriate jasper-xxx.log file for a Exception parsing file ... message. It should show you the actual exception thrown. Hopefully that will give you a clue to the source of the error. Cheers, Larry -Original Message- From: Satish Reddy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 9:52 AM To: Tomcat Users List Subject: Re: JSP Error Hi, I have checked the permissions, I have Read permissions for every one for the files in the webapps directory. I have tried to access the tomcat directly on port 8080, but i see The Page cannot be displayed page under IE. Do you think I have to change any configuration to access. thank you, Satish. - Original Message - From: Larry Isaacs [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, January 29, 2002 3:15 PM Subject: RE: JSP Error I believe this usually turns out to be a permissions issue. Make sure the user under which Tomcat is running has permission to read the webapp directories. You can also try accessing Tomcat directly on port 8080 to see if behavior is different from accessing through Apache. Cheers, Larry -Original Message- From: Satish Reddy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 2:02 PM To: Tomcat Subject: JSP Error Hi All, I am having problems running JSP using tomcat3.3a with Apache1.3.12. on linux. I am able to run the same JSP on Windows without any problems. When I tried to run the example JSP. I get this following error. 2002-01-29 12:59:26 - Ctx(/EM) : Exception in R( /examples + /jsp/num/numguess.jsp + null) - org.apache.jasper.compiler.ParseException: Cannot read file: /jsp/num/numguess.jsp at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source) at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source) at org.apache.jasper.compiler.JspReader.init(Unknown Source) at org.apache.jasper.compiler.JspReader.createJspReader(Unknown Source) at org.apache.jasper.compiler.Compiler.compile(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.jsp2java(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(U nknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source
Re: JSP Error
yes. I had the old version of servlet jar file in jre/ext/lib. that was the cause of the problem. Thank you very much. It works fine now. -satish - Original Message - From: Larry Isaacs [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, January 30, 2002 12:55 PM Subject: RE: JSP Error This suggests you have some really out of date javax.servlet classes in your JDK somehow. Which JDK are you using and what is in your JDK's jre/lib/ext directory (assuming Java2)? Cheers, Larry -Original Message- From: Satish Reddy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 12:15 PM To: Tomcat Users List Subject: Re: JSP Error I checked the jasper-xxx.log file, it has exceptions saying that it cannot find method, getResourceAsStream (String) . I also got the same kind of error when I ran the example Servlets, it says it can not find method getSession() in HttpServletRequest. I have all the necessary jar files in the $TOMCAT_HOMElib/coomon directory. the Stack Trace for the jsp error is here, 2002-01-29 12:55:25 - JspReader: Exception parsing file /jsp/num/numguess.jsp - java.lang.NoSuchMethodError: javax.servlet.ServletContext: method getResourceAsS tream(Ljava/lang/String;)Ljava/io/InputStream; not found at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source) at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source) at org.apache.jasper.compiler.JspReader.init(Unknown Source) at org.apache.jasper.compiler.JspReader.createJspReader(Unknown Source) at org.apache.jasper.compiler.Compiler.compile(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.jsp2java(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(U nknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:475) thank you, Satish - Original Message - From: Larry Isaacs [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, January 30, 2002 10:30 AM Subject: RE: JSP Error Check in the appropriate jasper-xxx.log file for a Exception parsing file ... message. It should show you the actual exception thrown. Hopefully that will give you a clue to the source of the error. Cheers, Larry -Original Message- From: Satish Reddy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 9:52 AM To: Tomcat Users List Subject: Re: JSP Error Hi, I have checked the permissions, I have Read permissions for every one for the files in the webapps directory. I have tried to access the tomcat directly on port 8080, but i see The Page cannot be displayed page under IE. Do you think I have to change any configuration to access. thank you, Satish. - Original Message - From: Larry Isaacs [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, January 29, 2002 3:15 PM Subject: RE: JSP Error I believe this usually turns out to be a permissions issue. Make sure the user under which Tomcat is running has permission to read the webapp directories. You can also try accessing Tomcat directly on port 8080 to see if behavior is different from accessing through Apache. Cheers, Larry -Original Message- From: Satish Reddy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 2:02 PM To: Tomcat Subject: JSP Error Hi All, I am having problems running JSP using tomcat3.3a with Apache1.3.12. on linux. I am able to run the same JSP on Windows without any problems. When I tried to run the example JSP. I get this following error. 2002-01-29 12:59:26 - Ctx(/EM) : Exception in R( /examples + /jsp/num/numguess.jsp + null) - org.apache.jasper.compiler.ParseException: Cannot read file: /jsp/num/numguess.jsp at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source) at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source) at org.apache.jasper.compiler.JspReader.init(Unknown Source
JSP Error
Hi All, I am having problems running JSP using tomcat3.3a with Apache1.3.12. on linux. I am able to run the same JSP on Windows without any problems. When I tried to run the example JSP. I get this following error. 2002-01-29 12:59:26 - Ctx(/EM) : Exception in R( /examples + /jsp/num/numguess.jsp + null) - org.apache.jasper.compiler.ParseException: Cannot read file: /jsp/num/numguess.jsp at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source) at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source) at org.apache.jasper.compiler.JspReader.init(Unknown Source) at org.apache.jasper.compiler.JspReader.createJspReader(Unknown Source) at org.apache.jasper.compiler.Compiler.compile(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.jsp2java(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(U nknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:475) Can anyone here please help me get through this problem. Thank you, -satish
NewBie Question (URGENT) how to invoke Action class
HI All, I am new to Turbine application. I am using JSP instead of Velocity. I have a JSP page which has a form in it. I want to call the Action class. How do I do It? my jsp page contains the following code. form method=post action='%=jsplink.setPage(searchResults.jsp).setAction(FindAction)%' input type=text value= name=searchField input type=submit name=eventSubmit_doFind value=Find/ /form and i have my action class named FindAction in the WEB-INF\classes\org\mycompany\newapp. i have added this path to the modules Packages in the TurbineResources.properties. but i am unable to invoke the action class. Can anyone please help.. Thank u in advance. __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
NewBie Question on Jsp In Turbine (URGENT)
Hi all, I am using JSP's in Turbine instead of Veloctiy. How do i send the user to the next JSP page after the user logs in. my first page is the login.jsp. after the user successfully signs in, he should be shown the welcome page. how do i send the request to the welcome page? Can u please help me? __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
NewBie Question on Jsp In Turbine (URGENT)
Hi all, I am using JSP's in Turbine instead of Veloctiy. How do i send the user to the next JSP page after the user logs in. my first page is the login.jsp. after the user successfully signs in, he should be shown the welcome page. how do i send the request to the welcome page? Can u please help me? Thank you. SK __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]