• Post Reply Bookmark Topic Watch Topic
  • New Topic

.shtml file  RSS feed

Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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) { }
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!