Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 9 of 9

Thread: Chat Room in JSP

  1. #1
    Junior Member
    Join Date
    Jan 2011
    Posts
    10
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Default Chat Room in JSP

    I've been told to make a Chat Room using JSP and MS-SQL... The following are the features of the Chat Room I'm supposed to make... I've no knowledge whatsoever of JSP besides that it is a scripting language...


    Chat Room Synopsis
     
    Features:
    • Customizable Text: Fonts, Colours, BB tags etc.
    • User Accounts: Users can create accounts to register themselves on the forum.
    • Online Status: Members can set their online status. For example – Available, Busy, Away, etc.
    • Smilies: Members can put smilies in their posts using smiley codes.
    • Closed Rooms: Members can make a closed room which will require a password/invite to access the room. 
    • Private Chat: Members can use the private chat feature.
    • Ignore User/Block User: Members can block particular members from sending them messages.
    • Slang/Abuse Filter: Common English Slangs will be automatically filtered and replaced with some other text.
    • Flood Control: Users are not allowed to double post the same message.
     
    • User Privileges:
    1.	Guests: 
    i.	Guests won’t be able to use all the features of the site.
    ii.	Guests cannot use the private messaging feature.
    iii.	Guests are forbidden to create chat rooms nor can they accept invites to closed chat rooms.
    iv.	Guests won’t be able to change their avatars. A default avatar will be set automatically.
     
    2.	Registered Members: 
    i.	Users can register themselves by a unique id and password. 
    ii.	Members can set their name, gender, age and other information in their profiles.
    iii.	Members can create chat rooms, invite other members to join closed chat rooms.
    iv.	Members can set their avatars from the list of available avatars.
    v.	Members can set their online status and ignore a particular member.
    vi.	Members can use the private chat feature to chat in private.
     
    3.	Administrators: 
    i.	Admins can block users from a particular chat room.
    ii.	Admins can ban a member permanently.
    iii.	Admins can use all the other features of the forum.

    Now my question is,would it to easy to implement the following features using JSP? What level of JSP knowledge would be required to do so? I only know Core Java... I have asked this on a lot of forums but could not get any help...

    EDIT: I have cross posted this thread on java-forums.org...
    http://www.java-forums.org/javaserve...-room-jsp.html
    Last edited by c.P.u1; July 7th, 2011 at 09:38 AM.


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,541
    My Mood
    Hungover
    Thanks
    145
    Thanked 648 Times in 553 Posts

    Default Re: Chat Room in JSP

    This thread has been cross posted here:

    http://www.java-forums.org/javaserver-pages-jsp-jstl/46196-chat-room-jsp.html

    Although cross posting is allowed, for everyone's benefit, please read:

    Java Programming Forums Cross Posting Rules

    The Problems With Cross Posting

    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. The Following User Says Thank You to KevinWorkman For This Useful Post:

    c.P.u1 (July 7th, 2011)

  4. #3
    Junior Member
    Join Date
    Jan 2011
    Posts
    10
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Default Re: Chat Room in JSP

    Quote Originally Posted by KevinWorkman View Post
    This thread has been cross posted here:

    http://www.java-forums.org/javaserver-pages-jsp-jstl/46196-chat-room-jsp.html

    Although cross posting is allowed, for everyone's benefit, please read:

    Java Programming Forums Cross Posting Rules

    The Problems With Cross Posting

    Sorry bro, I had no knowledge about the cross posting rule...

  5. #4
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,541
    My Mood
    Hungover
    Thanks
    145
    Thanked 648 Times in 553 Posts

    Default Re: Chat Room in JSP

    Quote Originally Posted by c.P.u1 View Post
    Sorry bro, I had no knowledge about the cross posting rule...
    It's not a big deal, people just like to know where else you're getting help so they don't repeat advice you've already received.

    I have a dumb question: who told you to make the chat room? Doesn't that person have any help for you?
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  6. #5
    Junior Member
    Join Date
    Jan 2011
    Posts
    10
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Default Re: Chat Room in JSP

    Quote Originally Posted by KevinWorkman View Post
    It's not a big deal, people just like to know where else you're getting help so they don't repeat advice you've already received.

    I have a dumb question: who told you to make the chat room? Doesn't that person have any help for you?
    It's a college project bro... I have no choice but to make this project....

  7. #6
    Forum old-timer
    Join Date
    Nov 2008
    Location
    Faversham, Kent, UK
    Posts
    471
    My Mood
    Mellow
    Thanks
    4
    Thanked 58 Times in 54 Posts

    Default Re: Chat Room in JSP

    Quote Originally Posted by c.P.u1 View Post
    It's a college project bro...
    You won't get far in college if you can't do your own research. Try this.

  8. #7
    Junior Member
    Join Date
    Jan 2011
    Posts
    10
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Default Re: Chat Room in JSP

    Quote Originally Posted by dlorde View Post
    You won't get far in college if you can't do your own research. Try this.
    bro, I always use google before making any post on a forum... Searching for a JSP tutorial is different from searching for a specific feature which you want to implement in JSP... The features I have mentioned in the synopsis may or may not be posted on any site or forums... Google is not my friend to return an exact result of what I desire... If I had any knowledge on JSP, I would have started searching for the way in which these features will be implemented but I don't have any knowledge... I'll totally be starting JSP from scratch a few months later... So to begin with something of which I have no knowledge, I would search for 'if it is possible' rather than 'how it is possible'....
    Last edited by c.P.u1; July 7th, 2011 at 02:18 PM.

  9. #8
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,541
    My Mood
    Hungover
    Thanks
    145
    Thanked 648 Times in 553 Posts

    Default Re: Chat Room in JSP

    In that case, try breaking the problem up into smaller pieces. Get each piece to work perfectly on its own, then try to combine them. Work slowly, read through the tutorials, and let us know when you get stuck on a particular part.

    It's much harder to answer "I have about fifty requirements, here is a list of them, how do I do that?" than it is to answer "I'm working on a particular feature, here is what I have so far (in SSCCE form), I'm trying to do XYZ with thus-and-such code, I was expecting ABC but I got 123 instead, does anybody see what I'm doing wrong?"
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  10. The Following User Says Thank You to KevinWorkman For This Useful Post:

    c.P.u1 (July 7th, 2011)

  11. #9
    Forum old-timer
    Join Date
    Nov 2008
    Location
    Faversham, Kent, UK
    Posts
    471
    My Mood
    Mellow
    Thanks
    4
    Thanked 58 Times in 54 Posts

    Default Re: Chat Room in JSP

    Quote Originally Posted by c.P.u1 View Post
    bro, I always use google before making any post on a forum... Searching for a JSP tutorial is different from searching for a specific feature which you want to implement in JSP... The features I have mentioned in the synopsis may or may not be posted on any site or forums... Google is not my friend to return an exact result of what I desire... If I had any knowledge on JSP, I would have started searching for the way in which these features will be implemented but I don't have any knowledge... I'll totally be starting JSP from scratch a few months later... So to begin with something of which I have no knowledge, I would search for 'if it is possible' rather than 'how it is possible'....
    So are you saying you've read the tutorials, but they don't go far enough? Or maybe you already know what's in the tutorials, but it isn't enough? or is it that you think there's some easy short-cut, that you can complete your project without knowing the basics of JSP?

    Do you think you'd be given a project with specific requirements that are too difficult to do in the time, or just aren't possible?

    I'm not sure where you're coming from. ISTM that once you know the basics of JSP, you'll have a better idea of what to do and where to look to address the particular tasks you've been given.

    YMMV.

Similar Threads

  1. Java LAN Chat Program
    By nevilltron in forum Java Theory & Questions
    Replies: 1
    Last Post: February 11th, 2010, 03:15 AM
  2. Simple java program to calculate wall covering of a room
    By parvez07 in forum What's Wrong With My Code?
    Replies: 3
    Last Post: August 22nd, 2009, 04:31 PM
  3. TCP chat attaching cipher is not running
    By Koren3 in forum Java Networking
    Replies: 4
    Last Post: May 19th, 2009, 03:52 AM
  4. Replies: 0
    Last Post: May 3rd, 2009, 11:55 AM
  5. SSL Chat implementation
    By Koren3 in forum Java Networking
    Replies: 6
    Last Post: April 24th, 2009, 09:20 AM