Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

<jsp-config> behavior  RSS feed

 
hisham ragheb
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • 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

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • 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"
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!