DataSource ??

2002-03-18 Thread majid kamal

I was compiling some classes then I got this error :

C:\tomcat401\webapps\jprostrut\WEB-INF\classes\com\mousetech\strutsdemojavac
*.
java
CategoryForm.java:110: cannot resolve symbol
symbol  : class DataSource
location: package sql
javax.sql.DataSource ds = servlet.findDataSource( null );

Couls you please help me.
thanks

-- 
majid kamal
[EMAIL PROTECTED] - email
(781) 685-1450 x2371 - voicemail/fax



__
Voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Exception..... org.apache.struts.action.DATA_SOURCE

2002-03-18 Thread majid kamal

Could you help me please , I got this error :

Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error



type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server
Error) that prevented it from fulfilling this request.

exception 

javax.servlet.ServletException: Exception initializing application data
source org.apache.struts.action.DATA_SOURCE
at 
org.apache.struts.action.ActionServlet.initDataSources(ActionServlet.java:1069)



-- 
majid kamal
[EMAIL PROTECTED] - email
(781) 685-1450 x2371 - voicemail/fax



__
Voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




where can I find struts example using a database ?

2001-12-20 Thread majid kamal


I have tomcat4 amd mysql installed in my windows2000, could you please
tell me where can I find sturts exmaples with database.
thanks



__
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




test, please ignore

2001-06-19 Thread majid kamal

this is a test to see is I can post messages or not.

-- 
majid kamal
[EMAIL PROTECTED] - email
(781) 685-1450 x2371 - voicemail/fax



__
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com




TEST (Please ignore it)

2001-05-04 Thread majid kamal

my first posting.

-- 
majid kamal
[EMAIL PROTECTED] - email
(781) 685-1450 x2371 - voicemail/fax



__
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com




where other struts examples ??

2001-04-16 Thread majid kamal

Hi, did someone extended the struts example, or created other web applications
using struts, I just start learning struts.
Thanks

-- 
majid kamal
[EMAIL PROTECTED] - email
(781) 685-1450 x2371 - voicemail/fax



__
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com




can't start tomcat

2001-02-07 Thread majid kamal

Hi, I have tomcat3.1, it was woking fine, now I downloaded the last version
under windows2000, but when I try to start it like this :
C:\tomcat\bin\tomcat start
I got this error :
Unable to locate servlet.jar, check the value of TOMCAT_HOME.

TOMCAT_HOME is set to C:\tomcat; 

Could you please help me.
Thanks



__
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com




can't start tomcat ????

2001-02-07 Thread majid kamal


Hi, I have tomcat3.1, it was woking fine, now I downloaded the last version
under windows2000, but when I try to start it like this :
C:\tomcat\bin\tomcat start
I got this error :
Unable to locate servlet.jar, check the value of TOMCAT_HOME.

TOMCAT_HOME is set to C:\tomcat; 

Could you please help me.
Thanks

-- 
majid kamal
[EMAIL PROTECTED] - email
(781) 685-1450 x2371 - voicemail/fax



__
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com




what does this ERROR mean ??

2001-02-04 Thread majid kamal

could you please go to :
http://www.webappcabaret.com/yna54context

and explain to me what does this error mean.
Thanks lot

-- 
majid kamal
[EMAIL PROTECTED] - email
(781) 685-1450 x2371 - voicemail/fax



__
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com




Re: Error: 500 from ????????????

2001-02-02 Thread majid kamal


I made thange the Mr Richard told me to do in the web.xml file, but still
have the same problem, the same problem even with struts example.
Always got this :
Error: 500
Location: /hellostruts/hello.jsp
Internal Servlet Error:

javax.servlet.ServletException
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

Root cause: 
java.lang.NoSuchMethodError
at 
org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:524)
at 
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:432)
at 
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:385)
at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:233)
at 
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:706)
at 
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)


-- 
majid kamal
[EMAIL PROTECTED] - email
(781) 685-1450 x2371 - voicemail/fax






 "Steven D. Wilkinson" [EMAIL PROTECTED] wrote:
 As Richard mentioned your xml is wrong.  Try this...
 I assume you have the header information or else it would be a different
 error.;-)
 
 ?xml version="1.0" encoding="ISO-8859-1"?
 !DOCTYPE web-app
   PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
   "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"
  web-app
 servlet
   servlet-nameaction/servlet-name
   servlet-classorg.apache.struts.action.ActionServlet/servlet-class
  !--Below is the init-param--
  !--This defines where your application resources are located.--
  !--It uses the classloader to find the file.--
  !--The ".properties" extension isn´t used to locate resources.--
 init-param
 param-nameapplication/param-name
 param-valuehelloworld.HelloWorldResources/param-value
 /init-param
 load-on-startup1/load-on-startup
   /servlet
  
!--This section defines what file to open first if none is specified
  --
welcome-file-list
welcome-filehello.jsp/welcome-file
/welcome-file-list
 
!--The following section defines a URI to use to retrieve the struts
  taglib --
taglib
taglib-uri/WEB-INF/struts-bean.tld/taglib-uri
taglib-location/WEB-INF/struts-bean.tld/taglib-lo

Error:500 Pease Please help !!!!!!!

2001-01-29 Thread majid kamal

Hello all,
 
I am fairly new to this mailing list.
I need to run the struts-example. Browsing this Mailing 
list ( tomcat one)  Archives I have seen that it doesn't seem too easy

( jasper issues, taglib, even the taglib example that comes with tomcat
is not working)  although it is said to be 
feasible.
Here is the error I got :
Error: 500
Location: /struts-example/index.jsp
No detailed message
 
So i was wondering if someone that has accomplish such thing could
- give me some helpul links ?
-  or some kind of direction of how to set up this. ?
- or aware me of all the pitfalls that i should take care of ?
 
Moreover i was wondering which version of each product I can/should 
use 
to succesfully do it ?  (is there some incompatibiliy between various

products version ??)
 
Thank you in advance for  your help.

-- 
majid kamal
[EMAIL PROTECTED] - email
(781) 685-1450 x2371 - voicemail/fax



__
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com




Error: 500 ????????

2001-01-28 Thread majid kamal

Hi, I got Error: 500 when I was running a struts example under tomcat,
the error said :

Error: 500
Location: /hellostruts/hello.jsp
Internal Servlet Error:

org.apache.jasper.JasperException: Unable to open taglibrary /WEB-INF/struts-bean.tld
: Parse Error in the tag library descriptor: Element "web-app" does not
allow "welcome-file-list" here.
at 
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:672)
at 
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
...

And my web.xml is :

?xml version="1.0" encoding="ISO-8859-1"?

!DOCTYPE web-app
  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
  "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"

web-app 
   servlet
 servlet-nameaction/servlet-name
 servlet-classorg.apache.struts.action.ActionServlet/servlet-class
!--Below is the init-param--
!--This defines where your application resources are located.--
!--It uses the classloader to find the file.--
!--The ".properties" extension isn´t used to locate resources.--
   init-param
   param-nameapplication/param-name
   param-valuehelloworld.HelloWorldResources/param-value
   /init-param
   load-on-startup1/load-on-startup
 /servlet

  !--The following section defines a URI to use to retrieve the struts
taglib --
  taglib
  taglib-uri/WEB-INF/struts-bean.tld/taglib-uri
  taglib-location/WEB-INF/struts-bean.tld/taglib-location
  /taglib

  !--This section defines what file to open first if none is specified
--
  welcome-file-list
  welcome-filehello.jsp/welcome-file
  /welcome-file-list
/web-app


Could you please help me.
Thanks


-- 
majid kamal
[EMAIL PROTECTED] - email
(781) 685-1450 x2371 - voicemail/fax



__
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com