• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

<jsp-config> behavior

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i wrote a one jsp page application to see the effect of <el-ignored> DD tag...Actually the container(Apache Tomcat 6) behave differently than what i expect and what i read

My web app is name 'show' and in the web-inf i placed the web.xml and mine.jsp, the problem is the container cannot recognize the url specified in <url-pattern> int the <jsp-property-group> and i get 404 response...but when i use either *.do or *.jsp in the <url-pattern> tag thigs works fine

is that a normal behavior???or what could be wrong???



The web app consist only of these two files to just monitor the <jsp-config> behavior

WEB-INF
|
|
|--------mine.jsp
|
|--------web.xml

web.xml







mine.jsp

 
Sheriff
Posts: 67753
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
Does it work OK if you move the JSP out of WEB-INF?
 
hisham ragheb
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bear Bibeault wrote:Does it work OK if you move the JSP out of WEB-INF?




No it doesn't...i tried to put the jsp file in the root and changed the web.xml to match that, but i still get the 404 code in the response


if i use same <url-pattern> in both <servlet-mapping> and <jsp-property-group> things doesn't work...so this eliminates the effect of <el-ignored> on a specific page and i think its not supposed to work like that...right?what could be the problem?

Things works smoothly if i just use the isELIgnored="true"
 
Space pants. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic