multi image select and print selected images using jquery

i have image set div tag like below: function printImg() { pwin = window.open(document.getElementById(“mainImg”).src,”_blank”); window.print(); } $(function () { $(“#gallery > img”).click(function () { if ($(this).data(‘selected’)) { $(this).removeClass(‘selected’); $(this).data(‘selected’, false); } else { $(this).addClass(‘selected’); $(this).data(‘selected’, true); } }); var selectedImageArray = []; $(‘#gallery > img’).each(function () { if ($(this).data(‘selected’)) { selectedImageArray.print(this); } }); window.onafterprint =…

Details

syntax error in socket programming program [closed]

I am getting a syntax error. The program is as follows. #include<stdio.h> #include<stdlib.h> #include<sys/socket.h> #include<sys/types.h> #include<netinet/in.h> int main(){ char server_message[256]=”You have reached the server”; //create the server socket int server_socket; server_socket=socket[AF_INET,SOCK_STREAM,0]; //define the server address struct sockaddr_in server address; srever_address.sin_family=AF_INET; server_address.sin_port=htons[9002]; server_address.sin_addr.s_addr=INADDR_ANY; //bind the socket to our specified ip and port bind(server_socket,(struct sockaddr*),&server addresss,sizeof(server_address)); listen(server_socket,5);…

Details

weblogic 12.2.1.4 cannot compile jsp The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit

I have a huge JSP that is working fine on WebLogic version 12.2.1.0.0 but fails on the latest version of WebLogic 12.2.1.4.0. Getting the below error _jspService is exceeding the 65535 bytes limit I have compared the parsed java files of both JSP, in the new version, each tag in the java file has try…

Details

weblogic 12.2.1.4 cannot compile jsp The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit

I have a huge JSP that is working fine on WebLogic version 12.2.1.0.0 but fails on the latest version of WebLogic 12.2.1.4.0. Getting the below error _jspService is exceeding the 65535 bytes limit I have compared the parsed java files of both JSP, in the new version, each tag in the java file has try…

Details