Results 1 to 4 of 4
  1. #1
    Irantz is offline Member
    Join Date
    Apr 2012
    Posts
    2
    Rep Power
    0

    Default How call a jsp from java class

    hi,

    I want to call a jsp from java class, someone could help me?

    thanks!

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,863
    Rep Power
    19

    Default Re: How call a jsp from java class

    Without going via HTTP and calling it on the server you can't.
    What are you trying to actually do?
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    Irantz is offline Member
    Join Date
    Apr 2012
    Posts
    2
    Rep Power
    0

    Default Re: How call a jsp from java class

    Hello,

    I've two web applications in the same web server and I would like to do the call from one to other, but the call has to be from class it can't be from jsp.

    Thanks!

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,863
    Rep Power
    19

    Default Re: How call a jsp from java class

    In which case you can only make an HTTP call.
    Which begs the question of what this JSP does, since they should be about displaying data in a browser and not acting as some sort of web service.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Midlet to call a j2me java class
    By kakinyim in forum CLDC and MIDP
    Replies: 1
    Last Post: 05-22-2011, 09:52 PM
  2. Replies: 0
    Last Post: 03-27-2011, 05:49 AM
  3. Replies: 2
    Last Post: 05-01-2010, 08:59 AM
  4. How to call defined java class in Jsp
    By asheeshiit in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 03-04-2009, 04:21 AM
  5. Replies: 0
    Last Post: 01-02-2008, 01:52 PM

Posting Permissions

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