• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Confused

 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have some servlets, javabeans, and plenty of JSPs. Certain aspects of my web app are not working and the server admin told me the reason was because,

"The problem is each jsp is not creating a service() method ".

I thought in servlets you can override the service method, but you don't have to if you override the doPost or doGet.

But from my understanding you really shouldn't be overriding the _jspServiceMethod.

Is this an issue inside the websphere container, which i have no control over, or is this an issue in the way I've written my JSPs?
 
Sheriff
Posts: 67747
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

Originally posted by william gates:
"The problem is each jsp is not creating a service() method ".



The server admin is apparently somewhat lacking in JSP know-how.

The JSP container creates a servlet on behalf of the JSP, and which implements the service method.

Whatever, your issue is, that ain't it.
 
william gates
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks for the response.

I was going crazy thinking maybe the server admin is right and something is wrong with what I wrote, but in the back of my head I just kept thinking, "wait a second, your not the one wrong here."
 
Bear Bibeault
Sheriff
Posts: 67747
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
What are the symptoms of the non-working pages?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic