RE: Problem using struts-example.war with J2SDKEE1.3(beta)

2001-03-08 Thread Thai Thanh Ha


 Thank you for your help. Now I have found the reason. The deploy tool
always changes the web.xml in my WAR file( *.do  to /*.do ) so anything.do
can't be found. Maybe this is a bug of deploy tool? I found where the J2EE
server stores its JAR files and change them every time I want to change my
WAR files. ( Not a good way to deploy applications! :-) )

 Regards,
 Thai

-Original Message-
From: Jean-Noël Ribette [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 10:04 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem using struts-example.war with J2SDKEE1.3(beta)



- Original Message -
From: Thai Thanh Ha <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 08, 2001 7:03 AM
Subject: Problem using struts-example.war with J2SDKEE1.3(beta)


>
>  I can't use struts-example.war with J2SDKEE1.3(beta). The JSP pages work
> normally, but when I use *.do, server always returns:
>
>
>
> HTTP Status 404 - /editRegistration.do
> The requested resource (/editRegistration.do) is not available.
>
> What's wrong? Please help me! I know that J2EESDK isn't a good enviroment
> for development. But I must use it :-(
>
It looks like your server is looking for a file name /editRegistration.do
(error 404) instead of calling the action servlet.
Did you map *.do to the action servlet ? The mapping is normally done in the
web.xml file but you may need to specify the mapping in the deploytool.

>  Regards,
>  Thai
>

Jean-Noel



Re: Problem using struts-example.war with J2SDKEE1.3(beta)

2001-03-08 Thread Jean-Noël Ribette


- Original Message -
From: Thai Thanh Ha <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 08, 2001 7:03 AM
Subject: Problem using struts-example.war with J2SDKEE1.3(beta)


>
>  I can't use struts-example.war with J2SDKEE1.3(beta). The JSP pages work
> normally, but when I use *.do, server always returns:
>
>
>
> HTTP Status 404 - /editRegistration.do
> The requested resource (/editRegistration.do) is not available.
>
> What's wrong? Please help me! I know that J2EESDK isn't a good enviroment
> for development. But I must use it :-(
>
It looks like your server is looking for a file name /editRegistration.do
(error 404) instead of calling the action servlet.
Did you map *.do to the action servlet ? The mapping is normally done in the
web.xml file but you may need to specify the mapping in the deploytool.

>  Regards,
>  Thai
>

Jean-Noel




Problem using struts-example.war with J2SDKEE1.3(beta)

2001-03-08 Thread Thai Thanh Ha


 I can't use struts-example.war with J2SDKEE1.3(beta). The JSP pages work
normally, but when I use *.do, server always returns:



HTTP Status 404 - /editRegistration.do
The requested resource (/editRegistration.do) is not available. 

What's wrong? Please help me! I know that J2EESDK isn't a good enviroment
for development. But I must use it :-(

 Regards,
 Thai