- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
hi, The jsp page has multiple check boxes (retrieved from DB),.... [CODE] <input type="checkbox" name="selecttype" value="<%=rs2.getString("description") %>"/> [/CODE] I've read these values in to servlet page using [CODE] String[] selecttype=request.getParameterValues("selecttype"); [/CODE] the 'selecttype' now contains only selected checkbox values. but i want to retrieve values of unchecked checkboxes. Pls help … |
|
hi helper, i've 3 .php and 1 css files downloaded from net. how could i run these files? Do i need any tool? thanks beanboy. |
|
hi,.... i am trying to develop a one-to-one [B]chat application[/B] as a part my j2ee web app (jsp and servlets used) ,... help me with this. what els should i learn in addition to socket programming? which architecture should i follow? how many days wil it take for an avaerage … |
|
hi, i managed to upload files from client to server hard disk using apache commons. how could iretrieve files to client from server again? plz gimme an idea of implementation thx beanboy. |
|
Concurrency Deadlock functional programming cloud computing parallel computing distributed computing p vs np problem algorithm design communication protocols recursion. I'm a computer science graduate. Thank you. |
|
I'm a computer graduate, working on java programming since an year.I'm just writing programs all the time and didnot get a chance to implement any of the engineering practices that I have studied at college. Now I've got a month free time and tell me some interesting things I could … |
|
hi, I'm trying to insert values from a java page in to a mysql db the foll is the code [CODE] i1=st1.executeUpdate("insert into commissiondtls(CompanyCode,BranchCode,LineNo,PartnerCode,CustomerName,InvoiceNo,InvoiceDate,InvoiceAmount,ReceivedAmount,CommissionPer,CommissionPayable,PaymentRef,PaymentDate,InstrumentNo,InstrumentDate,BankName,BankBranch,CommissionPaid,Narration) values('"+CompanyCode+"','"+BranchCode+"','"+commissionDtlsmaxid+"','"+PartnerCode+"','"+CustomerName[i]+"','"+InvoiceNo[i]+"','"+InvoiceDate[i]+"','"+InvoiceAmount[i]+"','"+ReceivedAmount[i]+"','"+CommissionPer[i]+"','"+CommissionPayable[i]+"','"+Paymentno+"','"+Paymentdate+"','"+chequeOrDdNo+"','"+chequeDate+"','"+bankName+"','"+bankBranch+"','"+Amount+"','"+narration+"')throws SQLException"); [/CODE] this doesnot insert values or shows any exception,. what do u think might be the prob? pls help [CODE] public void CommissionDetailsSaveTransaction() { … |
|
hi, i'm not good with n/w security or i donno how sha, des works :confused: ,... so pls tell me a [B]simple[/B] algorithm to implement enc and decryption in java.:icon_mrgreen: thanQ, Beanboy:cool: |
|
hi, i'm trying to run a servlet code, but i get "HTTP Status 404 - Servlet Update2 is not available" error. i checked code, its perfect, web.xml is correct. but i did not find any .class files in my web-inf/classes directory. how could i get servlet .class files in web-inf/classes … |
|
hi helpers, i wanted to develop a discussion forum in java,...downloaded jforum 2.1.8 War file,...imported to eclipse,...what else should i do to run the project?.....sadly i didnt find 'how to' any tutorial in net :( i've never worked with any open src projects b4,...how to configure mysql db for it?...where … |
|
hi,.. I'm trying to start a java application and I want to use crystal reports XI as reporting tool,....pls help me with a start,....do i need to download any other sdk for that other than crystal reports XI and JDK?.... and also tell me some beginner tutorial links 4 using … |
|
hi helpers, i'm trying to read an array from jsp in to java(servlet) page the code is JSP CODE (readingcheck box values): [CODE] String select[] = request.getParameterValues("sel"); if (select != null && select.length != 0) { for (int i = 0; i < select.length; i++) { out.println(select[i]); [/CODE] its working … |
|
hi helper,.... i'm trying to implement meta search engine(java, jsp) for a website. trying to use carrot2 for organising search results and using yahoo search API. pls give me an idea of implementing a meta search engine.i googled but didnot find any material in net. thx beanboy. |
|
hi helper, my XP PC has 1 GB ram, but slowed down. i removed startup programs, i'm opening ram.vbs file on desktop often, there is no virus in pc, antivirus is updated, emptied temp and recycle bin, removed some useless services ......did everything i can do but its still slow.....no … |
|
Re:
Hi, I want to upload file. but when I use<input type="file" runat="server"> & with one button. when I click on button then my page cannot be found. such type of error occured. means when I add that input type file tag that error occured. |
|
[CODE] <%! String[] selElts=new String[100]; %> <a href="myPage.jsp" onclick="selElts = tree2.getAllChecked()">Get list of checked</a> [/CODE] the values to array "selElts" are returned from a javascript function. now, how could the print the array values in the same jsp page (or) how to retrieve from next JSP page(myPage.jsp) |
|
[CODE] <%! String[] selElts=new String[100]; %> <a href="myPage.jsp" onclick="selElts = tree2.getAllChecked()">Get list of checked</a> [/CODE] the values are returned from a javascript function. now, how could the print the array values in the same jsp page? |
|
hi, JAVASCRIT the actual program reads and prints values from a checkbox tree and this piece of code does it. [CODE] dhtmlXTreeObject.prototype.getAllChecked=function(){ return this._getAllChecked("","",1); } dhtmlXTreeObject.prototype.getAllCheckedBranches=function(){ return this._getAllChecked("","",0); } dhtmlXTreeObject.prototype._getAllChecked=function(htmlNode,list,mode){ if(!htmlNode)htmlNode=this.htmlNode; if(((mode)&&(htmlNode.checkstate==1))||((!mode)&&(htmlNode.checkstate>0))){if(list)list+=","+htmlNode.id;else list=htmlNode.id;} var j=htmlNode.childsCount; for(var i=0;i<j;i++) { list=this._getAllChecked(htmlNode.childNodes[i],list,mode); }; if(list)return list;else return ""; }; [/CODE] the values are returned … |
|
[CODE] <html> <body> <input type="text" value=""> <input type="reset" value="reset"/> </body> </html> [/CODE] why is my reset button not resetting the text box? |
|
i forgot my folderlock password....and the application is not opening properly....i couldnot see the user interface. i wanted to uninstall it. pls help me with this. thanks beanboy |
|
i've printed sent some text into window.open. is there any method to read the data from that [U]window.open[/U] page? |
|
Dear Helper, javascript code: [CODE] dhtmlXTreeObject.prototype.getAllChecked=function(){ return this._getAllChecked("","",1); } dhtmlXTreeObject.prototype.getAllCheckedBranches=function(){ return this._getAllChecked("","",0); } dhtmlXTreeObject.prototype._getAllChecked=function(htmlNode,list,mode){ if(!htmlNode)htmlNode=this.htmlNode; if(((mode)&&(htmlNode.checkstate==1))||((!mode)&&(htmlNode.checkstate>0))){if(list)list+=","+htmlNode.id;else list=htmlNode.id;} var j=htmlNode.childsCount; for(var i=0;i<j;i++) { list=this._getAllChecked(htmlNode.childNodes[i],list,mode); }; if(list)return list;else return ""; }; [/CODE] [CODE] <a href="javascript:void(0);" onclick="document.write (tree2.getAllChecked())">Get list of checked</a><br><br> [/CODE] You may guess, the list is displayed in alert box. but … |
|
hi helper, i wanted to create web app without using any IDE and test in tomcat....where should i put my class files and jsp files and xml......what is manifest ? plz tell me directory tree structure thanks bean boy |
|
Re:
Hi, I want to [B]check only one checkbox[/B] at a time using html. please help me out.... |
|
chunk of code... [CODE] public void init(ServletConfig config) throws ServletException { Map map = new HashMap(); } protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html;charset=UTF-8"); [U]map.put("one1","two2");[/U] [/CODE] compiler says 'map' cannot be resoled......why so? wht shd i do? thanks, BeanBoy |
|
hi helper, i'm trying userlogin web app....where logged in user ID's are sent to a hash map .....so that admin can view logged in users list... my problem is... hash map is creating new map (which replaces the old map) when ever a user logs in.... so admin is able … |
|
First.java [CODE] ServletContext one=getServletConfig().getServletContext(); one.setAttribute("UsersList",map); [/CODE] its ok if i accesed 'one' into a jsp page. is it possible to access 'one' in to another java(servlet) page? if yes.....how? |
|
i was given a newly formatted computer .........n i dont hav motherboard cd .... can any one explain the process(in detail) could install audio drivers plz thanks, beanboy |
|
i'm trying user login ...logged in users are sent to a hash map for further reference. my prob is hashmap creates new map every time a user logs in......how to put all the users in a single hashmap...? thanks beanboy |