35,618 Topics

Member Avatar for
Member Avatar for Ankita B

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 …

Member Avatar for ~s.o.s~
0
77
Member Avatar for maulee

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?

Member Avatar for ~s.o.s~
0
51
Member Avatar for john1000

does anyone know how to make a similar program like IP Shifter in java...[url]www.zqware.com/ipshifter.htm?[/url]

0
42
Member Avatar for bops

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 …

Member Avatar for shinnxennosagga
0
215
Member Avatar for Cudmore

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 …

Member Avatar for Zork'nPalls
0
142
Member Avatar for Zork'nPalls
Member Avatar for Zork'nPalls
0
96
Member Avatar for mickinator

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 …

Member Avatar for Zork'nPalls
0
156
Member Avatar for codefreak2.0

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 …

Member Avatar for codefreak2.0
0
104
Member Avatar for Robtyketto

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 …

0
85
Member Avatar for rickster11

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 …

Member Avatar for rickster11
0
193
Member Avatar for evaristo

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 …

0
56
Member Avatar for nikk

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 …

Member Avatar for jinalh
0
286
Member Avatar for ajithraj

haii... pls help me to get the cursor position in javascript....from textArea thankzzzzzzz

Member Avatar for ajithraj
0
53
Member Avatar for jinalh

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 …

Member Avatar for jasimp
0
91
Member Avatar for abhi287

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 …

Member Avatar for javaAddict
0
92
Member Avatar for Ankita B

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 …

Member Avatar for Ankita B
0
860
Member Avatar for newbie_xml

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 …

0
80
Member Avatar for Noliving

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 …

Member Avatar for Noliving
0
250
Member Avatar for rickster11

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. …

Member Avatar for jwenting
0
76
Member Avatar for tactfulsaint

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 …

Member Avatar for orko
0
117
Member Avatar for Noliving

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 …

Member Avatar for Noliving
0
83
Member Avatar for beatlea

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 …

Member Avatar for beatlea
0
107
Member Avatar for erementarz

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 …

Member Avatar for Ezzaral
0
113
Member Avatar for drsmith

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

Member Avatar for midimatt
0
49
Member Avatar for nikk

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? …

Member Avatar for nikk
0
234
Member Avatar for hkraskian
Member Avatar for masijade
0
109
Member Avatar for cheenu78

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 …

Member Avatar for jasimp
0
251
Member Avatar for brr

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 …

Member Avatar for peter_budo
0
78
Member Avatar for newbie_xml

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.... …

Member Avatar for newbie_xml
0
124
Member Avatar for claudiu_is

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. …

0
117

The End.