Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2009

    not able to submit contents at the server end

    Hi ,

    I am trying to deploy a sample multimedia application given in the NokiaSeries40 book codes, using NetBeans. The client end needs to submit a photo, an audio file and a message at the server end.

    However, I’m not able to submit this content successfully at the server end.The packaging of the server end code files may be erroneous - the .war file doesnt seem to run successfully at the server end.

    I’d be very grateful if someone could could help me out with:

    1) Details on how to package and deploy the server end contents using Netbeans .
    I have uploaded the server end code of the application at the URL -(http://sites.google.com/site/cuteteddy02/file-cabinet)
    2) Explanation of the functionality of the following lines in the blogservlet code- the concept of fileroot, webroot etc.

    public void init() throws ServletException {
    InputStream in = getClass().getResourceAsStream("/conf.prop");
    Properties prop = new Properties ();
    try {
    prop.load (in);
    fileroot = prop.getProperty("Fileroot");
    webroot = prop.getProperty("Webroot");
    } catch (Exception e) {
    e.printStackTrace ();
    fileroot ="/Users/juntao/Java/tomcat/jakarta-tomcat-4.1.24/webapps/BlogServer/content/";
    webroot = "/BlogServer/content/";

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Noida, India

    Re: not able to submit contents at the server end

    Welcome to Forum Nokia Java Dev discussion board!

    Beter you try this server related question on http://forums.sun.com/index.jspa

    We all here can support you more with your mobile client side Issues.


  3. #3
    Registered User
    Join Date
    Feb 2009

    Re: not able to submit contents at the server end

    Thanks for the suggestion; I'll post my query there..Just thought maybe someone on this forum would've tried deployment of that Nokia's sample application while trying to understand and learn the end to end working of a client server app.

Similar Threads

  1. how to use udp, for sending data server to client
    By acayir in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2006-08-02, 19:18
  2. problem on connection to my server
    By ceehira in forum Symbian
    Replies: 2
    Last Post: 2006-07-17, 14:34
  3. Are there known issues with SDK 3 N6310i and Delphi?
    By MrSwede in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2004-06-02, 15:15
  4. Series 60 SDK Appwizard on windows xp
    By moonjoor in forum Symbian Tools & SDKs
    Replies: 15
    Last Post: 2003-12-24, 10:22
  5. SMS Msg using VB Application
    By gurup83 in forum General Messaging
    Replies: 2
    Last Post: 2002-07-11, 04:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts