• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

I need help with servlets and jsp

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All

I just registered. I work in IT. I have worked for one year in java web development and the last 2 years I am more into BPM/SOA.

Currently I am studying for the SCJP.

Being 2 years without seing anything of java made me a bit rusty:S

Currently I am doing a small application to send a soap request via java code. I am using JSP-Servlets to implement this. Currently in the java class I have the logic to send the soap request. (this is working, and also receives the response).

In the JSP i have a form with the necessary values I need to send to the java class.

Here is where my doubts start...in between the code and the jsp I need to put a servlet to make the bridge.

Can someone give me some "ligth" on this? How can I implement the servlets, and then send the response back to the jsp?

Thank you all

Cheers
 
Marshal
Posts: 67463
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

One tip that can help you out is to take the time to compose descriptive subjects for your posts; read this for more information.

Please go back and change your post to add a more meaningful subject by clicking the button on your post.
 
Bear Bibeault
Marshal
Posts: 67463
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The transition from servlet to JSP is typically made with a request dispatcher forward.
 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use IDEs like NetBeans and Eclipse. They do help alot (explore those right-clicks and short cuts).
 
Bear Bibeault
Marshal
Posts: 67463
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tay Thotheolh wrote:You can use IDEs like NetBeans and Eclipse. They do help alot (explore those right-clicks and short cuts).


I strongly disagree. Over-reliance on IDEs is one of the major impediments to learning, in my opinion.
 
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I second Bear's opinion on that. IDEs are after all abstractions built to speed up things. You can only use an IDE to its full potential if you know the underlying mechanisms pretty well.
 
If I'd had more time, I would have written a shorter letter. -T.S. Eliot such a short, tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic