Results 1 to 1 of 1
  1. #1
    mesocyclone is offline Member
    Join Date
    Aug 2009
    Rep Power

    Question Debugging app using J2EE Preview Server?

    I would like to debug a simple web app using the J2EE Preview Web Server.

    I have run into problems (see previous post).

    Is there a normal sequence of doing this?

    I expected to do the following:

    1. Modify my app
    2. Selecting the project, use "Run As->Run on Server"
    3. ...have the project automatically deployed to the server when I select the preview server.
    4. have the welcome page appear in a browser tab (preferably the same tab it appeared in the last time through this cycle
    5. Do my test
    6. Go back to the first step

    Instead, there are two problems:
    1. It doesn't redeploy my java classes (even though it does redeploy the welcome page). These are classes called by the welcome page (index.jsp).
    2. It opens the welcome page in a new tab.

    If I stop and delete the server (server's view), and then do my sequence above, it works (although it still opens in a new tab).

    Any ideas?

    Thanks in advance
    Last edited by mesocyclone; 08-14-2009 at 09:22 PM. Reason: add info

Similar Threads

  1. Debugging
    By daro in forum Eclipse
    Replies: 0
    Last Post: 07-22-2009, 05:02 PM
  2. Creating preview images of files in java
    By in forum Advanced Java
    Replies: 3
    Last Post: 07-04-2009, 10:29 PM
  3. unnable to view the default home page though j2ee server starting properly
    By shallz in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 03-21-2009, 10:37 AM
  4. Print the text file and print preview them
    By Java Tip in forum java.awt
    Replies: 0
    Last Post: 06-22-2008, 11:04 PM

Tags for this Thread

Posting Permissions

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