CrazyEngineers
  • Jsp code for socket programming

    madhumurundi

    madhumurundi

    @madhumurundi-DfePI4
    Updated: Sep 27, 2024
    Views: 974
    Hello,
    CE's

    any knows code JSP CODE FOR SOCKET programming .......please inform me
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • sookie

    MemberJan 9, 2010

    madhumurundi
    Hello,
    CE's

    any knows code JSP CODE FOR SOCKET programming .......please inform me
    Yep, I guess I can be of some help in this but I am still not able to figure out why you want to include the code that should be done in Java in JSP. Please make it clear.

    Thanks 😀
    Are you sure? This action cannot be undone.
    Cancel
  • madhumurundi

    MemberJan 9, 2010

    sookie
    Yep, I guess I can be of some help in this but I am still not able to figure out why you want to include the code that should be done in Java in JSP. Please make it clear.

    Thanks 😀
    @sookie

    Thanks for your valuable comments... i have already done a socket programming in java ... it can execute in command line.. and command prompt... and for this program i didin't used any front end... so i thought that JSP will gives better front end look for this ... and i read lots... of PDF about jsp... but still finding the difficulty to programming in JSP for "scoket program".. please sort out my problem...
    Are you sure? This action cannot be undone.
    Cancel
  • sookie

    MemberJan 9, 2010

    @madhumurundi I liked your going out-of-box way. 😀

    Very first thing is you need to have knowledge of Servlets and JSP(just basic -nothing fundoo) then as per me what you can do is

    1. Create two servlet classs -one as (ClientServlet.java)and this servet will run as soon as your server of client machine will start and other create server side servlet class (say ServerServlet.java). Put your client side socket code in ClientServlet.java and server side code in ServerServlet.java.

    Now right now, what you might be doing is using Java I/O streams stuff for data handling which is getting displayed in command prompt. Now , you need to change bit of code(only data displaying and handling part- no need of touching socket programming related code) of yours in Java classes such that it will be displayed as UI using JSP.

    Feel free to correct and ask questions if any. If possible share the code, I am dying to give it a try. :sshhh:
    Are you sure? This action cannot be undone.
    Cancel
  • madhumurundi

    MemberJan 10, 2010

    sookie
    @madhumurundi I liked your going out-of-box way. 😀

    Very first thing is you need to have knowledge of Servlets and JSP(just basic -nothing fundoo) then as per me what you can do is

    1. Create two servlet classs -one as (ClientServlet.java)and this servet will run as soon as your server of client machine will start and other create server side servlet class (say ServerServlet.java). Put your client side socket code in ClientServlet.java and server side code in ServerServlet.java.

    Now right now, what you might be doing is using Java I/O streams stuff for data handling which is getting displayed in command prompt. Now , you need to change bit of code(only data displaying and handling part- no need of touching socket programming related code) of yours in Java classes such that it will be displayed as UI using JSP.

    Feel free to correct and ask questions if any. If possible share the code, I am dying to give it a try. :sshhh:
    @sookie

    Thanks for providing a ample of informations about JSP... i will try the code..once the code is run successfully i will post it here 😁
    Are you sure? This action cannot be undone.
    Cancel
  • sookie

    MemberJan 14, 2010

    madhumurundi
    @sookie

    Thanks for providing a ample of informations about JSP... i will try the code..once the code is run successfully i will post it here 😁
    No, you can share the unsuccessful code also. We will make it successful. :sshhh:
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register