You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Dante A. Castiglione Maldonado" <da...@gmail.com> on 2008/07/14 16:24:57 UTC

problem running a simple struts app

Hi all,

I am new on the list and new using struts. Trying to run a simple
application that I took from the web (
http://www.abqswt.com/tutorials/basicStruts/index.php ) keep getting
the following message, but cannot find out what the real problem is.
Any help will be very usefull.

==========================================================

org.apache.jasper.JasperException: Exception in JSP: /PersonalData.jsp:15

12: </head>
13:
14: <body>
15:     <html:form method="post" action="/PersonalData">
16:         <table border="0">
17:             <tr>
18:                 <td width="50">

root cause:
java.lang.NullPointerException: Module 'null' not found.

==========================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: problem running a simple struts app

Posted by Dave Newton <ne...@yahoo.com>.
--- On Mon, 7/14/08, Dante A. Castiglione Maldonado wrote:
> Here are the files

In general, attachments are a bad idea on the mailing list.

You have an essentially empty web.xml; you need to configure the ActionServlet.

http://struts.apache.org/1.3.8/userGuide/configuration.html#dd_config

It might have been better to follow the tutorial instructions and start with the blank application.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: problem running a simple struts app

Posted by "Dante A. Castiglione Maldonado" <da...@gmail.com>.
Thank you very much

Here are the files



2008/7/14 Dave Newton <ne...@yahoo.com>:
> --- On Mon, 7/14/08, Dante A. Castiglione Maldonado wrote:
>> I thought it would be easier to learn. Should I go to version 2?
>
> Yes.
>
>> What configuration information/files should i send?
>
> The struts configuration file.
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Re: problem running a simple struts app

Posted by Dave Newton <ne...@yahoo.com>.
--- On Mon, 7/14/08, Dante A. Castiglione Maldonado wrote:
> I thought it would be easier to learn. Should I go to version 2?

Yes.

> What configuration information/files should i send?

The struts configuration file.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: problem running a simple struts app

Posted by "Dante A. Castiglione Maldonado" <da...@gmail.com>.
Thanks a lot

No, no particular reason. I thought it would be easier to learn.
Should I go to version 2?

What configuration information/files should i send?


2008/7/14 Dave Newton <ne...@yahoo.com>:
> Without the configuration it'll be tough to help.
>
> Any particular reason you're using Struts 1 instead of Struts 2?
>
> Dave
>
> --- On Mon, 7/14/08, Dante A. Castiglione Maldonado wrote:
>
>> From: Dante A. Castiglione Maldonado <da...@gmail.com>
>> Subject: problem running a simple struts app
>> To: user@struts.apache.org
>> Date: Monday, July 14, 2008, 10:24 AM
>> Hi all,
>>
>> I am new on the list and new using struts. Trying to run a
>> simple
>> application that I took from the web (
>> http://www.abqswt.com/tutorials/basicStruts/index.php )
>> keep getting
>> the following message, but cannot find out what the real
>> problem is.
>> Any help will be very usefull.
>>
>> ==========================================================
>>
>> org.apache.jasper.JasperException: Exception in JSP:
>> /PersonalData.jsp:15
>>
>> 12: </head>
>> 13:
>> 14: <body>
>> 15:     <html:form method="post"
>> action="/PersonalData">
>> 16:         <table border="0">
>> 17:             <tr>
>> 18:                 <td width="50">
>>
>> root cause:
>> java.lang.NullPointerException: Module 'null' not
>> found.
>>
>> ==========================================================
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail:
>> user-help@struts.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: problem running a simple struts app

Posted by Dave Newton <ne...@yahoo.com>.
Without the configuration it'll be tough to help.

Any particular reason you're using Struts 1 instead of Struts 2?

Dave

--- On Mon, 7/14/08, Dante A. Castiglione Maldonado wrote:

> From: Dante A. Castiglione Maldonado <da...@gmail.com>
> Subject: problem running a simple struts app
> To: user@struts.apache.org
> Date: Monday, July 14, 2008, 10:24 AM
> Hi all,
> 
> I am new on the list and new using struts. Trying to run a
> simple
> application that I took from the web (
> http://www.abqswt.com/tutorials/basicStruts/index.php )
> keep getting
> the following message, but cannot find out what the real
> problem is.
> Any help will be very usefull.
> 
> ==========================================================
> 
> org.apache.jasper.JasperException: Exception in JSP:
> /PersonalData.jsp:15
> 
> 12: </head>
> 13:
> 14: <body>
> 15:     <html:form method="post"
> action="/PersonalData">
> 16:         <table border="0">
> 17:             <tr>
> 18:                 <td width="50">
> 
> root cause:
> java.lang.NullPointerException: Module 'null' not
> found.
> 
> ==========================================================
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org