peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You can make Tomcat add-on of your existing Apache server (from WAMPP) if you use mod_jk

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Apache POI - Java API To Access Microsoft Format Files

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Have look at this post you will find your answer

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You welcome

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Then you should have it as an add-on technology to your Apache server through mode_jk plugin/bridge, plus the obvious having some domain and set DNS. If you have more questions on configuration, you better ask in Linux Servers and Apache section and even better would be ask directly on Apache server or Tomcat forums. Our JSP section is more of general Java web development

PS: It would be also beneficial for you to have look on book Tomcat - The Definitive Guide

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Are we talking with local host or "open" host (when other can see it)?
Either way you need to start with Tomcat setup, JBoss or any other web container of choice for Java

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Download netbean sdk. It will be suitable for you.

IDE is irrelevant

Besides this code works properly only in IE , when i run it in Firefox , instead of executing the chat123.jsp file , all the source code is displayed.

I ran all the code in Wampserver .
i have no idea where i went wrong , i would be glad if you guys can help me out.

Problem is obvious

  • all the source code is displayed
  • I ran all the code in Wampserver

WAMP is for PHP not Java (You could possible run it on that Apache server, but that would require additional configuration which is not always the simple one). You need Tomcat and because you do not have or not running Tomcat you see whole source code

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Here is good advice (it is about final year project, but you can do it also as pre-job project)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I can recommend DailyRazor. I'm using it nearly for a year now (since I moved for previous provider, which was less flexible with configurations).
You have option for Tomcat or JBoss, plus they happy to provide with you with version you want

PS: I just hope that you already bought domain name, because without that you have very small chance in accomplishing your task

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Have look here seems to be full of info

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
  1. Create frame with some labels, text fields, submit button and add what ever image you wish
  2. On submit button run validation if any data entered at all, if they fulfil criteria set for each entry (minimum and maximum length, use of allowed/forbidden characters, case sensitivity etc.)
    • If any fails display error message
    • If all OK, proceed with following steps
  3. Run SQL query to check if user exists and if given password is correct
    • If incorrect display error message and get back to loging frame/screen
    • If username and password match with DB entries proceed with following
  4. Show next frame with what ever information should follow
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You should read this announcement We only give homework help to those who show effort. This forum is learning space and not "give me solution"

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

For single parameter you will use getParameter(java.lang.String name). If you look just few lines below this method in ServletRequest API you will see getParameterValues(java.lang.String name) to get multiple selection

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

The radio buttons that select/deselect have to by member of same group that is declared through name. As you are giving each radio current value of "i" they cannot be grouped.
Simple example

<form>
    <input type="radio" name="moderator" value="~s.o.s~" checked="checked"/>~s.o.s~<br />
    <input type="radio" name="moderator" value="peter_budo"  />peter_budo<br/>
    <input type="radio" name="moderator" value="Ezzaral" />Ezzaral<br />
    <input type="radio" name="administrator" value="cscgal"/>cscgal<br />
    <input type="radio" name="administrator" value="happygeek" checked="checked"/>happygeek
</form>
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You should get back to basics of HTML. Simple example here

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

m2 required same criteria dude, if u get that post immediately plz

Well then get started as we love our forum policy about We only give homework help to those who show effort. If you come up with something please create new thread.

Closing down this thread as it is getting attention of "me too posters".
I was able to work out this assignment. Why don't you try same?

Salem commented: For the mod wh's not afraid to use the padlock - some soylent green :) +36
Nick Evan commented: What have you done? Me 2 needz tha kodez ;) +22
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Off topic: The double been already flagged and soon be dealt by moderator of the section

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Well there is an obstacle in your path We only give homework help to those who show effort

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Have look at this tutorial from NetBeans

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You need to connect to database and run query to get what ever data you need(general tutorial how to access database can be found here). Then format received data in such way so you can insert them in JTable (as per link in my first reply)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Why don't you use JTable?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

If you tried to view page you would found the whole code

/*	3. C A T E G O R I E S
*/

#categories{
position:fixed;
width:120px;
top:190px;
right:-120px;
z-index:120;
background-color:#222;
padding-bottom:16px;
}

#categories:hover{
right:0px;
}

#categories h4{
cursor:pointer;
background-color:#000000;
padding:10px;
color:#FFFFFF;
font-variant:small-caps;
text-align:center;
position:absolute;
left:-30px;
width:10px;
}

#categories ul, #categories h5{
margin:0px 16px;
}

#categories h5{
font-variant:small-caps;
color:#FFFFFF;
margin:16px 16px 0px 16px;
}

#categories ul li{
list-style:none;

}

#categories ul li a{
color:#999999;
text-decoration:none;
}



#categories ul li a span{
color:#999999;
width:18px;
display:block;
float:left;
text-align:left;
}



#categories ul li a:hover, #categories ul li a:hover span{
color:#fff;
}
<div id="categories">
    <h4>C<br />
      a<br />
      t<br />
      e<br />
      g<br />

      o<br />
      r<br />
      i<br />
      e<br />
      s </h4>
    <h5>Alphabetical</h5>

    <ul>
      <li><a href=""><span>A </span>&ndash; C</a></li>
      <li><a href=""><span>D </span>&ndash; G</a></li>
      <li><a href=""><span>H </span>&ndash; L</a></li>

      <li><a href=""><span>M </span>&ndash; Q</a></li>
      <li><a href=""><span>R </span>&ndash; Z</a></li>
    </ul>
    <h5>by Style</h5>
    <ul>

      <li><a href="">Serifs</a></li>
      <li><a href="">Non-Serifs</a></li>
      <li><a href="">Geometrical</a></li>
      <li><a href="">Calligraphical</a></li>
      <li><a href="">Post-Modern</a></li>
    </ul>

  </div>
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

aijade thanx for ur comment. I dn't know ajax and ajax is not to be used in my project..I need to use only jsp and javascripts to do teh same. Can you please tell me from where can I get the javascri[t example so that I could apply the same in my project as I dn't have good knwledga of javascripts.

You sure you no supposed to use AJAX? In case you do not know AJAX stands for Asynchronous JavaScript and XML, basically enhanced JavaScript...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

masijade, what about JSTL and its ability of SQL querying? Wouldn't that work?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Yes, you should be reasonably OK with it. The reason why not say absolutely fine is that everyone of us has its own reading style preference.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

More on Java java.net forums and coderanch.com

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I think it can be good book when moving from one language to another, so you do not have to go through basics that are fairly similar across languages.
However if you absolute novice to programming world then Head First Java or Java - How to Program would be more suitable as they took from absolute basics

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Here is a list of sites, from Bruce website, where you can download some of his work

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

This thread was good while it last, but it is starting to get attention of spammers therefore I will close it down.

Salem commented: For the mod who closes pointless threads with the "me too" bumpage +36
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I guess you wrong as Planet PDF has 3rd edition on their list and they do not publish illegal content as far I know

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Yes, thank you

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

could any one help me of the answer???
thank you in advance..
Prasenjit

You have reply just above your post. If you do not like that answer then do no re-open old thread and create new one

how i delete image from database?

w3schools SQL DELETE Statement

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

rajshree13,
Use select query with where caluse.

select * from tablename where adate='1-1-2002'"

Not sure about your advice, because as I understand question rajshree13 want to send email out when system time match with issue date in database. For that you will need to use Timer with schedule(TimerTask task, Date time). So basically you will:

  • fire up a task on given time
  • get system date
  • query database with system date to get all entries matching this date
  • send emails
  • and reschedule timer
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

MySQL reference manual in regards of mysqldump, if this is not clear then you need to explain where you having difficulties

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

As far I'm aware this is not possible as JME is just add-on on the device operating system and therefore has very limited communication with device and it's OS, hence the reason for PIM API or latest sensor or advanced multimedia API.
Android people will not directly admit it, but this was also one of the reasons why Android was created. Take the power of Java and unleash it on device with access to various parts of hardware and underlying OS

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Hello to all, I was wondering how to run servlets using Glassfish V2. I'm using NetBeans 6.5 and need to use servlets, but I don't want to install Tomcat to do so, any suggestions?

javapassion.com - GlassFish Programming/Development

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Two options if you made install through Window installer, either go Start >> Administrative Tools >> Services >> Apache Tomcat do right click select Properties and there is option for start up which you can change (see guide here). Or second option in Tomcat installation directory go "bin" folder find tomcat6w.exe (Procrun Service Manager) as you run ver 5.5 name can be something like tomcat55w.exe

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I'm not gone be preaching for pro and against, my only trouble with C# was difficulties with locating things in MSDN library in comparison to Java API and less free libraries like you get with Java open source (but this could be just personal feeling as I spent really just small fraction of time with C#)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

@jvd401

  • Go to nearest bookshop
  • Find IT section
  • Look-up programming section
  • Find one of Java-How to Program, by Deitel, book
  • By the book
  • Start reading
  • While at break have look on following forum rule
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Yeah PIM, here are some examples

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I think you meant to say from left to right.
You have two options

  1. Try your luck with Table Item that may or may not be supported by the device (so you would have to run detection first and based on that apply further processing sequence)
  2. Use CustomItem that allow you to draw on Canvas and it provide you with basic facilities for selection and movement control among displayed items
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

well you have nice reputation on this forum....

:)

U r making joke of me frnd

There is no point in mocking each other, you are both on same boat for similar reasons. So better to do something about it...

Also take it as friendly warning against flaming-wars.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Help may come if you show some effort...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I cannot find such option in API. If I'm correct you will achieve this only with your custom build JFileChooser. Is it worth to do it?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
  • Create a collection of integers (Array - there are some shortcomings to using array, ArrayList, Vector etc.)
  • Provide a loop mechanism that will repeat same process desired number of times
  • Generate random number
  • Compare against collection that this number is not already in collection
  • Depending on result you will either add this number to collection if it doesn't exists or you will request new random number
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Happy reading

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

i cant compile and run my program. . tell me what to do! T_T

Very bad problem description...
Did you try TextPad FAQ?