Commit 8a793ebc authored by manohar's avatar manohar

This commit was generated by cvs2svn to compensate for changes in r594,

which included commits to RCS files with non-trunk default branches.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91659 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 786d81ac
<% System.out.println(" *****WoStockButton.jsp***** "); %>
<%@page import = "java.util.*"%>
<%@page import ="ibase.webitm.utility.*"%>
<%@page import = "ibase.webitm.ejb.mfg.adv.*"%>
<%@page import = "java.sql.*"%>
<%@page import = "java.text.DecimalFormat"%>
<%@page import = "ibase.webitm.utility.GenericUtility"%>
<%@page import ="java.net.URLDecoder"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<jsp:useBean id="WoStockStatus" scope="session" class="ibase.webitm.ejb.mfg.WoStockStatus"/>
<html>
<head><head><title>getParameterNames() method of request object.</title>
<style type="text/css">
table
{
border-collapse:collapse;
}
table, td, th
{
border:1px solid black;
}
th
{
background-color:blue;
color:white;
}
</style>
</head>
<body>
<a style="position:absolute;top:10;left:0;height:50;width:1200;background:url(/ibase/webitm/images/title_bar_bg_blue.jpg);font-family:Verdana"></a>
<%
System.out.println("Inside WoStockStatus.jsp");
GenericUtility genericUtility = GenericUtility.getInstance();
DecimalFormat df = new DecimalFormat( "##.000" );
String param = null;
String paramvalue = null, workOrder = null;
Enumeration enum1 = request.getParameterNames();
while( enum1.hasMoreElements() )
{
param = (String)enum1.nextElement();
paramvalue = request.getParameter(param);
System.out.println("param ["+param+"] paramvalue ["+paramvalue+"]");
}
String paramList[];
if ( paramvalue.indexOf("~") != -1 )
{
paramList = paramvalue.split("~");
workOrder = paramList[0];
}
else
{
workOrder = paramvalue;
}
System.out.println("workOrder [" + workOrder + "]");
String htmlString = WoStockStatus.getStockStatus(workOrder);
System.out.println("htmlString [" + htmlString + "]");
%>
<%=htmlString%>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment