736 Posted Topics

Member Avatar for chathuradd

I will **NOT** give you the code to do this cause very simply I don't want to ruin the motive for which your course (whichever you are doing was made) but I will give you the logic on how to go about this. Now consider the JSP in which you …

Member Avatar for stephen84s
0
104
Member Avatar for amrita.r

[URL="http://www.daniweb.com/forums/announcement8-2.html"]Here[/URL] you go, best of luck for your MCA.

Member Avatar for stephen84s
0
100
Member Avatar for erinr

Please use code tags and pay a little attention to the rules before posting. Anyways if you just want to display the data in another window, the I would suggest you take a look at the [URL="http://java.sun.com/javase/6/docs/api/javax/swing/JOptionPane.html"]JOptionPane[/URL] Also an alternative approach if you find the JOptionPane dialog boxes too restrictive …

Member Avatar for stephen84s
0
108
Member Avatar for abhij1987
Member Avatar for stephen84s
0
58
Member Avatar for member98

[QUOTE=member98;665395]Hi..! I am trying to get whole browser in my jsp page. I have a sample url as, "http://www.ab.com/#/pages/ab" I need this whole URL to be print in my scriptlet code in jsp. I can't use javascript as that is disabled. I tried with REQUEST objets several methods like getURL …

Member Avatar for stephen84s
0
239
Member Avatar for sciwizeh

For running the program mentioned, you need an echo server running on your system, which is provided by most UNIX machines and runs on port no 7. To check if your Vista box has one running just hit [icode]telnet localhost 7[/icode], if it shows connection refused or could not connect, …

Member Avatar for sciwizeh
0
3K
Member Avatar for diasmvds

Depends on what is your current working directory i.e. the directory from which you are running your Java program. For example if your current working directory is [icode]dir1[/icode], then your relative path would be [icode]conf/a.txt[/icode] Else if it is [icode]dir2[/icode], it would change to [icode]../conf/a.txt[/icode] But if it is [icode]dir3[/icode], …

Member Avatar for stephen84s
0
101
Member Avatar for senthil_sivanat

SMPP is a protocol, it is used to connect to SMSCs (Short Message Service Centres) which connect to actuall providers via SS7 which is connected to hardware. There are quite a few Java APIs available for SMPP, my favourite is [URL="http://smstools.wiki.sourceforge.net/"]OpenSMPP[/URL], But doing such processing directly in JSP is not …

Member Avatar for stephen84s
0
733
Member Avatar for guravharsha

[QUOTE=peter_budo;655960]No point to repeat that, this guy completely ignore that for last two weeks from me. Another hopeless case to bang on...[/QUOTE] yep ..... you have one witness here, who saw it first hand !!! ;)

Member Avatar for guravharsha
0
137
Member Avatar for sinner

You must be joking, you are not mentioning what errors you are getting , what sort of an application this is (console or gui), what you have tried to solve those errors, ... in fact you have not even mentioned which compiler you are using !!! And you expect us …

Member Avatar for Aia
0
110
Member Avatar for ricss_madara

I think the question was given to YOU by YOUR instructor, so YOU should solve it, WE will ONLY HELP YOU in solving it. Provided you show us you put in the effort to deserve any help. For more info look [URL="http://www.daniweb.com/forums/announcement9-2.html"]here[/URL].

Member Avatar for jasimp
0
143
Member Avatar for @bhi

Well can you tell us what you are trying to achieve here actually, I don't have much to go on from what you have posted !! crt1.o looks to be an object file and it seems like your linker (ld) can't find it, but what are you actually doing when …

Member Avatar for @bhi
0
150
Member Avatar for sinner

[QUOTE]i have shortage of time please do this for me[/QUOTE] So your time is precious .... and not ours !!!!

Member Avatar for ArkM
0
78
Member Avatar for jagsar2323

[URL="http://www.daniweb.com/forums/announcement9-2.html"]Here[/URL] you go guys, this should have all the features an e-banking project should need.

Member Avatar for stephen84s
0
84
Member Avatar for tefbaez

That would be as simple as calling [icode]request.getParameter("--name-of-text-box--");[/icode], in pagina2.jsp . Also no need to stick to GET you can use POST without any issues. Only difference is GET would send your parameters as part of the HTTP URL (eg [url]http://localhost/pagina2.jsp?usuario=tefbaez[/url]) whereas POST would send it as part of the …

Member Avatar for tefbaez
0
667
Member Avatar for tactfulsaint

Well the first line says that [icode]Unable to compile class for JSP[/icode], Which quiet simply means that you have an syntax error in you JSP and from the type of errors displayed I think you have put an extra [icode]}[/icode] in your code inside the try block.

Member Avatar for stephen84s
0
84
Member Avatar for The Dude
Member Avatar for vish_1x1

You ought to get a BIG RED for the amount of PMs you sent me without even making a single thread here, And finally when you post you do not use code tags !!!:angry: :angry: :angry:

Member Avatar for Thirusha
0
1K
Member Avatar for shraddha_gupta

If I am not mistaken Netbeans uses internally Apache Ant's format for its build.xml for building (compiling etc) projects, So if you are familiar on how to use [URL="http://ant.apache.org/"]Apache Ant[/URL], you may even use notepad to modify your code or any other IDE (for ex [URL="http://www.eclipse.org"]Eclipse[/URL]) which allows you to …

Member Avatar for stephen84s
0
112
Member Avatar for guravharsha

As Peter_budo had put it in one of his earlier posts, "Its hard to read errors from a crystal ball". But it seems like you have no intention of learning anything from here, you just come here for quick fixes to your problems. Practically every one has already told you …

Member Avatar for ejosiah
0
151
Member Avatar for oali

Please use code tags ..... it keeps the code readable, Anyways what line are you getting that error . . . knowing would have helped a lot ??? Now heres a shot from what I see .... The first line in your [icode]init()[/icode] function is [icode]Container getcontentPane = getContentPane();[/icode], But …

Member Avatar for oali
0
107
Member Avatar for preethi_ga

Basically you need a Web Server to Run any ASP Page, including [URL="http://httpd.apache.org/"]Apache (HTTPD)[/URL] (with extensions that is), [URL="http://www.sun.com/software/chilisoft/index.xml"]Sun Java System Active Server Pages [/URL], etc. But since it appears you are starting out with ASP, my suggestion would be start by using IIS as I found it pretty easy …

Member Avatar for tomer1
0
147
Member Avatar for javax_

[CODE=Java] public static void changePerson(Person p) { p.setName("GHI"); p = new Person("JKL"); p.setName("MNO"); System.out.println(p.getName()); }[/CODE] The above output is cause of the simple Pass by reference for objects in Java and illustrates how pointers are actually operating without you seeing them. It is important to remember that when you declare …

Member Avatar for javax_
0
131
Member Avatar for bloody_ninja

The reason you are getting negative numbers is most probably due to overflow i.e due to the capacity of data type [icode]int[/icode], A simple example would be as follows [code=java] int a=2147483647; a+=1; System.out.println("a = "+a); [/code] The above would print -2147483648 and not 2147483648 as you might have expected. …

Member Avatar for mzd12111
0
204
Member Avatar for C41R0
Member Avatar for C41R0
0
270
Member Avatar for guravharsha

[QUOTE]javax.servlet.ServletException: java.sql.SQLException: Illegal operation on empty result set.[/QUOTE] Honestly I do not know why would you choose not to believe your Web Server [B]when in fact it has practically pin pointed the root cause of the error to you[/B], the above line clearly states the [iCODE]ResultSet[/iCODE] generated from your query …

Member Avatar for stephen84s
0
189
Member Avatar for shinobi59

Hmmm, strange problem, If you are on windows, can u try first running the command [icode]set CLASSPATH=[/icode] , and then trying to run the program in the same console after it. Oh yes and please remember to wrap code in code tags

Member Avatar for haxpor
0
108
Member Avatar for karthikvel

I think the introduction messages go [URL="http://www.daniweb.com/forums/forum165.html"]here[/URL],

Member Avatar for stultuske
0
81
Member Avatar for warpath001

First I'd like to inform you this is not a JSP forum. And next don't perform Database operations inside your JSP. And finally close your database connection after you are done with your transaction

Member Avatar for jwenting
0
94
Member Avatar for guravharsha

Now I do not know what to say: [CODE=jsp]Statement st = null; ResultSet rs = null; rs = st.executeQuery("Select description from user ");[/CODE] Sorry If I sound rude, But do you expect some magic ;) , you are calling the method on an object (st) reference set to NULL, even …

Member Avatar for peter_budo
0
114
Member Avatar for Andina

I suggest you use the Tomcat mentioned on [URL="http://tomcat.apache.org/"]here[/URL]. If my info is correct Apache Tomcat was known as Jakarta Tomcat back in the days when it was a part of the Jakarta Project (which is also a part of Apache), but now it is a full fledged Apache project …

Member Avatar for peter_budo
0
92
Member Avatar for guravharsha

Since you are using Netbeans, I assume you are using the Glassfish server, Now "Requested resource is not available" is a page that can be displayed for almost everything that can go wrong in a JSP or a servlet. My suggestion would be you check the logs of glassfish, for …

Member Avatar for stephen84s
0
187
Member Avatar for anuizath2007

Yes I do but may I see what have you tried or on what lines are you thinking, cause the main purpose of this program (most probably given by your instructor) is to train your brain to think of a solution and then convert it into C code, a characteristic …

Member Avatar for stephen84s
0
106
Member Avatar for guerreronoli

Try running the Jar file via on the command line and check the error. To run an executable jar file from the command line you will need to type: [CODE]java -jar filename.jar[/CODE]

Member Avatar for lucky1981_iway
0
86
Member Avatar for ierpe

There are quite a few good tutorials available on the for developing applications for mobiles at [URL="http://www.netbeans.org/kb/trails/mobility.html"]netbeans.org[/URL] itself.

Member Avatar for peter_budo
0
158
Member Avatar for sasirekha muthu

[QUOTE]be a real time project[/QUOTE] I am assuming that you meant real world and not real time as in REAL TIME as in Nuclear Reactions etc.

Member Avatar for peter_budo
0
100
Member Avatar for TeCNoYoTTa

Tried you code out in GCC 4.1.2, no problems, same output for both cases, no infinite loops!! I had directly copy pasted your code.

Member Avatar for Narue
0
770
Member Avatar for johnkeating

Well the reference Manual on the MySQL site is a pretty good place to start learning MySQL.

Member Avatar for stephen84s
0
104
Member Avatar for aparnesh
Member Avatar for guerreronoli

[QUOTE=guerreronoli;639996]what seprator can I use?? in my batch file I put a semi colon, but how in manifest file??[/QUOTE] The semicolon for separating you Jars is valid on Windows only, on Linux its a colon ( : ) Anyways whats the problem of manifest file, I don think you have …

Member Avatar for Ezzaral
0
126
Member Avatar for sayedjustetc

Looks like a copy paste from his site, mentioned in the signature, I only see Self-Promotion / Advertisement the reason for this post.

Member Avatar for stephen84s
0
191
Member Avatar for Venks
Member Avatar for geeths

A Simple google serach gave me this, [URL="http://www.igniterealtime.org/projects/smack/index.jsp"]Smack API[/URL] and [URL="http://yaja.sourceforge.net/"]Yaja[/URL]

Member Avatar for amjad277
0
77
Member Avatar for rriiddaa

[QUOTE]and i didnt watch any hour in the java cour so i need help from any body to make my project and success in this subject the project is about [/QUOTE] You want someone to make your project or do u want help in making ur project ???

Member Avatar for javaAddict
0
163
Member Avatar for ramya_bugbuster

yes I do, but can I see what you have tried, cause this looks like one of those questions with little practical application and mostly for academic use only ?

Member Avatar for jephthah
0
115
Member Avatar for NiNTENDU

When you declare a "char" array as [icode]char *abc="alpha"[/icode], the string is not editable i.e. readonly, You need to declare it as [icode]char abc[]="alpha";[/icode], if you wish to edit by using the [icode]abc[index]='';[/icode] method, Why this difference exists however I am not aware of !!

Member Avatar for NiNTENDU
0
151
Member Avatar for mkandit

[LIST] [*]No Code tags [*]All JDBC Code is directly in the JSP [*]JSPs are only supposed to display data processed by the Java Beans where your database connectivity and processing should take place [*]This is a Core-JAVA forum, There already is a [URL="http://www.daniweb.com/forums/forum24.html"]JSP forum[/URL] in the web development section.[/LIST]

Member Avatar for stephen84s
0
87
Member Avatar for shraddha_gupta

Add the jar containing the jfreechart library in you class path by using the "-cp <path to jar>" argument while compiling as well as running your Java program

Member Avatar for Ezzaral
0
70
Member Avatar for shraddha_gupta

Try [URL="http://www.jfree.org/jfreechart/"]JFreeChart[/URL], its a free API for making pie charts, bar graphs etc.

Member Avatar for stephen84s
0
55
Member Avatar for abacian1983

Technically what you referring are called pseudo-random numbers and not actual random numbers, BTW can we see what you have tried or instead you could find the complete details for your program [URL="http://www.daniweb.com/forums/announcement8-2.html"]here[/URL] ?

Member Avatar for Nick Evan
0
234

The End.