Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

jbuilder 7 and Tomcat 4 problem...Help

 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I created a Servlet project and also with that project it created Servlet1.shtml file and when i run the project it displays the
HTML code that i am passing to the SHTML file and displays on the browser but as i input a value and submit.
I am getting /////"PROBLEM" "Unable to open location: Document not found on Server"/////
Can someone please tell me how i can fix this problem....

Thanks.
 
Author
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if you want an answer to this you will have to be more specific - can we see source code? can we see the contents of your shtml file? can we see the full erorr? I am guessing that you are trying to learn servlets on jbuilder which i think is a mistake - GUIs almost always confuse rather than illuminate when you are tyring to learn a new ajva technology
 
sam patel
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Thanks for your reply...
I would love to post the source code but its using couple of classes and its huge....
=======================================
Here is the content of my shtml file after running my program....
<html>
<head>
<title>
Servlet1
</title>
</head>
<body>
<form action="scanstation_display_jpeg_to_browser_2.Servlet1" method=POST >
<p align="center">
First Name:
<input name="firstnameTextfield" type="text" size="20" maxlength="20">
Last Name:
<input name="lastnameTextfield" type="text" size="20" maxlength="20">
</p>
<br>
<br>
<p align="center">
Policy Number:
<input name="policynumberTextfield" type="text" size="20" maxlength="20">
SSN:
<input name="ssnTextfield" type="text" size="20" maxlength="9">
</p>
<br>
<p align="center">
<input type="submit" value="Search" name="serachFormSubmitButton">
</p>
</form>

<hr>
</body>
</html>
=================================================
As far as Error i am getting the following error....
Problem
Unable to open location: Document not found on server
 
Proudly marching to the beat of a different kettle of fish... while reading this tiny ad
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic