>  localhost:8080/EGPS/banking/action/login.jsp

It looks like you are confusing pathmapping with welcome file list

Try this instead:
http://localhost:8080/EGPS/banking/login.jsp

I removed "/action" because that's what you need to call an action, which
will forward to your jsp.

Good luck.

James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta



> -----Original Message-----
> From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]]
> Sent: Thursday, July 18, 2002 9:55 PM
> To: [EMAIL PROTECTED]
> Subject: Welcome file, servlet mapping in web.xml file
>
>
> Subject: Welcome file, servlet mapping in web.xml file
> From: "BillB" <[EMAIL PROTECTED]>
>  ===
>
> Given the following web.xml entry:
>
>   <servlet>
>     <servlet-name>banking</servlet-name>
>     <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
>     <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>3</param-value>
>     </init-param>
>     <init-param>
>       <param-name>detail</param-name>
>       <param-value>3</param-value>
>     </init-param>
>     <init-param>
>       <param-name>validating</param-name>
>       <param-value>true</param-value>
>     </init-param>
>     <load-on-startup>1</load-on-startup>
>   </servlet>
>
>   <servlet-mapping>
>     <servlet-name>banking</servlet-name>
>     <url-pattern>/action/*</url-pattern>
>   </servlet-mapping>
>
>
> <welcome-file-list><welcome-file>login.jsp</welcome-file></welcome
> -file-list
> >
>
> and a jsp file called login.jsp in the root webapp directory, what else is
> required to view the page
> with the URL: localhost:8080/EGPS/banking/action/login.jsp? I continually
> get a 500 error saying the
> resource isn't found. Is there something I'm missing?
>
> Thanks,
> Bill
>



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

Reply via email to