Your URL context path for your servlet is defined as  /ccpay/.  You need to define it 
as /TransactionCC.

-B

>>> [EMAIL PROTECTED] 01/22/03 11:01AM >>>
I am trying to set up my first webapp in servletexec 4.2 under iis.

I have created a webapp called CreditCardApplication:
Application Name: CreditCardApplication
URL Context Path: /ccpay/
Location: C:/Program Files\New Atlanta\ServletExec ISAPI\NMU\CreditCardApp

If I edit the xml file for this application I have the following welcome
file setup:


<html>
<head>
<title>Payment Page</title>
<LINK REL="StyleSheet" HREF="styles/enterprise.css" type="text/css">
</head>
<body><font size="4">
<center>
<span class="otherlogo"><img src="images/s_logo.jpg" border="0"
align="left"></span>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p><p><img src="images/logo_tn_enter_pay.jpg" width="207"
height="71"></p>
<br>
<p><font color="#316531" size="2"><b>Please enter your Payment
Information</b></font></p>
<br>
</center>
<p align="center">
<form name="form1" action="/TransactionCC" method="get">
<table border="2" bordercolordark="#183C18" cellspacing="1" cellpadding="20">
<tr><td>
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td align="right" class="color">Amount in Dollars:&nbsp;</td>
<td><input type="text" name="amdue" value=""></td>
</tr>
<tr>
<td align="right" class="color">Credit Card Number:&nbsp;</td>
<td><input type="text" name="ccnum" value="" size="16" maxlength="16"
autocomplete="off"></td>
</tr>
<tr>
<td align="right" class="color">Expiration Date:&nbsp;</td>
<td><input type="text" name="expdate" value="" size="16" maxlength="16"
autocomplete="off"></td> </tr>
<tr>
<td class="color" align="right">Street Address:&nbsp;</td>
<td><input type="text" name="addr" value="" size="30" maxlength="128"></td>
</tr>
<tr>
<td class="color" align="right">Zip/Postal Code:&nbsp;</td>
<td><input type="text" name="zcode" value="" size="10" maxlength="10"></td>
</tr>
<tr>
<td class="color" align="right">Ancillary Data:&nbsp;</td>
<td><input type="text" name="ancdata" value="" size="30" maxlength="128"></td>
</tr>
<tr>
<td colspan="4" align="center"><br>
<input type="submit" value="Submit">&nbsp;&nbsp;&nbsp;&nbsp; <input
type="reset" value="Reset"><br>

</td>
</tr>
</table>
</td></tr>
</table>
</form>
<hr width="400">
</font></body></html>

The servlet is setup as
Servlet Name: TransactionCC
Servlet Class: TransactionCC

When I load the welcome page into a browser and hit submit, I get page not
found.



Kevin Goethe
Northern Michigan University
1401 Presque Isle
501 Cohodas Building
Marquette, MI  49855

email: [EMAIL PROTECTED] 
phone: 906-227-1253
fax:      906-227-1890

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to