• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Servlet not found in WSAD beta

 
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm using WSAD - beta for developing servlets and JSPs, and deploying them in the test server that comes with the app, since I'm no longer allowed to use Tomcat. To learn the product, I set up a simple test: a JSP submits to a servlet, which gets some info from a bean, then sends its response to a final JSP. But the link to the servlet from the first JSP comes up as a page not found.
The call from the JSP looks like this:

And the web.xml settings are as follows:
servlet = nameCheck
type = servlet class = servlet.name.nameCheck
display name = nameCheck
URL mapping = /nameCheck/*
Can anyone say what I'm doing wrong?

Thank you,
g.
[ May 21, 2002: Message edited by: Garann Rose Means ]
[ May 21, 2002: Message edited by: Garann Rose Means ]
 
Garann Means
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got it fixed by doing this:

Is that the only way?
 
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
I have never worked on WSAD.But one of my friends,discussed same error with me,and he rectified by trying this
<form name='frm' method='POST' action='nameCheck'>
Remove '/' from action.
Try this.all the Best
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic