Subversion Repositories SmartDukaan

Rev

Rev 9020 | Rev 9024 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9020 Rev 9023
Line 586... Line 586...
586
 
586
 
587
			ServletOutputStream sos;
587
			ServletOutputStream sos;
588
			try {
588
			try {
589
				sos = response.getOutputStream();
589
				sos = response.getOutputStream();
590
				if(sb.toString().equalsIgnoreCase("")){
590
				if(sb.toString().equalsIgnoreCase("")){
591
					sos.write("Orders Created Successfully (No Alerts)".toString().getBytes());
591
					sos.write("Orders Created Successfully (No Alerts) /n".toString().getBytes());
592
				}
592
				}
593
				else{
593
				else{
594
					if(orders_processed!=0){
594
					if(orders_processed!=0){
595
						sos.write(("Orders Created with Alerts "+ sb.toString()).getBytes());
595
						sos.write(("Orders Created with Alerts /n"+ sb.toString()).getBytes());
596
					}
596
					}
597
					else{
597
					else{
598
						sos.write(("Zero Approved Orders"+ sb.toString()).getBytes());
598
						sos.write(("Zero Approved Orders /n"+ sb.toString()).getBytes());
599
					}
599
					}
600
				}
600
				}
601
				sos.flush();
601
				sos.flush();
602
			} catch (IOException e) {
602
			} catch (IOException e) {
603
				System.out.println("Unable to stream the manifest file");
603
				System.out.println("Unable to stream the manifest file");