35,618 Topics
![]() | |
Hi,I want to develop a webpage (page1.jsp) that has 2 textboxes,user id and user name,and abutton find user.when i click on find user button ,all the user id and names must be displayed on next page(page2.jsp) in one list.something like this... USER ID USER NAME 123 george 456 Emily 789 … | |
I am sending an mail using mail api..but the mail goes into the recepient's BULK folder..is it any way to stop it from going into the bulk folder? | |
does anyone know how to make a similar program like IP Shifter in java...[url]www.zqware.com/ipshifter.htm?[/url] | |
Hello, for a University assignment I am attempting to use a brute force search to generate all possible combinations of a list of numbers. This is only a small part of what I must do. I realise that a Brute Force Search would be extremely computationally expensive but it is … | |
SO, I'm playing around with an idea. I'm trying to convert primitives to and from a char array for file logging. I've got all the details worked out, but I don't understand something.. Take the following case, for example: [CODE]public static byte[] ToByta (short data) { return new byte[]{ (byte)(data … | |
is it possible for me to call a static method if all I know is the class? | |
Hi all, ain't been here in a while, busy busy busy with college... I have an assignment on threads for Operating Systems, I can't actually see how it relates to OS but it is thread based, I haven't worked with threads before, but I have it finished to the best … | |
Greetings everyone... :) I'm new to the DaniWeb community & it looks like a great place to learn from others. As a programmer with very little experience, other than textbooks & class, I'm looking for help in learning to code real world problems effectively. I'm currently reading: "Teach Yourself Java … | |
Greetings, I have 2 JSP files and a bean which are collectively used to delete a record from an access database. They run without errors, however the only value from the form that is required, that is passed as a parameter to the bean is Null (debugging showed value is … | |
If anyone has a minute, I could use some help. Been working on this program all day. I know it's hard trying to understand someone's code and logic...but I'm hoping there is an easy solution here. My program needs to be able to read and write files at the push … | |
Does anybody came across an application architecture diagram(uml Sequence or Collaboration) lately? i mean, there are lots of examples on the books of micro-level application type of solutions, but the broad picture, the framework, in a simplified, yet understandable manner ? the kind of diagram for a GUI app that … | |
Hello friends, I want to display the date retrieved from database on my JSP in dd/mm/yyyy format. However, if i directly use - result.getString(col_num) it gives me - yyy/mm/dd hh:mim:sec:millisecs Can you please tell me, how to convert retrieved date. It won't be possible for me to use - select … | |
haii... pls help me to get the cursor position in javascript....from textArea thankzzzzzzz | |
hi all, m facing some problem when m trying to use calendar in my jsp with spring:bind tags. like below::: <input name="popca1" type="button" tabindex="4" value="..." class="dateButton" onClick="if(this.blur)this.blur();gfPop.fDemoPopDepart(this.form.dc1,this.form.batch_date);"> & 1 hidden variable :: <input name="dc1" type="hidden" value="06/08/2001"> with this in html tag after body tag i include ::: <iframe width=174 height=189 … | |
Hi all On my jsp page i m having two tables.. first table have 14 rows which takes input type=text. and my second table is having 9 rows which also takes 9 inputs. Thus total 23 inputs on a form.. Now when the user click submit, i want to check … | |
thispage.jsp displays user id and name in a table format with radiobutton attached to each row.... [CODE]while(enum.hasMoreElements()) { String upid = (String)enum.nextElement(); String upname = (String)enum.nextElement(); %> <tr> <td> <input type="radio" name="idradio" selected="false" value="<%= upid %>" /> </td> <td> <% out.println(upid);%> </td> <td> <%out.println(upname);%> </td> </tr> <%} %>[/CODE] nextpage.jsp needs … | |
Hi All, i want to use statement like exitvalue=process.waitfor(); my program terminates once i execute the process and so no value is returned by process.waitfor();Nothing that cumes afetr this stmt is executed. Can anyone tell me how to come out of process.waitfor. any pointers for this are also appreciated Thanks … | |
I'm not seeing my bracket problem at all! [code=java]import java.util.*; /** A class to represent an ordered list. The data is stored in a linked * list data field. * @author Koffman & Wolfgang */ public class OrderedList<E extends Comparable<E>> implements Iterable<E> { /** A linked list to contain the … | |
I really don't understand what I'm doing wrong. I've made windows before..and never have had this problem. The code complies fine, but when I run it I get this message.. java.lang.NoClassDefFoundError: smartMonster Exception in thread "main" right now all I want is a window to pop up with a button. … | |
Hello Everyone. I Need a code that can enable me perfom the following task as an administrator i develop a code that i can use to limit other users from perfoming certain task like deleting,inserting updating, the only previledge i can grant is just to submit to the database but … | |
Ok this is my first time doing iterators in java so bear with. Here is what my assignment is asking for: You should add the following methods to the code provided by the authors: public ListIterator <E> iterator() The type of iterator is actually ListIterator because this can be easily … | |
Hello, I am trying to write my first ever assignment in Java and am straggling with it. I have a superclass LivingThing and two subclasses, Monster and Human. Both subclasses have an attribute 'strength', but the maximum value of it is different for each of them. In my superclass I … | |
Hi, I'm experiencing an OutofMemoryError exception while recursing through a tree with a large number of branches (30) but relatively small depth (5). Here's the basic idea of the code: I start growing the tree using a depth-first method, and after I reach the leaf node, I assign a value … | |
I am looking for input on the best books/resources for learning Java and JavaScript. The students will be familar with programming in general but will be new to Java/JS. Thanks...DS | |
Can you please tell me how to expire a session after a fixed interval of time.(i.e if the browser is inactive for some time - say, 5 mins) Once the session expires, and if user tries to access the page, then he is prompted for login again, am i right? … | |
| |
hi all, I am planning to take up sun certified java developer exam(SCJD). Can any one help me with the topic that you have got as the project. This would help me as I am planning to take scjd up only after 3 months. I want to prepare myself for … | |
iam new to ajax i did some examples in jsp using Ajax really its very nice now i want to put Pop-up ballon i think using this without put view button in my screen, to view the particular item details within page plzz provide me its urgen for me i … | |
Hi All, I am using the following codeline to run a cmd from cmd prompt. Process p1 = Runtime.getRuntime().exec("cmd.exe /k start vgnimport.... I have my structure like Class A B importcmd = new B(); importcmd.startimp(); sysout("out of cmd prompt"); Class B startimport() { Process p1 = Runtime.getRuntime().exec("cmd.exe /k start vgnimport.... … | |
I have several breakpoints and the debug goes in the first one, skips the next 2, then jumps directly on the last one, as if the 2 in between don't even exist. And this happened recently, with no big changes in the code and I've never experienced anything like it. … |
The End.