File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes .shtml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark ".shtml file " Watch ".shtml file " New topic

.shtml file

ravi ckumar

Joined: Dec 08, 2000
Posts: 18
im writing servlets using the weblogic server, where should i keep my .shtml files, i kept them in the public_html file but it did not work, the following are my programs, i did not get any output, where should i keep this file ???
<servlet code="http://localhost:7001/s7">
<param name="w" value=9000>
<param name="i" value=6000>
<param name="s" value=6000>
import javax.servlet.*;
public class s7 extends GenericServlet
public void service(ServletRequest req, ServletResponse res)
String s1 = req.getParameter("w");
String s2 = req.getParameter("i");
String s3 = req.getParameter("s");
ServletOutputStream sos = res.getOutputStream();
sos.println(" "+s1 + s2 + s3);
catch(Exception e) { }
I agree. Here's the link:
subject: .shtml file
It's not a secret anymore!