Startup Problem

2002-09-26 Thread Kalaiselvan

Hi All,

Here i'm facing serious problem..
I already configured test application in Struts.

But when I configure my original Application i face serious problem..

I got an error like

No action instance for path /login could be created
The server encountered an internal error (No action instance for path /login could be 
created) that prevented it from fulfilling this request.

I gave my code here

struts-config.xml


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

!DOCTYPE struts-config PUBLIC
  -//Apache Software Foundation//DTD Struts Configuration 1.0//EN
  http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd;

struts-config
form-beans
form-bean name=loginForm type=com..login.LoginForm/
/form-beans
global-forwards
forward   name=error  path=/login.jsp/
/global-forwards
action-mappings
actionpath=/login
   type=com.login.LoginAction
   name=loginForm
   scope=request
   input=/login.jsp
 forward name=success path=/home.jsp/  
/action
/action-mappings
/struts-config

web.xml
-

?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

  !-- Action Servlet Configuration --
  servlet
servlet-nameaction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
  param-nameapplication/param-name
  param-valuecom.openwave.careertracks.ApplicationResources/param-value
/init-param
init-param
  param-nameconfig/param-name
  param-value/WEB-INF/struts-config.xml/param-value
/init-param
init-param
  param-namedebug/param-name
  param-value2/param-value
/init-param
init-param
  param-namedetail/param-name
  param-value2/param-value
/init-param
init-param
  param-namevalidate/param-name
  param-valuetrue/param-value
/init-param
load-on-startup1/load-on-startup
  /servlet


  !-- Action Servlet Mapping --
  servlet-mapping
servlet-nameaction/servlet-name
url-pattern*.do/url-pattern
  /servlet-mapping


  !-- The Welcome File List --
  welcome-file-list
welcome-filelogin.jsp/welcome-file
  /welcome-file-list

  !-- Application Tag Library Descriptor --
  taglib
taglib-uri/WEB-INF/app.tld/taglib-uri
taglib-location/WEB-INF/app.tld/taglib-location
  /taglib

  !-- Struts Tag Library Descriptors --
  taglib
taglib-uri/WEB-INF/struts-bean.tld/taglib-uri
taglib-location/WEB-INF/struts-bean.tld/taglib-location
  /taglib

  taglib
taglib-uri/WEB-INF/struts-html.tld/taglib-uri
taglib-location/WEB-INF/struts-html.tld/taglib-location
  /taglib

  taglib
taglib-uri/WEB-INF/struts-logic.tld/taglib-uri
taglib-location/WEB-INF/struts-logic.tld/taglib-location
  /taglib
/web-app

login.jsp
---
% taglib uri='/WEB-INF/struts-template.tld' prefix='template' %

template:insert template='/logintemplate.jsp'
  template:put name='title' content='Strus' direct='true'/
  template:put name='header' content='/header.htm' /
  template:put name='content' content='/login.htm'/
  template:put name='footer' content='/footer.htm' /
/template:insert

login.html

form
table align=center cellpadding=0 cellspacing=0
td class=text11boldnbsp;nbsp;nbsp;Username:nbsp;nbsp;input 
class=inbox type=text name=userName value= size=15/td
/tr
tr/tr
tr
td class=text11boldnbsp;nbsp;nbsp;Password:nbsp;nbsp;input 
class=inbox type=password name=password size=15 
a href=login.doimg src=images/login_button.gif border=0/a/td/table
/form


Please help
where i made a mistake..

Thanx in Advance



Re: Startup Problem

2002-09-26 Thread Mark Maimone

check the package name

form-beans
   form-bean name=loginForm  type=com..login.LoginForm/
   /form-beans


 [EMAIL PROTECTED] 09/26/02 12:13 PM 
Hi All,

Here i'm facing serious problem..
I already configured test application in Struts.

But when I configure my original Application i face serious problem..

I got an error like

No action instance for path /login could be created
The server encountered an internal error (No action instance for path
/login could be created) that prevented it from fulfilling this
request.

I gave my code here

struts-config.xml


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

!DOCTYPE struts-config PUBLIC
  -//Apache Software Foundation//DTD Struts Configuration
1.0//EN
  http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd;

struts-config
form-beans
form-bean name=loginForm type=com..login.LoginForm/
/form-beans
global-forwards
forward   name=error  path=/login.jsp/
/global-forwards
action-mappings
actionpath=/login
   type=com.login.LoginAction
   name=loginForm
   scope=request
   input=/login.jsp
 forward name=success path=/home.jsp/  
/action
/action-mappings
/struts-config

web.xml
-

?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

  !-- Action Servlet Configuration --
  servlet
servlet-nameaction/servlet-name
   
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
  param-nameapplication/param-name
 
param-valuecom.openwave.careertracks.ApplicationResources/param-value
/init-param
init-param
  param-nameconfig/param-name
  param-value/WEB-INF/struts-config.xml/param-value
/init-param
init-param
  param-namedebug/param-name
  param-value2/param-value
/init-param
init-param
  param-namedetail/param-name
  param-value2/param-value
/init-param
init-param
  param-namevalidate/param-name
  param-valuetrue/param-value
/init-param
load-on-startup1/load-on-startup
  /servlet


  !-- Action Servlet Mapping --
  servlet-mapping
servlet-nameaction/servlet-name
url-pattern*.do/url-pattern
  /servlet-mapping


  !-- The Welcome File List --
  welcome-file-list
welcome-filelogin.jsp/welcome-file
  /welcome-file-list

  !-- Application Tag Library Descriptor --
  taglib
taglib-uri/WEB-INF/app.tld/taglib-uri
taglib-location/WEB-INF/app.tld/taglib-location
  /taglib

  !-- Struts Tag Library Descriptors --
  taglib
taglib-uri/WEB-INF/struts-bean.tld/taglib-uri
taglib-location/WEB-INF/struts-bean.tld/taglib-location
  /taglib

  taglib
taglib-uri/WEB-INF/struts-html.tld/taglib-uri
taglib-location/WEB-INF/struts-html.tld/taglib-location
  /taglib

  taglib
taglib-uri/WEB-INF/struts-logic.tld/taglib-uri
taglib-location/WEB-INF/struts-logic.tld/taglib-location
  /taglib
/web-app

login.jsp
---
%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %

template:insert template='/logintemplate.jsp'
  template:put name='title' content='Strus' direct='true'/
  template:put name='header' content='/header.htm' /
  template:put name='content' content='/login.htm'/
  template:put name='footer' content='/footer.htm' /
/template:insert

login.html

form
table align=center cellpadding=0 cellspacing=0
td class=text11bold***Username:**input class=inbox
type=text name=userName value= size=15/td
/tr
tr/tr
tr
td class=text11bold***Password:**input class=inbox
type=password name=password size=15 
a href=login.doimg src=images/login_button.gif
border=0/a/td/table
/form


Please help
where i made a mistake..

Thanx in Advance


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




Re: Startup Problem

2002-09-26 Thread Eddie Bush

I wouldn't hazard a guess, personally.  When the app is loaded and 
initializes it should spit out a stack trace (this is obviously a 
mistake in your config file).  Find that trace and you'll find your problem.

Kalaiselvan wrote:

Hi All,

Here i'm facing serious problem..
I already configured test application in Struts.

But when I configure my original Application i face serious problem..

I got an error like

No action instance for path /login could be created
The server encountered an internal error (No action instance for path /login could 
be created) that prevented it from fulfilling this request.


-- 
Eddie Bush




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




RE: Startup Problem

2002-09-26 Thread Taylor, Jason

LOOK AT YOUR CONSOLE!!

-Original Message-
From: Kalaiselvan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 6:32 AM
To: Struts Users Mailing List
Subject: Startup Problem


Hi All,

Here i'm facing serious problem..
I already configured test application in Struts.

But when I configure my original Application i face serious problem..

I got an error like

No action instance for path /login could be created
The server encountered an internal error (No action instance for path
/login could be created) that prevented it from fulfilling this request.

I gave my code here

struts-config.xml


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

!DOCTYPE struts-config PUBLIC
  -//Apache Software Foundation//DTD Struts Configuration 1.0//EN
  http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd;

struts-config
form-beans
form-bean name=loginForm type=com..login.LoginForm/
/form-beans
global-forwards
forward   name=error  path=/login.jsp/
/global-forwards
action-mappings
actionpath=/login
   type=com.login.LoginAction
   name=loginForm
   scope=request
   input=/login.jsp
 forward name=success path=/home.jsp/  
/action
/action-mappings
/struts-config

web.xml
-

?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

  !-- Action Servlet Configuration --
  servlet
servlet-nameaction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
  param-nameapplication/param-name
 
param-valuecom.openwave.careertracks.ApplicationResources/param-value
/init-param
init-param
  param-nameconfig/param-name
  param-value/WEB-INF/struts-config.xml/param-value
/init-param
init-param
  param-namedebug/param-name
  param-value2/param-value
/init-param
init-param
  param-namedetail/param-name
  param-value2/param-value
/init-param
init-param
  param-namevalidate/param-name
  param-valuetrue/param-value
/init-param
load-on-startup1/load-on-startup
  /servlet


  !-- Action Servlet Mapping --
  servlet-mapping
servlet-nameaction/servlet-name
url-pattern*.do/url-pattern
  /servlet-mapping


  !-- The Welcome File List --
  welcome-file-list
welcome-filelogin.jsp/welcome-file
  /welcome-file-list

  !-- Application Tag Library Descriptor --
  taglib
taglib-uri/WEB-INF/app.tld/taglib-uri
taglib-location/WEB-INF/app.tld/taglib-location
  /taglib

  !-- Struts Tag Library Descriptors --
  taglib
taglib-uri/WEB-INF/struts-bean.tld/taglib-uri
taglib-location/WEB-INF/struts-bean.tld/taglib-location
  /taglib

  taglib
taglib-uri/WEB-INF/struts-html.tld/taglib-uri
taglib-location/WEB-INF/struts-html.tld/taglib-location
  /taglib

  taglib
taglib-uri/WEB-INF/struts-logic.tld/taglib-uri
taglib-location/WEB-INF/struts-logic.tld/taglib-location
  /taglib
/web-app

login.jsp
---
%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %

template:insert template='/logintemplate.jsp'
  template:put name='title' content='Strus' direct='true'/
  template:put name='header' content='/header.htm' /
  template:put name='content' content='/login.htm'/
  template:put name='footer' content='/footer.htm' /
/template:insert

login.html

form
table align=center cellpadding=0 cellspacing=0
td class=text11boldnbsp;nbsp;nbsp;Username:nbsp;nbsp;input
class=inbox type=text name=userName value= size=15/td
/tr
tr/tr
tr
td class=text11boldnbsp;nbsp;nbsp;Password:nbsp;nbsp;input
class=inbox type=password name=password size=15 
a href=login.doimg src=images/login_button.gif
border=0/a/td/table
/form


Please help
where i made a mistake..

Thanx in Advance



Re: Startup Problem

2002-09-26 Thread Mark Maimone

I see that the package name for your LoginForm has .. in it 

form-bean name=loginForm type=com..login.LoginForm/


 [EMAIL PROTECTED] 09/26/02 13:13 PM 
Hi All,

Here i'm facing serious problem..
I already configured test application in Struts.

But when I configure my original Application i face serious problem..

I got an error like

No action instance for path /login could be created
The server encountered an internal error (No action instance for path
/login could be created) that prevented it from fulfilling this
request.

I gave my code here

struts-config.xml


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

!DOCTYPE struts-config PUBLIC
  -//Apache Software Foundation//DTD Struts Configuration
1.0//EN
  http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd;

struts-config
form-beans
form-bean name=loginForm type=com..login.LoginForm/
/form-beans
global-forwards
forward   name=error  path=/login.jsp/
/global-forwards
action-mappings
actionpath=/login
   type=com.login.LoginAction
   name=loginForm
   scope=request
   input=/login.jsp
 forward name=success path=/home.jsp/  
/action
/action-mappings
/struts-config

web.xml
-

?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

  !-- Action Servlet Configuration --
  servlet
servlet-nameaction/servlet-name
   
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
  param-nameapplication/param-name
 
param-valuecom.openwave.careertracks.ApplicationResources/param-value
/init-param
init-param
  param-nameconfig/param-name
  param-value/WEB-INF/struts-config.xml/param-value
/init-param
init-param
  param-namedebug/param-name
  param-value2/param-value
/init-param
init-param
  param-namedetail/param-name
  param-value2/param-value
/init-param
init-param
  param-namevalidate/param-name
  param-valuetrue/param-value
/init-param
load-on-startup1/load-on-startup
  /servlet


  !-- Action Servlet Mapping --
  servlet-mapping
servlet-nameaction/servlet-name
url-pattern*.do/url-pattern
  /servlet-mapping


  !-- The Welcome File List --
  welcome-file-list
welcome-filelogin.jsp/welcome-file
  /welcome-file-list

  !-- Application Tag Library Descriptor --
  taglib
taglib-uri/WEB-INF/app.tld/taglib-uri
taglib-location/WEB-INF/app.tld/taglib-location
  /taglib

  !-- Struts Tag Library Descriptors --
  taglib
taglib-uri/WEB-INF/struts-bean.tld/taglib-uri
taglib-location/WEB-INF/struts-bean.tld/taglib-location
  /taglib

  taglib
taglib-uri/WEB-INF/struts-html.tld/taglib-uri
taglib-location/WEB-INF/struts-html.tld/taglib-location
  /taglib

  taglib
taglib-uri/WEB-INF/struts-logic.tld/taglib-uri
taglib-location/WEB-INF/struts-logic.tld/taglib-location
  /taglib
/web-app

login.jsp
---
%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %

template:insert template='/logintemplate.jsp'
  template:put name='title' content='Strus' direct='true'/
  template:put name='header' content='/header.htm' /
  template:put name='content' content='/login.htm'/
  template:put name='footer' content='/footer.htm' /
/template:insert

login.html

form
table align=center cellpadding=0 cellspacing=0
td class=text11bold***Username:**input class=inbox
type=text name=userName value= size=15/td
/tr
tr/tr
tr
td class=text11bold***Password:**input class=inbox
type=password name=password size=15 
a href=login.doimg src=images/login_button.gif
border=0/a/td/table
/form


Please help
where i made a mistake..

Thanx in Advance


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




Re: Startup Problem

2002-09-26 Thread Kalaiselvan

Sorry, it was a pasting problem the package name is

form-bean name=loginForm type=com.login.LoginForm/

Still i got the same error. Plz help where i made a mistake
its very urgent for me to solve.

Thanx
Kalaiselvan.S

- Original Message -
From: Mark Maimone [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 26, 2002 10:54 PM
Subject: Re: Startup Problem


 I see that the package name for your LoginForm has .. in it

 form-bean name=loginForm type=com..login.LoginForm/


  [EMAIL PROTECTED] 09/26/02 13:13 PM 
 Hi All,

 Here i'm facing serious problem..
 I already configured test application in Struts.

 But when I configure my original Application i face serious problem..

 I got an error like

 No action instance for path /login could be created
 The server encountered an internal error (No action instance for path
 /login could be created) that prevented it from fulfilling this
 request.

 I gave my code here

 struts-config.xml
 

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

 !DOCTYPE struts-config PUBLIC
   -//Apache Software Foundation//DTD Struts Configuration
 1.0//EN
   http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd;

 struts-config
 form-beans
 form-bean name=loginForm type=com..login.LoginForm/
 /form-beans
 global-forwards
 forward   name=error  path=/login.jsp/
 /global-forwards
 action-mappings
 actionpath=/login
type=com.login.LoginAction
name=loginForm
scope=request
input=/login.jsp
  forward name=success path=/home.jsp/
 /action
 /action-mappings
 /struts-config

 web.xml
 -

 ?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

   !-- Action Servlet Configuration --
   servlet
 servlet-nameaction/servlet-name

 servlet-classorg.apache.struts.action.ActionServlet/servlet-class
 init-param
   param-nameapplication/param-name

 param-valuecom.openwave.careertracks.ApplicationResources/param-value
 /init-param
 init-param
   param-nameconfig/param-name
   param-value/WEB-INF/struts-config.xml/param-value
 /init-param
 init-param
   param-namedebug/param-name
   param-value2/param-value
 /init-param
 init-param
   param-namedetail/param-name
   param-value2/param-value
 /init-param
 init-param
   param-namevalidate/param-name
   param-valuetrue/param-value
 /init-param
 load-on-startup1/load-on-startup
   /servlet


   !-- Action Servlet Mapping --
   servlet-mapping
 servlet-nameaction/servlet-name
 url-pattern*.do/url-pattern
   /servlet-mapping


   !-- The Welcome File List --
   welcome-file-list
 welcome-filelogin.jsp/welcome-file
   /welcome-file-list

   !-- Application Tag Library Descriptor --
   taglib
 taglib-uri/WEB-INF/app.tld/taglib-uri
 taglib-location/WEB-INF/app.tld/taglib-location
   /taglib

   !-- Struts Tag Library Descriptors --
   taglib
 taglib-uri/WEB-INF/struts-bean.tld/taglib-uri
 taglib-location/WEB-INF/struts-bean.tld/taglib-location
   /taglib

   taglib
 taglib-uri/WEB-INF/struts-html.tld/taglib-uri
 taglib-location/WEB-INF/struts-html.tld/taglib-location
   /taglib

   taglib
 taglib-uri/WEB-INF/struts-logic.tld/taglib-uri
 taglib-location/WEB-INF/struts-logic.tld/taglib-location
   /taglib
 /web-app

 login.jsp
 ---
 %@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %

 template:insert template='/logintemplate.jsp'
   template:put name='title' content='Strus' direct='true'/
   template:put name='header' content='/header.htm' /
   template:put name='content' content='/login.htm'/
   template:put name='footer' content='/footer.htm' /
 /template:insert

 login.html
 
 form
 table align=center cellpadding=0 cellspacing=0
 td class=text11bold***Username:**input class=inbox
 type=text name=userName value= size=15/td
 /tr
 tr/tr
 tr
 td class=text11bold***Password:**input class=inbox
 type=password name=password size=15
 a href=login.doimg src=images/login_button.gif
 border=0/a/td/table
 /form


 Please help
 where i made a mistake..

 Thanx in Advance


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




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




Re: Startup Problem

2002-09-26 Thread Amit Badheka

Hi,
make sure that the action/form class is declared public.

Amit.
- Original Message -
From: Kalaiselvan [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, September 27, 2002 7:56 AM
Subject: Re: Startup Problem


 Sorry, it was a pasting problem the package name is

 form-bean name=loginForm type=com.login.LoginForm/

 Still i got the same error. Plz help where i made a mistake
 its very urgent for me to solve.

 Thanx
 Kalaiselvan.S

 - Original Message -
 From: Mark Maimone [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, September 26, 2002 10:54 PM
 Subject: Re: Startup Problem


  I see that the package name for your LoginForm has .. in it
 
  form-bean name=loginForm type=com..login.LoginForm/
 
 
   [EMAIL PROTECTED] 09/26/02 13:13 PM 
  Hi All,
 
  Here i'm facing serious problem..
  I already configured test application in Struts.
 
  But when I configure my original Application i face serious problem..
 
  I got an error like
 
  No action instance for path /login could be created
  The server encountered an internal error (No action instance for path
  /login could be created) that prevented it from fulfilling this
  request.
 
  I gave my code here
 
  struts-config.xml
  
 
  ?xml version=1.0 encoding=ISO-8859-1?
 
  !DOCTYPE struts-config PUBLIC
-//Apache Software Foundation//DTD Struts Configuration
  1.0//EN
http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd;
 
  struts-config
  form-beans
  form-bean name=loginForm type=com..login.LoginForm/
  /form-beans
  global-forwards
  forward   name=error  path=/login.jsp/
  /global-forwards
  action-mappings
  actionpath=/login
 type=com.login.LoginAction
 name=loginForm
 scope=request
 input=/login.jsp
   forward name=success path=/home.jsp/
  /action
  /action-mappings
  /struts-config
 
  web.xml
  -
 
  ?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
 
!-- Action Servlet Configuration --
servlet
  servlet-nameaction/servlet-name
 
  servlet-classorg.apache.struts.action.ActionServlet/servlet-class
  init-param
param-nameapplication/param-name
 
 
param-valuecom.openwave.careertracks.ApplicationResources/param-value
  /init-param
  init-param
param-nameconfig/param-name
param-value/WEB-INF/struts-config.xml/param-value
  /init-param
  init-param
param-namedebug/param-name
param-value2/param-value
  /init-param
  init-param
param-namedetail/param-name
param-value2/param-value
  /init-param
  init-param
param-namevalidate/param-name
param-valuetrue/param-value
  /init-param
  load-on-startup1/load-on-startup
/servlet
 
 
!-- Action Servlet Mapping --
servlet-mapping
  servlet-nameaction/servlet-name
  url-pattern*.do/url-pattern
/servlet-mapping
 
 
!-- The Welcome File List --
welcome-file-list
  welcome-filelogin.jsp/welcome-file
/welcome-file-list
 
!-- Application Tag Library Descriptor --
taglib
  taglib-uri/WEB-INF/app.tld/taglib-uri
  taglib-location/WEB-INF/app.tld/taglib-location
/taglib
 
!-- Struts Tag Library Descriptors --
taglib
  taglib-uri/WEB-INF/struts-bean.tld/taglib-uri
  taglib-location/WEB-INF/struts-bean.tld/taglib-location
/taglib
 
taglib
  taglib-uri/WEB-INF/struts-html.tld/taglib-uri
  taglib-location/WEB-INF/struts-html.tld/taglib-location
/taglib
 
taglib
  taglib-uri/WEB-INF/struts-logic.tld/taglib-uri
  taglib-location/WEB-INF/struts-logic.tld/taglib-location
/taglib
  /web-app
 
  login.jsp
  ---
  %@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %
 
  template:insert template='/logintemplate.jsp'
template:put name='title' content='Strus' direct='true'/
template:put name='header' content='/header.htm' /
template:put name='content' content='/login.htm'/
template:put name='footer' content='/footer.htm' /
  /template:insert
 
  login.html
  
  form
  table align=center cellpadding=0 cellspacing=0
  td class=text11bold***Username:**input class=inbox
  type=text name=userName value= size=15/td
  /tr
  tr/tr
  tr
  td class=text11bold***Password:**input class=inbox
  type=password name=password size=15
  a href=login.doimg src=images/login_button.gif
  border=0/a/td/table
  /form
 
 
  Please help
  where i made a mistake..
 
  Thanx in Advance
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 



 --
 To unsubscribe, e-mail:
mailto:[EMAIL

Re: Startup Problem

2002-09-26 Thread Kalaiselvan

Hi All,,
 Thanx for all your reply.

I have found where i made mistake..
I put all my classes in WEB-INF/lib directory.
After i put my all classes in WEB-INF/classes directory, i can able to run
the application.

Here i have a doubt
Why the war file didnt take the class files from lib directory..?
But my struts.jar in WEB-IN/lib directory..
If  i jar my all classes into one jar  and  i put into WEB-INF/lib  whether
it will be work or  not.

Thanx
Kalaiselvan.S

- Original Message -
From: Amit Badheka [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, September 27, 2002 10:16 AM
Subject: Re: Startup Problem


 Hi,
 make sure that the action/form class is declared public.

 Amit.
 - Original Message -
 From: Kalaiselvan [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Friday, September 27, 2002 7:56 AM
 Subject: Re: Startup Problem


  Sorry, it was a pasting problem the package name is
 
  form-bean name=loginForm type=com.login.LoginForm/
 
  Still i got the same error. Plz help where i made a mistake
  its very urgent for me to solve.
 
  Thanx
  Kalaiselvan.S
 
  - Original Message -
  From: Mark Maimone [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, September 26, 2002 10:54 PM
  Subject: Re: Startup Problem
 
 
   I see that the package name for your LoginForm has .. in it
  
   form-bean name=loginForm type=com..login.LoginForm/
  
  
[EMAIL PROTECTED] 09/26/02 13:13 PM 
   Hi All,
  
   Here i'm facing serious problem..
   I already configured test application in Struts.
  
   But when I configure my original Application i face serious problem..
  
   I got an error like
  
   No action instance for path /login could be created
   The server encountered an internal error (No action instance for path
   /login could be created) that prevented it from fulfilling this
   request.
  
   I gave my code here
  
   struts-config.xml
   
  
   ?xml version=1.0 encoding=ISO-8859-1?
  
   !DOCTYPE struts-config PUBLIC
 -//Apache Software Foundation//DTD Struts Configuration
   1.0//EN
  
http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd;
  
   struts-config
   form-beans
   form-bean name=loginForm type=com..login.LoginForm/
   /form-beans
   global-forwards
   forward   name=error  path=/login.jsp/
   /global-forwards
   action-mappings
   actionpath=/login
  type=com.login.LoginAction
  name=loginForm
  scope=request
  input=/login.jsp
forward name=success path=/home.jsp/
   /action
   /action-mappings
   /struts-config
  
   web.xml
   -
  
   ?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
  
 !-- Action Servlet Configuration --
 servlet
   servlet-nameaction/servlet-name
  
   servlet-classorg.apache.struts.action.ActionServlet/servlet-class
   init-param
 param-nameapplication/param-name
  
  
 param-valuecom.openwave.careertracks.ApplicationResources/param-value
   /init-param
   init-param
 param-nameconfig/param-name
 param-value/WEB-INF/struts-config.xml/param-value
   /init-param
   init-param
 param-namedebug/param-name
 param-value2/param-value
   /init-param
   init-param
 param-namedetail/param-name
 param-value2/param-value
   /init-param
   init-param
 param-namevalidate/param-name
 param-valuetrue/param-value
   /init-param
   load-on-startup1/load-on-startup
 /servlet
  
  
 !-- Action Servlet Mapping --
 servlet-mapping
   servlet-nameaction/servlet-name
   url-pattern*.do/url-pattern
 /servlet-mapping
  
  
 !-- The Welcome File List --
 welcome-file-list
   welcome-filelogin.jsp/welcome-file
 /welcome-file-list
  
 !-- Application Tag Library Descriptor --
 taglib
   taglib-uri/WEB-INF/app.tld/taglib-uri
   taglib-location/WEB-INF/app.tld/taglib-location
 /taglib
  
 !-- Struts Tag Library Descriptors --
 taglib
   taglib-uri/WEB-INF/struts-bean.tld/taglib-uri
   taglib-location/WEB-INF/struts-bean.tld/taglib-location
 /taglib
  
 taglib
   taglib-uri/WEB-INF/struts-html.tld/taglib-uri
   taglib-location/WEB-INF/struts-html.tld/taglib-location
 /taglib
  
 taglib
   taglib-uri/WEB-INF/struts-logic.tld/taglib-uri
   taglib-location/WEB-INF/struts-logic.tld/taglib-location
 /taglib
   /web-app
  
   login.jsp
   ---
   %@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %
  
   template:insert template='/logintemplate.jsp'
 template:put name='title' content='Strus' direct='true'/
 template:put

Re: Startup Problem

2002-09-26 Thread Eddie Bush

That's just how the specification states it must be.  Whatever is in lib 
is in the classpath (quite literally - like you would add a jar).  You 
have to have your package-heirarchy in the classes folder.  If you did 
jar up your classes, and drop the archive (JAR-file) into lib, it would 
work just fine.  I've done this.  If it doesn't work, file a bug on your 
container - that's how the spec says it should work, and any container 
that doesn't support it is broke.

Kalaiselvan wrote:

Hi All,,
 Thanx for all your reply.

I have found where i made mistake..
I put all my classes in WEB-INF/lib directory.
After i put my all classes in WEB-INF/classes directory, i can able to run
the application.

Here i have a doubt
Why the war file didnt take the class files from lib directory..?
But my struts.jar in WEB-IN/lib directory..
If  i jar my all classes into one jar  and  i put into WEB-INF/lib  whether
it will be work or  not.

Thanx
Kalaiselvan.S


-- 
Eddie Bush




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