A couple of things
1) the url sould be /beer/sb.do (lowercase)
2) ROOT? is that the webapps dir? since you want to have beer as a new
context you should do
/webapps
/beer
/other files
then go to the tomcat admin and add the context
I hope this helps!
Regards
Mark Drew
On Wed, 29 Dec 2004 19:18:08 -0500, K0rneliuz Van Strauss XIV
<[EMAIL PROTECTED]> wrote:
> I have dir structure:
>
> ROOT
> beer
> form.html
> WEB-INF
> web.xml
> classes
> com
> example
> web
> BeerSelect.class
>
> my web.xml file is as follows:
>
> <servlet>
> <servlet-name>BeerTest</servlet-name>
> <servlet-class>com.example.web.BeerSelect</servlet-class>
> </servlet>
> <servlet-mapping>
> <servlet-name>BeerTest</servlet-name>
> <url-pattern>/sb.do</url-pattern>
> <servlet-mapping>
>
> my form action of form.html is set to "sb.do" but when I submit my form.. I
> get:
>
> type Status report
>
> message /Beer/sb.do
>
> description The requested resource (/Beer/sb.do) is not available.
>
> Any ideas? suggestions? I need a fresh set of eyes.. I've been
> attempting to get this sorted for hours...
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ Single Dads ]-=
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ http://single-dads.us ]-=
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188980
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54