You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kelly Goedert <ke...@nexxera.com> on 2004/01/05 14:28:49 UTC
artimus 1.1
Hello,
this may be a bit off topic but there it goes: how do I deploy the
artimus example application? What kind of database structure do I have
to create?
Kelly.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: selecting a value from drop down list
Posted by Mark Lowe <ma...@talk21.com>.
You'll find the docs here
http://jakarta.apache.org/struts/userGuide/struts-html.html#select
You need something like the following, please don't copy and paste and
then immediately post the list.
<html:select property="sName">
<html:options name="myList" property="sName" />
</html:select>
Judging by the vagueness of you question i guess you'll also have to
read some stuff on action forms also.
Cheers Mark
On 5 Jan 2004, at 16:42, Kamal Gupta wrote:
> Hi,
>
> I have a drop down list in my jsp page the code is shown below
>
> <td width="100"><b>Name</b></td>
> <td>
> <select name="sName" style="width:225px">
> <logic:iterate id="results" name="sNameSetup"
> property="nameList"
> scope="session">
> <option value=""><bean:write name="results" property ="sName"
> /></option>
> </logic:iterate>
> </select>
> </td>
>
>
> When I run this jsp page it displays a list of all names in a drop
> down list
> on the jsp page.
>
> What i want to do is
>
> User will select one of the names from the above select drop down list
> and i
> want to get that value from the jsp page and store it into the
> database.
>
> how should i get that value from the jsp page
>
> Please help me
>
> Regards
>
> Kamal
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: selecting a value from drop down list
Posted by Kamal Gupta <kg...@tech-group.co.uk>.
Hi,
Thanks for your reply Mark.
I tried the option you suggested. but that thing gives me a null value
Regards
Kamal
-----Original Message-----
From: Mark Lowe [mailto:mark.lowe@talk21.com]
Sent: 05 January 2004 16:23
To: Struts Users Mailing List
Subject: Re: selecting a value from drop down list
umm.. ehhh
perhaps
<option value="">
could be why you get no value (in fact i suspect thats it).. The
parameter will be whatever is in the value attribute, if you leave the
value attribute out then it will default to the display string
presented between the option tags..
On 5 Jan 2004, at 17:05, Kamal Gupta wrote:
> Hi,
>
> Thanks for your reply robert.
>
> I am using struts and in the action i am using
> request.getParameter("sname");
>
> for all other text boxes i get the value using request.getParamter();
>
> but I dont get any value for the drop down list.
>
> Can you help me more
>
> Regards
>
> Kamal
> -----Original Message-----
> From: Robert Taylor [mailto:rtaylor@mulework.com]
> Sent: 05 January 2004 16:01
> To: Struts Users Mailing List; kgupta@tech-group.co.uk
> Subject: RE: selecting a value from drop down list
>
>
> Assuming you are using Struts to process the form submission,
> once the user selects a value from the drop down list and submits
> the form to be processed, the action which you have configured to
> handle this form submission, will have access to the selected value
> via the form configured to store the posted request information.
> Once inside your action you would do something like the following:
>
> MyForm myForm = (MyForm) form;
> String sName = myForm.getSname();
> // update database with sName value
>
>
> robert
>
>
>> -----Original Message-----
>> From: Kamal Gupta [mailto:kgupta@tech-group.co.uk]
>> Sent: Monday, January 05, 2004 10:42 AM
>> To: Struts Users Mailing List
>> Subject: selecting a value from drop down list
>>
>>
>> Hi,
>>
>> I have a drop down list in my jsp page the code is shown below
>>
>> <td width="100"><b>Name</b></td>
>> <td>
>> <select name="sName" style="width:225px">
>> <logic:iterate id="results" name="sNameSetup"
>> property="nameList"
>> scope="session">
>> <option value=""><bean:write name="results"
>> property ="sName"
>> /></option>
>> </logic:iterate>
>> </select>
>> </td>
>>
>>
>> When I run this jsp page it displays a list of all names in a
>> drop down list
>> on the jsp page.
>>
>> What i want to do is
>>
>> User will select one of the names from the above select drop down
>> list and i
>> want to get that value from the jsp page and store it into the
>> database.
>>
>> how should i get that value from the jsp page
>>
>> Please help me
>>
>> Regards
>>
>> Kamal
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: selecting a value from drop down list
Posted by Kamal Gupta <kg...@tech-group.co.uk>.
Hi,
It works now.
It was just that the value was in double quotes and as its a string it
already has double quotes
So i changed the option value from
<option value="<bean:write name="results" property ="pnDescription"
/>"><bean:write name="results" property ="pnDescription" />
to
<option value=<bean:write name="results" property ="pnDescription"
/>><bean:write name="results" property ="pnDescription" /></option>
Thanks Mark and Robert
Regards
Kamal Gupta
-----Original Message-----
From: Mark Lowe [mailto:mark.lowe@talk21.com]
Sent: 05 January 2004 16:23
To: Struts Users Mailing List
Subject: Re: selecting a value from drop down list
umm.. ehhh
perhaps
<option value="">
could be why you get no value (in fact i suspect thats it).. The
parameter will be whatever is in the value attribute, if you leave the
value attribute out then it will default to the display string
presented between the option tags..
On 5 Jan 2004, at 17:05, Kamal Gupta wrote:
> Hi,
>
> Thanks for your reply robert.
>
> I am using struts and in the action i am using
> request.getParameter("sname");
>
> for all other text boxes i get the value using request.getParamter();
>
> but I dont get any value for the drop down list.
>
> Can you help me more
>
> Regards
>
> Kamal
> -----Original Message-----
> From: Robert Taylor [mailto:rtaylor@mulework.com]
> Sent: 05 January 2004 16:01
> To: Struts Users Mailing List; kgupta@tech-group.co.uk
> Subject: RE: selecting a value from drop down list
>
>
> Assuming you are using Struts to process the form submission,
> once the user selects a value from the drop down list and submits
> the form to be processed, the action which you have configured to
> handle this form submission, will have access to the selected value
> via the form configured to store the posted request information.
> Once inside your action you would do something like the following:
>
> MyForm myForm = (MyForm) form;
> String sName = myForm.getSname();
> // update database with sName value
>
>
> robert
>
>
>> -----Original Message-----
>> From: Kamal Gupta [mailto:kgupta@tech-group.co.uk]
>> Sent: Monday, January 05, 2004 10:42 AM
>> To: Struts Users Mailing List
>> Subject: selecting a value from drop down list
>>
>>
>> Hi,
>>
>> I have a drop down list in my jsp page the code is shown below
>>
>> <td width="100"><b>Name</b></td>
>> <td>
>> <select name="sName" style="width:225px">
>> <logic:iterate id="results" name="sNameSetup"
>> property="nameList"
>> scope="session">
>> <option value=""><bean:write name="results"
>> property ="sName"
>> /></option>
>> </logic:iterate>
>> </select>
>> </td>
>>
>>
>> When I run this jsp page it displays a list of all names in a
>> drop down list
>> on the jsp page.
>>
>> What i want to do is
>>
>> User will select one of the names from the above select drop down
>> list and i
>> want to get that value from the jsp page and store it into the
>> database.
>>
>> how should i get that value from the jsp page
>>
>> Please help me
>>
>> Regards
>>
>> Kamal
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: selecting a value from drop down list
Posted by Mark Lowe <ma...@talk21.com>.
umm.. ehhh
perhaps
<option value="">
could be why you get no value (in fact i suspect thats it).. The
parameter will be whatever is in the value attribute, if you leave the
value attribute out then it will default to the display string
presented between the option tags..
On 5 Jan 2004, at 17:05, Kamal Gupta wrote:
> Hi,
>
> Thanks for your reply robert.
>
> I am using struts and in the action i am using
> request.getParameter("sname");
>
> for all other text boxes i get the value using request.getParamter();
>
> but I dont get any value for the drop down list.
>
> Can you help me more
>
> Regards
>
> Kamal
> -----Original Message-----
> From: Robert Taylor [mailto:rtaylor@mulework.com]
> Sent: 05 January 2004 16:01
> To: Struts Users Mailing List; kgupta@tech-group.co.uk
> Subject: RE: selecting a value from drop down list
>
>
> Assuming you are using Struts to process the form submission,
> once the user selects a value from the drop down list and submits
> the form to be processed, the action which you have configured to
> handle this form submission, will have access to the selected value
> via the form configured to store the posted request information.
> Once inside your action you would do something like the following:
>
> MyForm myForm = (MyForm) form;
> String sName = myForm.getSname();
> // update database with sName value
>
>
> robert
>
>
>> -----Original Message-----
>> From: Kamal Gupta [mailto:kgupta@tech-group.co.uk]
>> Sent: Monday, January 05, 2004 10:42 AM
>> To: Struts Users Mailing List
>> Subject: selecting a value from drop down list
>>
>>
>> Hi,
>>
>> I have a drop down list in my jsp page the code is shown below
>>
>> <td width="100"><b>Name</b></td>
>> <td>
>> <select name="sName" style="width:225px">
>> <logic:iterate id="results" name="sNameSetup"
>> property="nameList"
>> scope="session">
>> <option value=""><bean:write name="results"
>> property ="sName"
>> /></option>
>> </logic:iterate>
>> </select>
>> </td>
>>
>>
>> When I run this jsp page it displays a list of all names in a
>> drop down list
>> on the jsp page.
>>
>> What i want to do is
>>
>> User will select one of the names from the above select drop down
>> list and i
>> want to get that value from the jsp page and store it into the
>> database.
>>
>> how should i get that value from the jsp page
>>
>> Please help me
>>
>> Regards
>>
>> Kamal
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: selecting a value from drop down list
Posted by Robert Taylor <rt...@mulework.com>.
Try request.getParameter("sName");
robert
> -----Original Message-----
> From: Kamal Gupta [mailto:kgupta@tech-group.co.uk]
> Sent: Monday, January 05, 2004 11:06 AM
> To: Struts Users Mailing List
> Subject: RE: selecting a value from drop down list
>
>
> Hi,
>
> Thanks for your reply robert.
>
> I am using struts and in the action i am using
> request.getParameter("sname");
>
> for all other text boxes i get the value using request.getParamter();
>
> but I dont get any value for the drop down list.
>
> Can you help me more
>
> Regards
>
> Kamal
> -----Original Message-----
> From: Robert Taylor [mailto:rtaylor@mulework.com]
> Sent: 05 January 2004 16:01
> To: Struts Users Mailing List; kgupta@tech-group.co.uk
> Subject: RE: selecting a value from drop down list
>
>
> Assuming you are using Struts to process the form submission,
> once the user selects a value from the drop down list and submits
> the form to be processed, the action which you have configured to
> handle this form submission, will have access to the selected value
> via the form configured to store the posted request information.
> Once inside your action you would do something like the following:
>
> MyForm myForm = (MyForm) form;
> String sName = myForm.getSname();
> // update database with sName value
>
>
> robert
>
>
> > -----Original Message-----
> > From: Kamal Gupta [mailto:kgupta@tech-group.co.uk]
> > Sent: Monday, January 05, 2004 10:42 AM
> > To: Struts Users Mailing List
> > Subject: selecting a value from drop down list
> >
> >
> > Hi,
> >
> > I have a drop down list in my jsp page the code is shown below
> >
> > <td width="100"><b>Name</b></td>
> > <td>
> > <select name="sName" style="width:225px">
> > <logic:iterate id="results" name="sNameSetup"
> > property="nameList"
> > scope="session">
> > <option value=""><bean:write name="results"
> > property ="sName"
> > /></option>
> > </logic:iterate>
> > </select>
> > </td>
> >
> >
> > When I run this jsp page it displays a list of all names in a
> > drop down list
> > on the jsp page.
> >
> > What i want to do is
> >
> > User will select one of the names from the above select drop down
> > list and i
> > want to get that value from the jsp page and store it into the database.
> >
> > how should i get that value from the jsp page
> >
> > Please help me
> >
> > Regards
> >
> > Kamal
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: selecting a value from drop down list
Posted by Kamal Gupta <kg...@tech-group.co.uk>.
Hi,
Thanks for your reply robert.
I am using struts and in the action i am using
request.getParameter("sname");
for all other text boxes i get the value using request.getParamter();
but I dont get any value for the drop down list.
Can you help me more
Regards
Kamal
-----Original Message-----
From: Robert Taylor [mailto:rtaylor@mulework.com]
Sent: 05 January 2004 16:01
To: Struts Users Mailing List; kgupta@tech-group.co.uk
Subject: RE: selecting a value from drop down list
Assuming you are using Struts to process the form submission,
once the user selects a value from the drop down list and submits
the form to be processed, the action which you have configured to
handle this form submission, will have access to the selected value
via the form configured to store the posted request information.
Once inside your action you would do something like the following:
MyForm myForm = (MyForm) form;
String sName = myForm.getSname();
// update database with sName value
robert
> -----Original Message-----
> From: Kamal Gupta [mailto:kgupta@tech-group.co.uk]
> Sent: Monday, January 05, 2004 10:42 AM
> To: Struts Users Mailing List
> Subject: selecting a value from drop down list
>
>
> Hi,
>
> I have a drop down list in my jsp page the code is shown below
>
> <td width="100"><b>Name</b></td>
> <td>
> <select name="sName" style="width:225px">
> <logic:iterate id="results" name="sNameSetup"
> property="nameList"
> scope="session">
> <option value=""><bean:write name="results"
> property ="sName"
> /></option>
> </logic:iterate>
> </select>
> </td>
>
>
> When I run this jsp page it displays a list of all names in a
> drop down list
> on the jsp page.
>
> What i want to do is
>
> User will select one of the names from the above select drop down
> list and i
> want to get that value from the jsp page and store it into the database.
>
> how should i get that value from the jsp page
>
> Please help me
>
> Regards
>
> Kamal
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: selecting a value from drop down list
Posted by Robert Taylor <rt...@mulework.com>.
Assuming you are using Struts to process the form submission,
once the user selects a value from the drop down list and submits
the form to be processed, the action which you have configured to
handle this form submission, will have access to the selected value
via the form configured to store the posted request information.
Once inside your action you would do something like the following:
MyForm myForm = (MyForm) form;
String sName = myForm.getSname();
// update database with sName value
robert
> -----Original Message-----
> From: Kamal Gupta [mailto:kgupta@tech-group.co.uk]
> Sent: Monday, January 05, 2004 10:42 AM
> To: Struts Users Mailing List
> Subject: selecting a value from drop down list
>
>
> Hi,
>
> I have a drop down list in my jsp page the code is shown below
>
> <td width="100"><b>Name</b></td>
> <td>
> <select name="sName" style="width:225px">
> <logic:iterate id="results" name="sNameSetup"
> property="nameList"
> scope="session">
> <option value=""><bean:write name="results"
> property ="sName"
> /></option>
> </logic:iterate>
> </select>
> </td>
>
>
> When I run this jsp page it displays a list of all names in a
> drop down list
> on the jsp page.
>
> What i want to do is
>
> User will select one of the names from the above select drop down
> list and i
> want to get that value from the jsp page and store it into the database.
>
> how should i get that value from the jsp page
>
> Please help me
>
> Regards
>
> Kamal
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
selecting a value from drop down list
Posted by Kamal Gupta <kg...@tech-group.co.uk>.
Hi,
I have a drop down list in my jsp page the code is shown below
<td width="100"><b>Name</b></td>
<td>
<select name="sName" style="width:225px">
<logic:iterate id="results" name="sNameSetup" property="nameList"
scope="session">
<option value=""><bean:write name="results" property ="sName"
/></option>
</logic:iterate>
</select>
</td>
When I run this jsp page it displays a list of all names in a drop down list
on the jsp page.
What i want to do is
User will select one of the names from the above select drop down list and i
want to get that value from the jsp page and store it into the database.
how should i get that value from the jsp page
Please help me
Regards
Kamal
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: artimus 1.1
Posted by Kelly Goedert <ke...@nexxera.com>.
I did all this you said and followed also the steps in readme.txt. But
when I click on create resources button, I get this:
05/01/2004 13:10:15 org.apache.struts.action.RequestProcessor process
INFO: Processing a 'POST' for path '/menu/Manager'
processActionForward(/do/CreateResources, false)
'/do/CreateResources' - processed as uri
05/01/2004 13:10:15 org.apache.struts.action.RequestProcessor process
INFO: Processing a 'POST' for path '/CreateResources'
java.lang.NullPointerException
at org.apache.artimus.article.Access.index(Unknown Source)
at org.apache.artimus.CreateResources.execute(Unknown Source)
at org.apache.struts.scaffold.ProcessAction.executeLogic(Unknown Source)
at org.apache.struts.scaffold.BaseHelperAction.executeLogic(Unknown
Source)
at org.apache.struts.scaffold.BaseAction.execute(Unknown Source)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:446)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1014)
at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:257)
at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:417)
at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300)
at
org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.java:390)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:271)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.
Martin Gainty wrote:
>1)get the artimus example app at
>http://sourceforge.net/project/showfiles.php?group_id=49385
>
>2)change to the artimus folder which contains appfuse.sql
>C:\>cd artimus
>
>C:\Artimus>dir
> Volume in drive C has no label.
> Volume Serial Number is 1CB0-1E6D
>
> Directory of C:\Artimus
>
>01/05/2004 08:31a <DIR> .
>01/05/2004 08:31a <DIR> ..
>01/05/2004 08:31a 4,315,758 appfuse-1.2-bin.zip
>11/30/2003 04:01p 2,931 appfuse.sql
>12/20/2003 04:47p 4,275,886 appfuse.war
>12/20/2003 04:46p 6,882 appfuse.xml
>01/05/2004 08:31a <DIR> docs
>05/28/2003 11:37p 564 LICENSE.txt
>12/20/2003 04:49p 3,059 README.txt
>12/20/2003 04:46p 851 WHATSNEW.txt
> 7 File(s) 8,605,931 bytes
> 3 Dir(s) 23,079,976,960 bytes free
>
>3)connect to mysql as root/mysql
>C:\Artimus>mysql -u root mysql
>Welcome to the MySQL monitor. Commands end with ; or \g.
>Your MySQL connection id is 15 to server version: 4.0.17-max-debug
>
>Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
>
>4)execute the mySQL DB creation utility
>mysql> source appfuse.sql
>Query OK, 1 row affected (0.02 sec)
>
>Query OK, 0 rows affected (0.04 sec)
>
>Query OK, 0 rows affected (0.00 sec)
>
>Database changed
>Query OK, 0 rows affected (0.07 sec)
>
>Query OK, 1 row affected (0.01 sec)
>
>Query OK, 1 row affected (0.00 sec)
>
>Query OK, 0 rows affected (0.05 sec)
>
>Query OK, 1 row affected (0.01 sec)
>
>Query OK, 1 row affected (0.00 sec)
>
>Query OK, 0 rows affected (0.05 sec)
>
>Query OK, 1 row affected (0.00 sec)
>
>Query OK, 1 row affected (0.00 sec)
>
>mysql>
>this Should get you started..be sure to read readme,.txt that comes with
>artimus!
>
>Let me know when you have gotten this far..
>
>-Martin
>
>----- Original Message -----
>From: "Kelly Goedert" <ke...@nexxera.com>
>To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>Sent: Monday, January 05, 2004 8:28 AM
>Subject: artimus 1.1
>
>
>
>
>>Hello,
>>
>>this may be a bit off topic but there it goes: how do I deploy the
>>artimus example application? What kind of database structure do I have
>>to create?
>>
>>Kelly.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>
>>
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: artimus 1.1
Posted by Martin Gainty <mg...@hotmail.com>.
1)get the artimus example app at
http://sourceforge.net/project/showfiles.php?group_id=49385
2)change to the artimus folder which contains appfuse.sql
C:\>cd artimus
C:\Artimus>dir
Volume in drive C has no label.
Volume Serial Number is 1CB0-1E6D
Directory of C:\Artimus
01/05/2004 08:31a <DIR> .
01/05/2004 08:31a <DIR> ..
01/05/2004 08:31a 4,315,758 appfuse-1.2-bin.zip
11/30/2003 04:01p 2,931 appfuse.sql
12/20/2003 04:47p 4,275,886 appfuse.war
12/20/2003 04:46p 6,882 appfuse.xml
01/05/2004 08:31a <DIR> docs
05/28/2003 11:37p 564 LICENSE.txt
12/20/2003 04:49p 3,059 README.txt
12/20/2003 04:46p 851 WHATSNEW.txt
7 File(s) 8,605,931 bytes
3 Dir(s) 23,079,976,960 bytes free
3)connect to mysql as root/mysql
C:\Artimus>mysql -u root mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 15 to server version: 4.0.17-max-debug
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
4)execute the mySQL DB creation utility
mysql> source appfuse.sql
Query OK, 1 row affected (0.02 sec)
Query OK, 0 rows affected (0.04 sec)
Query OK, 0 rows affected (0.00 sec)
Database changed
Query OK, 0 rows affected (0.07 sec)
Query OK, 1 row affected (0.01 sec)
Query OK, 1 row affected (0.00 sec)
Query OK, 0 rows affected (0.05 sec)
Query OK, 1 row affected (0.01 sec)
Query OK, 1 row affected (0.00 sec)
Query OK, 0 rows affected (0.05 sec)
Query OK, 1 row affected (0.00 sec)
Query OK, 1 row affected (0.00 sec)
mysql>
this Should get you started..be sure to read readme,.txt that comes with
artimus!
Let me know when you have gotten this far..
-Martin
----- Original Message -----
From: "Kelly Goedert" <ke...@nexxera.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Monday, January 05, 2004 8:28 AM
Subject: artimus 1.1
> Hello,
>
> this may be a bit off topic but there it goes: how do I deploy the
> artimus example application? What kind of database structure do I have
> to create?
>
> Kelly.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org