• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

I need help with servlets and jsp

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67750
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 67750
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 67750
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
when your children are suffering from your punishment, tell your them it will help them write good poetry when they are older. Like this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic