peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

is your OS win7 or win vista?

2 years to late. Thread closed.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

If you took your time to read answer by masijade you wouldn't have to post this question.

Thread closed.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Dear natique, can u tell me where u get ur tutorial? I've been seaching this tutorial since last 2 week and dont get any of it....almost give up already....one more question, how u display Form 2 from Form 1? Using button? Hope u can explain to me if u dont mind...huhu

@slowlearner2010 you are 5 years to late, bumping old thread. If you want to get answer to your question you better to repost as this thread is now closed.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Closing down thread thanx to pathetic spammer from Pakistan danieljeanz + Bubbylayree + Maashleni.

As my grandma says "even stupidity is gift from god".

Salem commented: <burns>Excellent</burns> +20
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

In PHP I have to submit a form and catch it via $_POST superglobal. I will then have to start session and so thing goes on and on. I was asking how does this differ in JSP? Are things the same or dramatic different?

Thanks

Fundamentally same:

  • servlet will use doGet() or doPost() (other methods are not used often)
  • create session
  • attach it to next forward/redirect servlet does
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Pointless reply 3 years too late. Thread closed.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Hi,

Have you completed your project? If yes, kindly get back to me. Thanx, it's urgent !

Even if OP get back to you there is following rule We only give homework help to those who show effort, which mean that if he gave you his project that he would be doing wrong thing as you obviously spent your time else and now want to cheat on your final degree. If it wasn't like that you would have stated what sort of problem you facing.

Thread closed.

Salem commented: close++ +20
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

please give me java code for encrypting a text file and to decrypt it, the codes for both is needed separately...... if anybody knows please help me out....

If you still want an answer then create new thread as this one is closed.

PS: Read the rules before you post again.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

hi
an internet database is something in the in internet, which collects data, then allows you to see them again. I hope this helps

You are just 5 years too late with very feeble answer. Hope you will do better next time..

Thread closed

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Thread closed!

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

6years too late and ignoring rules.

Thread closed

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

sir, am lik to doin a project in vb.net .my project topic is REMOTE CONTROLLING USING GSM MODEM..
can u give new idea related to this topic.

  1. Do not piggyback threads (aka "hijack" threads) by posting your question as a reply to another question.
  2. Thread close, so if you wish to get something done please start new thread
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

@anishpandey just summarize what you just did

  1. Posted in 4 years old thread
  2. Ignored original request (question was string reverse letters, not sentence reverse)
  3. Ignored use of tags on the forum
  4. Double posted same poor formatted code with no comments or suggestions at all

Result, thread closed.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I am not trying to Google it and copy/paste but i am looking for help how to start it. How many classes should i need and so on.

Thank you

It is you who should determinate how many classes, what sort of functionality and which method will handle all operation that you expect from your project.
So start working on it and ask relevant questions, placing general queries will not help you...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

please send me a sudoku source code in c++

  1. You just bumped 4 years old thread
  2. You ignored our rules and announcements like We only give homework help to those who show effort
  3. If you still interested in participating you better open new thread, explain properly what is your problem and do not forget to include a code you made so far.
  4. Thread closed!
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

@raymyster as your warning state

Do not troll by posting anything with malicious intent against another member (including, but not limited to, racist, sexist or religiously prejudiced remarks).

As already salem stated "We only give homework help to those who show effort". You may feel that he has no right to reply you in that way, but what you expect if you drop out of blue a question on the forum with such poor description. salem pinching reply to you doesn't give you right go on trolling and swearing around (fortunately picked by our system).

So if you wish to continue this discussion I suggest you specify more closely what you want to know and do not expect that people will spoon feed you with result of their research. This is your homework and you better show some initiative, for example by running search on Scholar Google

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

In my current project we need to provide drag&drop functionality of items from left to right and vice-versa and on click of the button send array of item IDs to server.
Main problem was that we couldn't get array across to server and online examples that we found did not work.

Above snippet will grab "id" attribute of all list elements (order/unorder list) from container with ID of "sortable2". Push IDs from listed elements to array "ids". After that, it will get currently selected value from drop down menu and store it in "id" variable that is used in next step to postfix URL.

Array submission is done through jQuarey.ajax(). Array of IDs is caste in "data" option of this method as data: ({'listID':ids}) where "listID" represents variable name under which we will retrieve this array on server side.

Addition of "success" option is just icing on the cake ;)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You may start with this

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

1. Ignoring forum rules is bad as we specifically say

Do not piggyback threads (aka "hijack" threads) by posting your question as a reply to another question.

2. Google and more specifically Scholar Google is your friend

tux4life commented: Nice, I didn't know that Scholar Google. +8
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

@pradip.shingate well done you just replayed to almost 6 years old thread with information of very little value...

Thread closed!

Salem commented: Yes! +20
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You are 2 years late. Thread closed

jephthah commented: bah. i just got done writing an awesome post about calculating factorials, thinking this was a current thread. :( +7
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

hi ,i want some advanced java mini project topics

sourceforge.net is where you should already look into, instead of bumping old and fruitless thread

Thread closed

Salem commented: Fruit from the fruitless - green of course ;) +20
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

i wanted to discuss some problems that i am facing in java thats why, can u suggest me any person from java community?

You are already in Java community! So why don't you create new thread and post your question?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Ever heard of "for" loop?

for(int = 0; i < findNames.length; i++){
    if (line.indexOf(findName[i]) !=-1) {
        System.out.println("Name found in:"+ indexOf(findName));
    }
}
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Answer is Apache POI - the Java API for Microsoft Documents

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

No JSP is not supported be general host companies as it does require either Java web server or container (Tomcat, JBoss, Jetty, GlassFish etc.). You need to google for Java web hosting. I got hosting from daylirazor.

tiny7415 commented: Peter answered my question very well. +0
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Sorry I do not know anyone of this forum with sufficient knowledge to answer your question. You better try to post on some Android forum...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Remove this installation and replace it with new one, check your path etc. And remember in the future to not mess it with it, even if it suggest you should place library there (often example of old database connector tips)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Closing thread as it is getting attention of spammers (All removed with due "respect").

Salem commented: Mr T says: Respect da mod with the close thread button +19
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You are missing closing bracket on case 2 (just as you close catch block). After that you should be able to continue solve the rest.

case 2:
                    int ret1 = 0;
                    do {
                        accnum = JOptionPane.showInputDialog("Delete Account\n\nEnter Account Number to be Deleted: ");
                        AccountNumber = Integer.parseInt(accnum);
                        try {
                            conn = DriverManager.getConnection(url, username, password);
                            stmt = conn.createStatement();
                            query = "Select*from AccountProfile where AccountNumber='" + AccountNumber + "'";
                            rs = stmt.executeQuery(query);
                            if (rs.next()) {
                                String q = "Delete from AccountProfile where AccountNumber='" + AccountNumber + "'";
                                String q1 = "Delete from AccountBalance where AccountNumber='" + AccountNumber + "'";
                                stmt.executeUpdate(q);
                                stmt.executeUpdate(q1);
                                JOptionPane.showMessageDialog(null, "Account Successfully Deleted!");

                            } else {
                                String rec1 = JOptionPane.showInputDialog("No Record Found!\n\n1 - return\n2 - exit");
                                ret1 = Integer.parseInt(rec1);
                            }
                            stmt.close();
                            conn.close();

                        } catch (SQLException ex) {
                            JOptionPane.showMessageDialog(null, "SQLException: " + ex.getMessage() + "\nSQLState: " + ex.getSQLState() + "\nVendorError: " + ex.getErrorCode());

                        }
                    }//missing closing bracket
                    while (ret1 == 1);
                    break;
wondering_ed commented: Thanks for saving my Grades! +0
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

@clutchkiller, look if you thought twice about what you will write and come up with question like "what do you think in regards of drag&drop development , machine generated coding, in comparison to developer written line by line" you would get more friendly discussion.

If you want we may turn discussion in other direction.

What is your opinion of pair programming? Are you more comfortable to do pair programming with person who has lesser knowledge and you can guide that person. You prefer somebody in your level, or you wish someone more experienced than you?

For me my level or more experienced is preferable. At the moment I still my get caught up with explaining minor details to less experienced and that may lead sometimes to confusion on listener side :D

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

How to know login name of a remote pc

  1. Either yo know it as it is your other pc or the owner will share it with you
  2. We do not like when people hijack threads it is part of this forum rules. You should have created your own and provided full problem description.
  3. Because of 2 point I'm closing this thread. If you you wish to repost full problem description then please create new thread
Salem commented: Very smoothy done +19
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Do people who use these API's even know how to program?

Am I not good programmer because I use APIs on daily bases? How can you be sure of such thing? I would like to see you keeping in the head even the differences between JSEE and JME String class options/functionalities, not to mention other Java APIs I have to use it on daily bases. There are things you can keep in mind other you better check.

So instead of giving your opinion, or telling me why I'm wrong, you insult me. Your cool.

Also if you search youtube or google, there are a million tutorials that just show ripping code from other source files. Thats basically any tutorial Ive been able to find. But thats ok, people like you strive on attempting to act superior to others and cannot be swayed other wise.

What answer did you expected? Do you thing that we live 20-30 years back when language documentation was fairly short and could fit in the book?

Two things for you:

  1. Keep It Pleasant - your posts are getting "hot" in wrong way and flaming other members will not be tolerated
  2. In the future please think twice about what you are to post/say
Nick Evan commented: Good post +0
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Your ignorance cramps my conversation.

Nothing else to add...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

1. Smack on hand for using JSP for such task
2. We do not live here 24/7 to answer questions
3. You may want to look on Java and Cron jobs like this

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

@Aisha25 can you please in the future drop using URGENT, NEED HELP as we specifically ask user not to do so in our forum rules

Do not post threads with generic subjects such as "HELP ME" or "PROBLEM".

Please understand that your urgency has nothing to do with our priorities...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

If you are working on windows xp then go to the address below and then create a folder and place your .jsp files here.

C:\apache-tomcat-6.0.24\webapps

for example you created a folder named as strat and in it a file new.jsp
then go to the web browser and type this url-
http://localhost:8080/star/new.jsp

and its done.
bye

and it will throw error because you named folder strat and in URL you are requesting star

Closing thread, no new valuable info added lately...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Thread closed.

If OP or people with similar application need are looking for help they better come with some solid work and ask more then general questions.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

how con i do this ???

Here you go

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Here you go

Ezzaral commented: The only possible response :) +10
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You can easily run your graphics prgoram in c++ by disabling (not uninstall) and restart your system and then you can run you graphics program or even turbo c++ in full screen mode

Unfortunately you posted 2 years late and with some weak answer. Thread close.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

hii im ajit nair n im making online railway reservation site so can u plss help me to make it my id is <EMAIL SNIPPED>

  1. Read the rules about posting
  2. You said you doing that project so do it do not post your email begging for code and cheat your way through your education
  3. If you need help be aware that we have following rule in place We only give homework help to those who show effort
  4. If even after reading above you looking for help create new thread, provide proper problem description, show what you did so far and explain in which section you having difficulties
  5. Thread closed!
Salem commented: This railway thread has reached the end of the line - all change please! +19
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Most simple without any checks for entry validity will be Naming.rebind(text1.getText()) . More complex with validation will do more less same Naming.rebind(validate(text1.getText())) where you send what ever retrieved from user to validation method that will check that string is in appropriate format (4 sets of numbers berween 0-255)

BestJewSinceJC commented: Useful, concise help, besides, sandyben did not mark the thread as solved... +4
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

@kvass next time provide hints not whole solution. It is better that person asking question try these suggestions and if is having problems can always come back ask for more advice. That is the way to learn programming language at the start, not copy & paste someone solution....

tux4life commented: Exactly :) +7
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Tell your friends they are no friends at all, otherwise they would tell you that you are missing Vector import at the start of PlanetField, that you missing declaration of variable position so you can access GetY method from line 50 and also that return statement on line 51 doesn't make any sense

BestJewSinceJC commented: Lol. +4
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Read it for yourself

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

why the heck you created a console app?

Because that is the general learning curve.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

No you cannot t it just like "get me code", but you can get help if you show effort as We only give homework help to those who show effort

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Unfortunately for me there isn't much we can do about dragging row from table to another table.

I found this jQuery plugin jqGrid (open latest release and check Drag and Drop Rows) which performs well with simple HTML document, however it fails to cooperate with Velocity templates which are mandatory to our project. Hopefully somebody with lesser requirements can reuse this