• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I need help with servlets and jsp

 
Daniel Martins
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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • 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
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • 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.
 
Tay Thotheolh
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
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • 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.
 
Anirvan Majumdar
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic