Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JBuilder Servlets GET

Status
Not open for further replies.

Sakura3

Programmer
Joined
Aug 2, 2007
Messages
2
Location
US
I am trying to use my own web page instead of the canned Servlet that is generated by JBuilder.

I want to use this:
<FORM METHOD="GET"
ACTION="/j/ServletCarbon/WEB-INF/classes/Servlet1">

but I keep getting error messages. Thanks!
 
...and the errors you're getting are...??

However, I don't think your ACTION path looks correct. The servlet is accessed as a web contextual path rather than a file path context..

Tim
 
Maybe you are correct. I revised my html file to this:
<FORM METHOD="GET" ACTION="/Cwebapp/Servlet1">
but it still will not work.

I get the error msg:
Apache Tomcat/4.0.6 - HTTP Status 404 - /Servlet1
type Status report
message /Servlet1
description The requested resource (/Servlet1) is not available.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top