Dear All -
There was a problem in the deployment of the
application in the container. I re-deployed the
application by creating a war file, and it worked.
Thanks for all the help.
I am now getting the prompts that u are getting and
which should be the case.
Cheers.
- Debasish
--- Rama Krishna <[EMAIL PROTECTED]> wrote:
> you didnot send me ur source???
>
> In getUsername
> In getPassword
> In reset
> In setUsername
> In validate
> In action
> In getUsername
> In getPassword
> User = abc Password = abc
>
> this is what i got in my log file.
>
> is this what u r expecting or something else???
>
> i didnot get a 404 but this::
> so i guess it's working fine.
>
> 500 Internal Server Error
> /dep/login.do:
>
> java.lang.IllegalArgumentException: URI is missing
> leading slash
>
> let me know.
>
> rama.
>
>
> ----- Original Message -----
> From: "Debasish Ghosh" <[EMAIL PROTECTED]>
> To: "Rama Krishna" <[EMAIL PROTECTED]>
> Sent: Thursday, August 09, 2001 2:37 PM
> Subject: Re: newbie question
>
>
> > Here's the WAR file ...
> >
> > --- Rama Krishna <[EMAIL PROTECTED]> wrote:
> > > can u zip u r code and send me??
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Debasish Ghosh" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Cc: <[EMAIL PROTECTED]>
> > > Sent: Thursday, August 09, 2001 1:44 PM
> > > Subject: Re: newbie question
> > >
> > >
> > > > No ... doesn't work ..
> > > >
> > > > --- Rama Krishna <[EMAIL PROTECTED]>
> wrote:
> > > > > try this.
> > > > >
> > > > > <!-- The Welcome File List -->
> > > > > <welcome-file-list>
> > > > > <welcome-file>login.do</welcome-file>
> > > > > </welcome-file-list>
> > > > >
> > > > >
> > > > > rama.
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Debasish Ghosh"
> <[EMAIL PROTECTED]>
> > > > > To: <[EMAIL PROTECTED]>
> > > > > Cc: <[EMAIL PROTECTED]>
> > > > > Sent: Thursday, August 09, 2001 1:09 PM
> > > > > Subject: RE: newbie question
> > > > >
> > > > >
> > > > > > Actually I have the extension mapping set
> up
> > > as
> > > > > well.
> > > > > > The following is the web.xml file that I
> am
> > > using
> > > > > from
> > > > > > WEB-INF :
> > > > > >
> > > > > > <?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-name>action</servlet-name>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
> > > > > > <init-param>
> > > > > > <param-name>application</param-name>
> > > > > >
> > > > >
> <param-value>ApplicationResources</param-value>
> > > > > > </init-param>
> > > > > > <init-param>
> > > > > > <param-name>config</param-name>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
<param-value>/WEB-INF/struts-config.xml</param-value>
> > > > > > </init-param>
> > > > > > <init-param>
> > > > > > <param-name>debug</param-name>
> > > > > > <param-value>2</param-value>
> > > > > > </init-param>
> > > > > > <init-param>
> > > > > > <param-name>detail</param-name>
> > > > > > <param-value>2</param-value>
> > > > > > </init-param>
> > > > > > <init-param>
> > > > > > <param-name>validate</param-name>
> > > > > > <param-value>true</param-value>
> > > > > > </init-param>
> > > > > > <load-on-startup>1</load-on-startup>
> > > > > > </servlet>
> > > > > >
> > > > > >
> > > > > > <!-- Action Servlet Mapping -->
> > > > > > <servlet-mapping>
> > > > > > <servlet-name>action</servlet-name>
> > > > > > <url-pattern>*.do</url-pattern>
> > > > > > </servlet-mapping>
> > > > > >
> > > > > >
> > > > > > <!-- The Welcome File List -->
> > > > > > <welcome-file-list>
> > > > > > <welcome-file>login.jsp</welcome-file>
> > > > > > </welcome-file-list>
> > > > > >
> > > > > > <!-- 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>
> > > > > >
> > > > > > --- Martin Cooper
> > > <[EMAIL PROTECTED]>
> > > > > > wrote:
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/