The web site says to use 'mvn build-all' .
http://struts.apache.org/acquiring.html#Source_Code
Using build-all gives me the following error message, but using 'mvn install'
builds everything. I am not a maven expert, but should the web site be updated?
[ERROR] BUILD FAILURE
[INFO]
I think it purely depends on your requirement. But why do you want an
InputStream as a class variable. I think that is very costly resource and you
are blocking a resource.Others i think you can use it based on your
requirement. For iteratorsif u declare it as class level variables if the
under
Hi try this following code
Try this code i think it will work for ur logic.
Regards,
Shyam Kishore Alapati
-Original message-
From:
I am designing a new class and wondering what class are a good candidates for
the class attribute. I know String, Date, Integer, int, fload, boolean, Boolean
all are good for instance variables, but classes/interfaces like Map,
InputStream, Iterator are also good instance variable cadidate? Why?
On 1/10/06, Chan, Jim <[EMAIL PROTECTED]> wrote:
>
> - I am taking a good approach to refactoring the existing webapp?
You might be using a little more than absolutely necessary. It
should only be *required* if you are inside a JSF component like
or (or inside a ), where you have
intermixed c
On 1/10/06, Angel Navarro <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have to take a difficult decision.
>
> I have to develop a new web application and I think that I have to use
> JSF,
> but I also think that I have use Struts as Controller.
For the purposes of this reply, I'm going to assume by y
> By the way, when you say the site 'only uses JSP' do you mean no Struts
> or other framework is involved? In other words just JSP submitting to a
> servlet and then redirecting/forwarding to another JSP?
No framework at all - sometimes a Java class redirects and sometimes a JSP
redirects.
I
>Actually you bring up one of the reasons I'm not in love JSF at the
>moment. I know most people like the idea of using pre-built or custom
>renderers and get all googly eyed over the nice things you can get
>out-of-the-box from MyFaces or Oracle ADF, but I guess I'm still
>old-school and like
Hi,
I have to take a difficult decision.
I have to develop a new web application and I think that I have to use JSF,
but I also think that I have use Struts as Controller.
The web application that I have to develop it's a medium, big application.
The two alternatives are Shale or Struts-faces,
Chan, Jim wrote the following on 1/10/2006 5:35 PM:
I am refactoring my company's JSP website because the code uses only JSP to
control navigation. You can imagine its pretty ugly. Anyway, I decided to
use JSF and possibly move to Shale once I've gained a handle on the
framework. I successfull
>From: "Chan, Jim" <[EMAIL PROTECTED]>
>
> Anyone who tried to refactor JSP to JSF will know that it takes some work to
> adapt the existing html/JSP code to utilize the JSF tags. Because I'm under
> time constraints, I've really only used JSF tags for controls that need to
> be bound the backi
On 1/10/06, Chan, Jim <[EMAIL PROTECTED]> wrote:
>
> I am refactoring my company's JSP website because the code uses
> only JSP to control navigation. You can imagine its pretty ugly.
No, I can't.
> Anyone who tried to refactor JSP to JSF will know that it takes some work to
> adapt the existing
Thank you for your reply Rick.
I found the problem after 5 hrs of investigation. I integrated a new layout
my designer made and somehow the following got stuck in the header:
I am not sure why this caused a problem or why it only happened on one of
the many, many forms in the application.
If
I am refactoring my company's JSP website because the code uses only JSP to
control navigation. You can imagine its pretty ugly. Anyway, I decided to
use JSF and possibly move to Shale once I've gained a handle on the
framework. I successfully deployed some of the pages using MyFaces because
it
View the generated HTML source code and paste it somewhere such as:
http://www.pastehere.com/CreatePaste.aspx
And then give us the link to the paste above.
Jason Long wrote the following on 1/10/2006 4:11 PM:
I have a problem with using a collection and . I do this in
several places in my app
Thanks. That was veru helpful, I got my problem solved..
-Original Message-
From: Srinivas Jadcharla [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 10, 2006 3:21 PM
To: Struts Users Mailing List
Subject: Re: How to use logic iterate...
Shilpa,
Look at the lessons By Rick
http://ww
I have a problem with using a collection and . I do this in
several places in my application and I cannot determine why this has stopped
working in IE only and this form only. Here is a sample of the code:
The problem is with the text field. This wa
I have a problem with using a collection and . I do this in
several places in my application and I cannot determine why this has stopped
working in IE only and this form only. Here is a sample of the code:
The problem is with the text field. This wa
Srinivas Jadcharla wrote the following on 1/10/2006 3:21 PM:
Shilpa,
Look at the lessons By Rick
http://www.reumann.net/struts/main.do
You'll find the answer.Thanks Rick for your lessons.
You're welcome, but I suggest if you want to get a jump on the more
up-to-date stuff you use the upda
Shilpa,
Look at the lessons By Rick
http://www.reumann.net/struts/main.do
You'll find the answer.Thanks Rick for your lessons.
On 1/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Thanks, But I have a different problem..
> I have an ArrayList which has dmaMarket Objects... dmaMarket
Thanks, But I have a different problem..
I have an ArrayList which has dmaMarket Objects... dmaMarket has getters
and setters...like getCountry etc.,
I have to loop through the arrayList and get the dmaMarket object and
display the attributes like country etc.
But the problem is I have to set the
On 1/10/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:
>
> >I wouldn't be averse to using Commons Logging here, but perhaps it would
> be
> >a little simpler to just write to System.out or System.err, with a
> system
> >property to control the logging levels actually output?
> >
> >Craig
>
> Fair eno
>I wouldn't be averse to using Commons Logging here, but perhaps it would be
>a little simpler to just write to System.out or System.err, with a system
>property to control the logging levels actually output?
>
>Craig
Fair enough :) I can see piping log(String, Throwable) to System.err, but I
do
pc leung wrote the following on 1/10/2006 9:47 AM:
The following is the dropdown box in jsp
How to get the value selected in action class ?
Assuming UserForm is a standard ActionForm:
UserForm userForm = (UserForm )form;
String engName = userForm.
I would think it should be but I'm unsure exactly how.
I have some ideas of things I would try but I don't want to lead you down a
path I'm unsure of.
Shawn
-Original Message-
From: Daniel Las [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 10, 2006 11:17 AM
To: Struts Users Mailing Lis
On 1/10/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> > is it to host sample applications that work on struts?
>
> No, though we have discussed hosting example apps on a new Apache
> server that we now have access to.
That is... yes, 'Apps' is a sub-project containing example
applications, but the
If you have a getDmaMarket and setDmaMarket property on your form, I
would do the following:
This will display your data, but it looks like you are trying to edit
the list by displaying it in tags. You may want to rethink
that, and use another page to edit each item individually.
Just my
On 1/10/06, Riyaz Mansoor <[EMAIL PROTECTED]> wrote:
> was wondering whats the purpose of the links "struts applications",
> "struts sandbox" are?
>
> the pages they point to are virtually empty. anything coming in (for
> those pages) ? what's the scoop on this?
Both Apps and Sandbox are themselv
was wondering whats the purpose of the links "struts applications",
"struts sandbox" are?
the pages they point to are virtually empty. anything coming in (for
those pages) ? what's the scoop on this?
is it to host sample applications that work on struts?
riyaz
---
Hi
Is it possible to add struts module using Java code, without adding
initial parameters into web.xml ? I need to write application using
modules without web.xml modifications.
Regards
--
Daniel Łaś <[EMAIL PROTECTED]>
e-direct Polska sp. z o.o.
ul. 1-go Maja 9
45-068 Opole
tel. +48 77 44 1
Yes, the URI for the JSTL changed between version 1.0.x and 1.1.x. Note
that 1.0.x is used in JSP 1.2 containers, and 1.1.x in JSP 2.0
containers. They're not interchangeable.
> -Original Message-
> From: Garner, Shawn [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 10, 2006 8:55 AM
I figured this out. The uri didn't match what was in the JAR.
Did the URI change from 1.0 to 1.2 for jstl?
Just wondering because I used the uri out of the IBM tutorial.
I think I'm going to try to get it to resolve one of our custom tld files
now. It seems to not have uri in it though (I don't
Hi All,
I have the below logic , and I need to loop thriugh the Dmamarket Array
using struts and
Set the form attribute..
My form has dmaMarket[] as an attribute.
<%
DmaMarket[] dmaArray =
(DmaMarket[])session.getAttribute(Constants.ATTRIBUTE_EU_DMAMARKET_LIST)
;
On 1/10/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I've a form with a text input field and two buttons : one
> to "add new user" and one for "search"
>
> My porblem is when I type [Return] from input field, the form is
> submited with some strange image button informations :
> -
Ciao Manos!
Thank you for your answer!
Nice greetings Starky
> Emmanouil Batsis wrote:
>
> > [...] the browser upon stibling on an img tag.
>
>
> Sorry, i stumbled while typing this ;-)
>
> > Manos
>
>
>
> -
> To unsubscribe,
Thanks for your advices,
well I hope I can handle this problem.
Starky
> That's *WAY* too much data in session. You should always strive to keep
> session as small as possible, I believe the recommendation generally is
> <32K. If you ever had to move to (or are already in?) a distributed
Sorry to repost this, but I wanted to know if I was the only one facing this
difficulty and if it's the case how to avoid it. Any thougts?
On 1/8/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
>
> Just a small correction below :
>
> On 1/8/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
> > I a
We use Robohelp here:
http://www.macromedia.com/software/robohelp/?promoid=BINZ
It can spit out an HTML version of the documentation which even includes
Javascript-based searching and index page, and the result is similar to
looking at a CHM. Not open-source, and a bit pricey, but gives excellen
Emmanouil Batsis wrote:
[...] the browser upon stibling on an img tag.
Sorry, i stumbled while typing this ;-)
Manos
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
starki78 wrote:
Hi we are developing an application with
Struts and I've a Action that creates
35 Charts writes it to the Session and displays it
in a JSP. It runs on Tomcat 4.1.
Most of the time it is fast but sometimes it takes significantly
more time. I've tested all the methods, the session-
That's *WAY* too much data in session. You should always strive to keep
session as small as possible, I believe the recommendation generally is
<32K. If you ever had to move to (or are already in?) a distributed
environment, 1.3Mb in session would absolutely kill you. Even on a single
box, becau
A coworker is looking for a framework like "JavaHelp" for use with a
Struts 1.2 webapp. (Apparently JavaHelp has a webapp component, but
it can't be accessed with an https:// URL, which is required.)
Putting 'java help' into Google isn't very useful, so I thought I'd
call on the collective wisdom
Hi we are developing an application with
Struts and I've a Action that creates
35 Charts writes it to the Session and displays it
in a JSP. It runs on Tomcat 4.1.
Most of the time it is fast but sometimes it takes significantly
more time. I've tested all the methods, the session-size can
reach a ma
Dakota Jack wrote:
Just so you know, Alexandre Poitras, and others with similar tendencies,
calling someone a "troll" in a professional setting having to do with their
occupation almost certainly is an actionable per se libel with presumed
damages and linking the person doing the libel to any an
The following is the dropdown box in jsp
How to get the value selected in action class ?
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
Thank you for reading and attention.
I have written an error handler which simplies the error message.
When the error handler is removed from struts-config.xml
I find error comes from another action class.
Thank you very much indeed.
On 1/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> pc
JEEVANATHAM P. /BPCRP/INFOTECH/VASHI wrote:
For my project we are doing lot of database actions such as inert, update,
delete and read.
For that which java frameworks is best to use?
There is no such thing as "the best to use". It all depends on your
project requirements and know how. Diffe
you just defined your bean here.
scope(session or request) should be given in action mapping.
Cheers,
Chand.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 09 January 2006 16:04
To: user@struts.apache.org
Subject: Bean scope...
Hi All,
I keep getting this err
On 1/9/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:
>
> Will it be acceptable if all 3 MockServletContext.log methods wrap a
> static commons logging method call?
I wouldn't be averse to using Commons Logging here, but perhaps it would be
a little simpler to just write to System.out or System.err
I use iBATIS because it is the least intrusive of the two (among other things).
It is also MUCH simpler to integrate into an existing
database/project, because it works around your database structure
instead of making you change your database structure to meet the needs
of your persistence mechani
Hi,
I suggest you take a look at both - they're both great frameworks that
ease development and you will find tons of people that will tell you
that Hibernate is better and just as many that are claiming the opposite.
Basically it boils down to this: Do you want to
a) write the SQL for the CR
And why is that ?
On 1/10/06, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I would suggest you begin with iBATIS.
>
> http://ibatis.apache.org
>
>
>
> Thanks and Regards,
> S.Ramkumar
> Associate Consultant - Investment Banking
> PrimeSourcing(tm) "Add Value Reduce Risk"
> i-flex s
The trick is to point the "input" variable in your struts-config.xml to the
action class that "generated" the JSP page rather than the JSP page itself.
On failure of validation, you should redirect it to the "preparation" action
class for the form that solicits information for you - the action
I got the solution for the problem.
For anyone who will get into the same problem here the snippet about the
solution:
Before (I didn't use the reference of the submitted ActionForm):
DynamicForm dynamicForm = DynamicFormPopulate.createDynamicForm(sqlname,
paramArray);
New:
DynamicForm
Hi,
I feel that the approach given by Peter would be fine.
You might be populating the drop down by iterating a collection fetched from
Database. When you submit the form only the selected value is submitted from
the drop down not the entire collection (That is why you do not get the
collection b
After defining a form-bean for an ActionForm
http://www.husted.com/poe/
On 1/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi All,
> I keep getting this error , I have defined this bean in config file...
> Also...
> -Cannot find bean StatusSearchActionForm in any scope
>
>
>
>
Hi,
I would suggest that manually call validate and use Request Scope
Not many people seem to be using this approach, yet I have found it to be
the best overall solution.
This is how it works:
First of all make sure you do not have validate=true set in your action
mapping.You should call form.v
I had the same problem, and besides setting the form to session scope
you could do the following: Instead of storing your list of languages in
an ArrayList, store them in an array of Strings. Then on your jsp you
should be able to iterate over this list and sent all languages via the
html:hidden ta
Hello,
I've a form with a text input field and two buttons : one
to "add new user" and one for "search"
My porblem is when I type [Return] from input field, the form is
submited with some strange image button informations :
- on IE, non image button (x,y position) is submited, so I can use
Dear friends,
I have a Add user jsp page and in my jsp page the user can select his
language from a dropdown menu. I am generating it from the ArrayList
property in UserForm.
tabindex="8">
property="languages" label="name" value="code"/>
pc leung ha scritto:
>
>
>
>public class UserSystemForm extends ActionForm implements Serializable {
>
> // - Instance
Variables
>private String systemHref;
>private String messageKey;
>private String method;
Hi,
I would suggest you begin with iBATIS.
http://ibatis.apache.org
Thanks and Regards,
S.Ramkumar
Associate Consultant - Investment Banking
PrimeSourcing(tm) "Add Value Reduce Risk"
i-flex solutions limited, Bangalore
Ph:+ 91-80- 22086000/57596000- extn 6873
E-Mail:[EMAIL PROTECTED]
-O
Hi there
I've got problem using map-backed ActionForm.
The following snippet is the html output:
Textidentifer
[todo]:8341=ablaufdatum
Text
resultSet.getString("sprach_bezeichnung")
public class UserSystemForm extends ActionForm implements Serializable {
// - Instance
Variables
private String systemHref;
private String messageKey;
private String method;
private Strin
64 matches
Mail list logo