• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP calling servlet

 
chrischua78
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am new to Java Programming and I have problem using JSP to call a servlet. The servlet is instantiated but the JSP page is unable to display the output.
What are the things that I need to look out for? Could it be due to missing libraries?
Regards,
Chris
 
ken chou
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
chrischua78
Waiting for one of the bartenders to come and tell chrischua78 that his name violates the standards/norms/rules/conventions of javaranch

[This message has been edited by ken chou (edited July 18, 2001).]
 
chrischua78
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anything wrong with the name?
 
ken chou
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at
JavaRanch's naming policy
. Your name at least should be 2 separate names with more than 1 letter each.
[This message has been edited by ken chou (edited July 18, 2001).]
 
chrischua78
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
haha.. sorry.. I didn't know that
universal for most of my logins.. easy to remember.
 
ken chou
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

That's ok. You just need to create a new account that follows the rules if you would like to be a real member here.
 
chrischua78
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i c.. will do .. thanks !!
 
Tim Holloway
Bartender
Posts: 18418
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyway, a JSP can't "call" a servlet, any more than a servlet can call another servlet. You can forward, but that's not the same as calling, since control never returns. The closest thing to a call would be a series of http requests/responses where A hands off to B and A hands off back to A again. Barring client crashes, server crashes, bored users switching off computers, cats on keysboard, etc. etc.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!