[opencms-dev] Urgent

Pinky Shah pinky.shah at ext.icicibank.com
Wed Apr 28 13:30:01 CEST 2004


 Hello I am trying the MVC Arcitecture: I have created
a) JSP File - Eshop.java

Eshop.java


 <%@ page session="true" %>
<html>
<head>
<title>Music Without Borders</title>
</head>
<body bgcolor="#33CCFF">
<font face="Times New Roman,Times" size="+3">
  Music Without Borders
</font>
<hr><p>
<center>
<form name="shoppingForm" action=" " method="POST">
<b>CD:</b>
<select name=CD>
  <option>Yuan | The Guo Brothers | China | $14.95</option>
  <option>Drums of Passion | Babatunde Olatunji | Nigeria | $16.95</option>
  <option>Kaira | Tounami Diabate| Mali | $16.95</option>
  <option>The Lion is Loose | Eliades Ochoa | Cuba | $13.95</option>
  <option>Dance the Devil Away | Outback | Australia | $14.95</option>
  <option>Record of Changes | Samulnori | Korea | $12.95</option>
  <option>Djelika | Tounami Diabate | Mali | $14.95</option>
  <option>Rapture | Nusrat Fateh Ali Khan | Pakistan | $12.95</option>
  <option>Cesaria Evora | Cesaria Evora | Cape Verde | $16.95</option>
  <option>Ibuki | Kodo | Japan | $13.95</option>
</select>
<b>Quantity: </b><input type="text" name="qty" SIZE="3" value=1>
<input type="hidden" name="action" value="ADD">
<input type="submit" name="Submit" value="Add to Cart">
</form>
</center>
<p>
<!-- <jsp:include page="cart.jsp" flush="true" /> -->
</body>
</html>



and a servlet: ShoppingServlet.java which has all the processing.

Now my query is where do I save this servlet (in Web-inf or anywhere else)
and secondly I want to call this servlet in the form action.... how do I do
this

-- 


"This e-mail message may contain confidential, proprietary or legally privileged information. It 
should not be used by anyone who is not the original intended recipient. If you have erroneously 
received this message, please delete it immediately and notify the sender. The recipient 
acknowledges that ICICI Bank or its subsidiaries and associated companies,  (collectively "ICICI 
Group"), are unable to exercise control or ensure or guarantee the integrity of/over the contents of the information contained in e-mail transmissions and further acknowledges that any views 
expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of ICICI Group.Before opening any attachments please check them for viruses and defects." 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040428/8b1217f6/attachment.htm>


More information about the opencms-dev mailing list