aspose file tools
The moose likes JSP and the fly likes Regarding EL Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Regarding EL" Watch "Regarding EL" New topic
Author

Regarding EL

srinivas.b
Ranch Hand

Joined: Oct 26, 2006
Posts: 58
HI

I am using netbeans5.0 ,it is using tomacat5.5.9 version. i tried to run TomcatJspExamples under jsp2.0 . i am getting errors. i dont know the problem.
i cant execute EL.. Can any one tell me what to do please..

Thank you
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56554
    
  14

Have you checked the JSP FAQ? It will likely answer most of your questions?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
srinivas.b
Ranch Hand

Joined: Oct 26, 2006
Posts: 58
I checked my web.xml , everything fine. still i am getting same problem

anyone can solve please
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56554
    
  14

What did you check in your web.xml? Where did you put the JSTL files? How are you referencing the taglibs on the pages? Which version of JSP? Which version of JSTL?

We can't help if you don't give us any information.
srinivas.b
Ranch Hand

Joined: Oct 26, 2006
Posts: 58
i checked JSPFAQ and the provided instructions to check spec for jsp2.0 servlet2.4 ...actually i dont have a better idea on these as i am a beginner.
but i would like to learn.can you please explain me. My IDE is saying some internal error. like this:

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: javax.servlet.jsp.PageContext.getVariableResolver()Ljavax/servlet/jsp/el/VariableResolver;
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
org.apache.jsp.jsp2.el.basic_002darithmetic_jsp._jspService(basic_002darithmetic_jsp.java:158)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)

root cause

java.lang.NoSuchMethodError: javax.servlet.jsp.PageContext.getVariableResolver()Ljavax/servlet/jsp/el/VariableResolver;
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:922)
org.apache.jsp.jsp2.el.basic_002darithmetic_jsp._jspService(basic_002darithmetic_jsp.java:79)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
Apache Tomcat/5.5.9
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Can you post the contents of your web.xml file?

Also, let us know about your web app.
How did you create it?
What directory is it in?
Post the contents of your JSP too.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56554
    
  14

B.T.R.Srinivasarao, please check your private messages for an important message from me.
[ September 07, 2007: Message edited by: Bear Bibeault ]
srinivas.b
Ranch Hand

Joined: Oct 26, 2006
Posts: 58
Hi i am trying to run TomcatJspExample .. that comes with netbeans .




[BSouther: Added UBB CODE tags]
[ September 07, 2007: Message edited by: Ben Souther ]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Regarding EL
 
Similar Threads
How to run simple JSTL page?
EL won't work
Url problem
Jstl and EL
jsp jstl EL enum