Help coderanch get a
new server
by contributing to the fundraiser
  • 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

Stack over flow exception

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,
I am running Apache Tom cat 5.0.2. I am trying to deploy the application that contains, Classes and jsps. I copied all the classes to WEB-INF\classes. The Jsp fils are in the root of the web app. My web app is directly under the folder Webapps.

My folder structure
webapps\<MYAPP>\*.jsp
webapps\<MYAPP>\WEB-INF\classes\*.class
webapps\<MYAPP>\WEB-INF\web.xml

But I dont have any mapping to the controller servlet I have, as one of my friends told I dont have to have that entry in the web.xml as all the files are directly under webapps.

Now When I try to launch the page, I am getting the following error in catalina log. *I dont have clues abt this one*. Kindly throw some light.

Dec 10, 2004 5:56:42 PM org.apache.jasper.runtime.JspFactoryImpl internalGetPageContext
SEVERE: Exception initializing page context
java.lang.StackOverflowError

kaycee
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That sounds like some sort of error in the JSP page initialization code. Try a much simpler page or even back off to a static HTML page.

But I dont have any mapping to the controller servlet I have, as one of my friends told I dont have to have that entry in the web.xml as all the files are directly under webapps.


Your friend is confusing you. Your controller servlet should be configured in web.xml - including the URL mapping that will lead to it.
Bill
 
krish chandru
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Bill Will have a try.
 
She'll be back. I'm just gonna wait here. With this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic