01-15-2009 01:25 AM
01-15-2009 05:11 AM
01-15-2009 07:33 AM
public class FirstWebScript extends AbstractWebScript
{
@Override
public void execute(WebScriptRequest req, WebScriptResponse res) throws IOException
{
String name = req.getParameter("name");
String password = req.getParameter("password");
res.getOutputStream().write((name + "<br>" + password).getBytes());
}
}
and my webpage is like:
html>
<body>
<form action="/java/test/FirstWebScript" method="post" >
<input type="text" name="name" />
<input type="text" name="password" />
</form>
</body>
</html>
In action i write the path of my java-backed webscript class.(just like we write in jsp to connect to servlet)01-15-2009 08:55 AM
01-16-2009 05:44 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.