your tomcat server by debug model!
--
From: "elyes sallem"
Sent: Wednesday, February 18, 2009 11:41 PM
To: "Struts Users Mailing List"
Subject: exception in jsp file
Hello,
i m developping a web application with struts framew
gt; - Original Message - From: "elyes sallem"
> To: "Struts Users Mailing List"
> Sent: Wednesday, February 18, 2009 7:41 AM
> Subject: exception in jsp file
>
>
>
> Hello,
>> i m developping a web application with struts framework
>&
Can you be more specific as to when the error occurs.
Saludos
Lalchandra Rampersaud
- Original Message -
From: "elyes sallem"
To: "Struts Users Mailing List"
Sent: Wednesday, February 18, 2009 7:41 AM
Subject: exception in jsp file
Hello,
i m developpi
hi, do you have a jsp called:
ajust_005fcpe1.jsp in your project?
it looks like a null pointer on this jsp
take a look at tomcat/work/../yourApp where all the jsp's should
be dropped as a java class.. then you should see where the null pointer came from.
ben
elyes sallem wrote:
Hello,
i
Hello,
i m developping a web application with struts framework
i got this error,which indicates that there a null pointer exception
but nothing else
any one know how can i find the null variable ...
here is the exception
java.lang.NullPointerException
at
org.apache.jsp.pages.CPFA_005fMensuel.
"Struts UsersRe:
Mailing List"causing Exception in JSP
<[EMAIL PROTECTED]
cc
Please respond to Subject
"Struts Users
I believe your global forward should point onto /search.do (which is the
ActionMapping whose path is defined as "/search" further down in your
struts-config.xml:
Everything else in your struts-config-xml seems to be fine. Does that help?
2007/1/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
ailing List"causing Exception in JSP
<[EMAIL PROTECTED]
Subject
"Struts UsersRe:
Mailing List"causing Exception in JSP
<[EMAIL PROTECTED]
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> 15: • Search for
Do you have a global forward called "search?"
It's a Good Idea to post (as much as possible, but hopefully restricted
to the problem at hand :/ more information such as the struts
configuration etc. otherwise nobody really knows
Hi Patrick,
Have you tried putting a slash:
If that doesn't solve your problem, I suspect that you would need to post
the content of your struts-config.xml file...
Good luck!
Pierre
2007/1/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
org.apache.jasper.JasperException: Excep
ge
description The server encountered an internal error () that prevented it from
fulfilling this request.
exception
org.apache.jasper.JasperException: Exception in JSP: /index.jsp:15
12:
13:
14: • Add an Employee
15: • Search for Employees
16:
17
If you are using a container that supports 2.4 servlet spec, see this
page for your answer:
http://www.onjava.com/pub/a/onjava/2003/12/03/JSP2part2.html
If you are using a 2.3 servlet container:
1) Declare <%@ page isErrorPage="true" %>
2) Put this somewhere in the body of your page:
<%= exception
Try extending the ExceptionHandler and trap the exception in there and
try to figure out what the exception is an instanceOf. From there you
can place a message in the request and forward to your error page, to
display the error
On Apr 7, 2005 11:20 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Hi there,
is it possible to get exception information into a JSP file?
I'm catching all exceptions with a single entry in the web.xml:
java.lang.Exception
/error/errorException.jsp
Now I want to know, which exception was thrown, why and where
like the e.printstacktrace() method or
16 matches
Mail list logo