RE: example struts app

2001-09-26 Thread Seetharaman Narayanan



Thanks 
a lot. That last information may be the key to this 
problem.
 
Have a 
nice one Brett!
Seetharaman

  -Original Message-From: Brett Porter 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, September 26, 
  2001 5:08 PMTo: '[EMAIL PROTECTED]'Subject: 
  RE: example struts app
  From 
  the installation guide... 
  Tomcat 3.1 and prior - Not 
  recommended. Use Tomcat 3.2.1 or later. 
   
  It 
  seems to me it's using an old servlet spec.
   
  You 
  shouldn't need struts.jar in the classpath (and its probably best not to), 
  because it is in the examples' WEB-INF/lib directory (where it is supposed to 
  be :)
   
  Hope 
  this helps,
  Brett
   
  
-Original Message-From: Seetharaman Narayanan 
[mailto:[EMAIL PROTECTED]]Sent: Thursday, 27 
September 2001 10:03 AMTo: 
'[EMAIL PROTECTED]'Subject: RE: example struts 
app

Hi Brett,
   
Thank you for being a nice help. Here is what I got. I think I have set up 
all the pre-requisites(otherwise I wouldnt even seen the index.jsp). 

The war file after its 
deployed creates a directory and puts in all the files in exact locations. 
This is what the installation notes was saying.
Only concern is do we need 
to point to struts.jar in the script which starts the Tomcat 3.1 ? 

 
Thanks 
Again
Seetharaman
 
Error: 500
Location: /StrutsDemo/registration.jspInternal Servlet 
Error:javax.servlet.ServletException: cant remove Attributes from request scope
	at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:386)
	at _0002fregistration_0002ejspregistration_jsp_0._jspService(_0002fregistration_0002ejspregistration_jsp_0.java, Compiled Code)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:174)
	at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
	at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:163)
	at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1758)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
	at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java, Compiled Code)
	at java.lang.Thread.run(Thread.java:479)


  -Original Message-From: Brett Porter 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, September 26, 
  2001 4:44 PMTo: 
      '[EMAIL PROTECTED]'Subject: RE: example struts 
  app
  I believe if you use Tomcat 3.2 there are additional steps required 
  (check in the install docs). Tomcat 4.0 should work as 
  is.
  The example may be using a PostgeSQL database (I've seen the data 
  source in the setup), but it seemed to work for me without one set up. I 
  deployed it into Resin 2.0 as is without a problem.
   
  Perhaps you could post the actual exception (the top 5 - 10 
  lines).
   
  Cheers,
  Brett
  
-Original Message-From: Seetharaman Narayanan 
[mailto:[EMAIL PROTECTED]]Sent: Thursday, 27 
September 2001 9:40 AMTo: 
'[EMAIL PROTECTED]'Subject: example struts 
app
Hello 
All
    
Can anyone tell me what are the prerequisites to run the example 
application which comes with the struts download? I tries running tha 
app, but couldnt getpass the index.jsp, because when I click on any of 
the links in index.jsp, I get a Servlet Exception.
 
Here is what 
I did. I copied the war file into the C:\Tomcat\Webapps directory. I 
started Tomcat and pointed my browser to localhost/struts-example and I 
am taken to index.jsp. From there on the problem beginto arise. 

 
 I need 
urgent help as after seeing them work, I have to get on to our 
project.
 
Thanks
Seetharaman Narayanan Software Engineer Keynote Systems Inc., 
 


RE: example struts app

2001-09-26 Thread Brett Porter



From 
the installation guide... 
Tomcat 3.1 and prior - Not 
recommended. Use Tomcat 3.2.1 or later. 
 
It 
seems to me it's using an old servlet spec.
 
You 
shouldn't need struts.jar in the classpath (and its probably best not to), 
because it is in the examples' WEB-INF/lib directory (where it is supposed to be 
:)
 
Hope 
this helps,
Brett
 

  -Original Message-From: Seetharaman Narayanan 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, 27 
  September 2001 10:03 AMTo: 
  '[EMAIL PROTECTED]'Subject: RE: example struts 
  app
  
  Hi Brett,
     
  Thank you for being a nice help. Here is what I got. I think I have set up all 
  the pre-requisites(otherwise I wouldnt even seen the index.jsp). 
  
  The war file after its 
  deployed creates a directory and puts in all the files in exact locations. 
  This is what the installation notes was saying.
  Only concern is do we need to 
  point to struts.jar in the script which starts the Tomcat 3.1 ? 
  
   
  Thanks 
Again
  Seetharaman
   
  Error: 500
  Location: /StrutsDemo/registration.jspInternal Servlet 
  Error:javax.servlet.ServletException: cant remove Attributes from request scope
	at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:386)
	at _0002fregistration_0002ejspregistration_jsp_0._jspService(_0002fregistration_0002ejspregistration_jsp_0.java, Compiled Code)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:174)
	at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
	at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:163)
	at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1758)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
	at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java, Compiled Code)
	at java.lang.Thread.run(Thread.java:479)

  
-Original Message-From: Brett Porter 
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, September 26, 
2001 4:44 PMTo: 
'[EMAIL PROTECTED]'Subject: RE: example struts 
app
I 
believe if you use Tomcat 3.2 there are additional steps required (check in 
the install docs). Tomcat 4.0 should work as is.
The example may be using a PostgeSQL database (I've seen the data 
source in the setup), but it seemed to work for me without one set up. I 
deployed it into Resin 2.0 as is without a problem.
 
Perhaps you could post the actual exception (the top 5 - 10 
lines).
 
Cheers,
Brett

  -Original Message-From: Seetharaman Narayanan 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, 27 
  September 2001 9:40 AMTo: 
  '[EMAIL PROTECTED]'Subject: example struts 
  app
  Hello 
  All
      
  Can anyone tell me what are the prerequisites to run the example 
  application which comes with the struts download? I tries running tha app, 
  but couldnt getpass the index.jsp, because when I click on any of the 
  links in index.jsp, I get a Servlet Exception.
   
  Here is what I 
  did. I copied the war file into the C:\Tomcat\Webapps directory. I started 
  Tomcat and pointed my browser to localhost/struts-example and I am taken 
  to index.jsp. From there on the problem beginto arise. 

   
   I need 
  urgent help as after seeing them work, I have to get on to our 
  project.
   
  Thanks
  Seetharaman Narayanan Software Engineer Keynote Systems Inc., 
   


RE: example struts app

2001-09-26 Thread Seetharaman Narayanan




Hi Brett,
   
Thank you for being a nice help. Here is what I got. I think I have set up all 
the pre-requisites(otherwise I wouldnt even seen the index.jsp). 

The war file after its deployed 
creates a directory and puts in all the files in exact locations. This is what 
the installation notes was saying.
Only concern is do we need to 
point to struts.jar in the script which starts the Tomcat 3.1 ? 

 
Thanks Again
Seetharaman
 
Error: 500
Location: /StrutsDemo/registration.jspInternal Servlet 
Error:javax.servlet.ServletException: cant remove Attributes from request scope
	at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:386)
	at _0002fregistration_0002ejspregistration_jsp_0._jspService(_0002fregistration_0002ejspregistration_jsp_0.java, Compiled Code)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:174)
	at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
	at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:163)
	at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1758)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
	at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java, Compiled Code)
	at java.lang.Thread.run(Thread.java:479)


  -Original Message-From: Brett Porter 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, September 26, 
  2001 4:44 PMTo: '[EMAIL PROTECTED]'Subject: 
  RE: example struts app
  I 
  believe if you use Tomcat 3.2 there are additional steps required (check in 
  the install docs). Tomcat 4.0 should work as is.
  The 
  example may be using a PostgeSQL database (I've seen the data source in the 
  setup), but it seemed to work for me without one set up. I deployed it into 
  Resin 2.0 as is without a problem.
   
  Perhaps you could post the actual exception (the top 5 - 10 
  lines).
   
  Cheers,
  Brett
  
-Original Message-From: Seetharaman Narayanan 
[mailto:[EMAIL PROTECTED]]Sent: Thursday, 27 
September 2001 9:40 AMTo: 
'[EMAIL PROTECTED]'Subject: example struts 
app
Hello 
All
    
Can anyone tell me what are the prerequisites to run the example application 
which comes with the struts download? I tries running tha app, but couldnt 
getpass the index.jsp, because when I click on any of the links in 
index.jsp, I get a Servlet Exception.
 
Here is what I 
did. I copied the war file into the C:\Tomcat\Webapps directory. I started 
Tomcat and pointed my browser to localhost/struts-example and I am taken to 
index.jsp. From there on the problem beginto arise. 
 
 I need 
urgent help as after seeing them work, I have to get on to our 
project.
 
Thanks
Seetharaman Narayanan Software Engineer Keynote Systems 
Inc., 
 


RE: example struts app

2001-09-26 Thread Brett Porter



I 
believe if you use Tomcat 3.2 there are additional steps required (check in the 
install docs). Tomcat 4.0 should work as is.
The 
example may be using a PostgeSQL database (I've seen the data source in the 
setup), but it seemed to work for me without one set up. I deployed it into 
Resin 2.0 as is without a problem.
 
Perhaps you could post the actual exception (the top 5 - 10 
lines).
 
Cheers,
Brett

  -Original Message-From: Seetharaman Narayanan 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, 27 
  September 2001 9:40 AMTo: 
  '[EMAIL PROTECTED]'Subject: example struts 
  app
  Hello 
  All
      
  Can anyone tell me what are the prerequisites to run the example application 
  which comes with the struts download? I tries running tha app, but couldnt 
  getpass the index.jsp, because when I click on any of the links in index.jsp, 
  I get a Servlet Exception.
   
  Here is what I 
  did. I copied the war file into the C:\Tomcat\Webapps directory. I started 
  Tomcat and pointed my browser to localhost/struts-example and I am taken to 
  index.jsp. From there on the problem beginto arise. 
   
   I need 
  urgent help as after seeing them work, I have to get on to our 
  project.
   
  Thanks
  Seetharaman Narayanan Software Engineer Keynote Systems 
  Inc.,