Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jbuilder 7 and Tomcat 4 problem...Help

 
sam patel
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • 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.
 
chanoch wiggers
Author
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!