Re: [OT] Re: Newbie question about Struts HelloWorld example

2008-09-14 Thread UseTheFork
Hi Dave, The solution was in fact very simple (http://www.nabble.com/Issue-with-deployment-on-Glassfish-td19463423.html#a19464284). It was stupid from me to search for jars on the app server, because they are packaged in containers. I knew it, but I forgot it in my stress... Thanks for your hel

[OT] Re: Newbie question about Struts HelloWorld example

2008-09-12 Thread Dave Newton
--- On Fri, 9/12/08, UseTheFork wrote: > I have managed to deploy another project two days > ago without any issue. The JSP pages worked fine. That doesn't require any additional web app libraries. > It could be a project configuration issue, I agree, > but I have checked that and I don't know w

Re: Newbie question about Struts HelloWorld example

2008-09-12 Thread UseTheFork
Dave, I have managed to deploy another project two days ago without any issue. The JSP pages worked fine. This time, I am trying to use Struts. It could be a project configuration issue, I agree, but I have checked that and I don't know what is wrong... I am in newbie exploration mode here !!!

Re: Newbie question about Struts HelloWorld example

2008-09-12 Thread Dave Newton
--- On Fri, 9/12/08, UseTheFork wrote: > I asked: >> Is it being deployed? > I can't find the common jar in the App server installation directory. > I will open a ticket with Netbeans Nabble. This is [most likely] not a NetBeans issue, either, it's a project configuration and/or deployment issue

Re: Newbie question about Struts HelloWorld example

2008-09-12 Thread UseTheFork
> Is it being deployed? I can't find the common jar in the App server installation directory. I will open a ticket with Netbeans Nabble. Thank you for your help, J. -- View this message in context: http://www.nabble.com/Newbie-question-about-Struts-HelloWorld-example-tp19451760p19463173.html

Re: Newbie question about Struts HelloWorld example

2008-09-12 Thread Dave Newton
--- On Fri, 9/12/08, UseTheFork wrote: > I have a library called commons-loggin in my project: Is it being deployed? > I had to fiddle with the Web Pages directory structure in > the project and create a Classes sub-directory to match the > requirements mentioned on > http://struts.apache.org/2.

Re: Newbie question about Struts HelloWorld example

2008-09-12 Thread UseTheFork
Hi Dave, I have a library called commons-loggin in my project: http://www.nabble.com/file/p19462329/Commons-loggin.png I had to fiddle with the Web Pages directory structure in the project and create a Classes sub-directory to match the requirements mentioned on http://struts.apache.org/2.x/d

Re: Newbie question about Struts HelloWorld example

2008-09-12 Thread Dave Newton
--- On Fri, 9/12/08, UseTheFork wrote: > You will notice in my struts.xml that devMode has been set > to true. However, I still don't get anything new in my > Glassfish Logs.> BUT, I have noticed some issues when > I start Glassfish: > > http://www.nabble.com/file/p19457690/Log%2BList.png Loo

Re: Newbie question about Struts HelloWorld example

2008-09-12 Thread UseTheFork
Here is my struts.xml: http://struts.apache.org/dtds/struts-2.0.dtd";> /HelloWorld.jsp and my web.xml: http://java.sun.com/dtd/web-app_2_3.dtd";> My Application struts2 org.apache.struts2.dispatcher.FilterDispatcher

Re: Newbie question about Struts HelloWorld example

2008-09-12 Thread Jeromy Evans
UseTheFork wrote: When I refresh my browser with http://localhost:8080/tutorial/HelloWorld.action, I do not get any WARNING or SEVERE kind of messages in the Glassfish Logs. I only get more of the above. I have also checked for CONFIG, FINE, FINER, FINEST messages, but I don't get any. The Glass

Re: Newbie question about Struts HelloWorld example

2008-09-12 Thread Dave Newton
--- On Fri, 9/12/08, UseTheFork wrote: > i) I don't know what devMode is, can you explain? http://struts.apache.org/2.x/docs/devmode.html Without any more information it's essentially impossible to help. You'd be better served by posting your web.xml and struts.xml files here; I'm assuming they

Re: Newbie question about Struts HelloWorld example

2008-09-12 Thread UseTheFork
Hi Dave, > Is there anything in the logs? Do you have devMode turned on? i) I don't know what devMode is, can you explain? ii) I have noticed that I did not create my web.xml and struts.xml files properly. I have corrected that problem, compiled, undeployed and redeployed and I still have the s

Re: Newbie question about Struts HelloWorld example

2008-09-12 Thread Dave Newton
--- On Fri, 9/12/08, UseTheFork wrote: > I have no idea why it does not work. Can anybody help? Give > tips? Pointers? Could it be a config issue? ... Sure, it could be a config issue. Is there anything in the logs? Do you have devMode turned on? Dave -

Re: newbie question: How can I make a Struts Project with multiple modules?

2008-08-04 Thread Antonio Petrelli
2008/8/4 ryan webb <[EMAIL PROTECTED]>: > Struts Version = 1.2.9 > So creating a multiple module depends on struts version? Surely it depends on being a Struts 1 project or a Struts 2 one. In fact I think that the concept of "module" is not used inside Struts 2, but I wanted to be sure that you we

Re: newbie question: How can I make a Struts Project with multiple modules?

2008-08-04 Thread ryan webb
Struts Version = 1.2.9 So creating a multiple module depends on struts version? On 8/4/08, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > > Version of Struts? > > 2008/8/4 ryan webb <[EMAIL PROTECTED]>: > > How can I make a Struts Project with multiple modules? > > > > -- > > warmest regards, > >

Re: newbie question: How can I make a Struts Project with multiple modules?

2008-08-03 Thread Antonio Petrelli
Version of Struts? 2008/8/4 ryan webb <[EMAIL PROTECTED]>: > How can I make a Struts Project with multiple modules? > > -- > warmest regards, > Ryan Webb - Philippines > > email: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMA

Re: Newbie question

2008-03-19 Thread stanlick
I use DailyRazor and have had great experience. On Tue, Mar 18, 2008 at 11:42 AM, maitre <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm trying to find a decent hosting company that supports STRUTS 2. Are > there any recommendations? > > Thanks, > > Ed > -- > View this message in context: > http://www

RE: Newbie question

2008-03-18 Thread maitre
> > MG > -Original Message- > From: maitre [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 18, 2008 1:42 PM > To: user@struts.apache.org > Subject: Re: Newbie question > > > I don't want to build the framework from scratch, I just want to use the

RE: Newbie question

2008-03-18 Thread Griffith, Michael *
, 2008 1:42 PM To: user@struts.apache.org Subject: Re: Newbie question I don't want to build the framework from scratch, I just want to use the distribution package and customize it if that's possible. Ed Alex Choi wrote: > > A Java Web Application that uses Apache Struts 2

Re: Newbie question

2008-03-18 Thread maitre
hael * wrote: >> > >> > Agreed. Look for a provider that offers the correct JDK and API specs. >> > >> > MG >> > >> > -Original Message- >> > From: Alex Choi [mailto:[EMAIL PROTECTED] >> > Sent: Tuesday, March 18, 2008

RE: Newbie question

2008-03-18 Thread Griffith, Michael *
Ed, Additional information here: http://struts.apache.org/primer.html MG -Original Message- From: Alex Choi [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2008 1:27 PM To: Struts Users Mailing List Subject: Re: Newbie question A Java Web Application that uses Apache Struts 2

Re: Newbie question

2008-03-18 Thread Alex Choi
> Griffith, Michael * wrote: > > > > Agreed. Look for a provider that offers the correct JDK and API specs. > > > > MG > > > > -Original Message- > > From: Alex Choi [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, March 18, 2008 12:55 PM

RE: Newbie question

2008-03-18 Thread maitre
i [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 18, 2008 12:55 PM > To: Struts Users Mailing List > Subject: Re: Newbie question > > I think you need to rephrase your question. Apache Struts 2 is a > specific > Java Web Application framework technology and Java Web Application i

RE: Newbie question

2008-03-18 Thread Griffith, Michael *
Agreed. Look for a provider that offers the correct JDK and API specs. MG -Original Message- From: Alex Choi [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2008 12:55 PM To: Struts Users Mailing List Subject: Re: Newbie question I think you need to rephrase your question. Apache

Re: Newbie question

2008-03-18 Thread Alex Choi
I think you need to rephrase your question. Apache Struts 2 is a specific Java Web Application framework technology and Java Web Application is the more general and generic term I think you meant to say. In terms of Web Hosting, you would be interested in Web Hosting Providers that allows deployme

Re: Newbie question

2008-03-18 Thread Mike Jennings
I like KGBInternet.com. They are affordable and will provide you with the services that you need. maitre wrote: Hi, I'm trying to find a decent hosting company that supports STRUTS 2. Are there any recommendations? Thanks, Ed --

Re: Newbie question about parameters for an Action

2007-09-24 Thread Phil404
I think I found the source of this issue. The struts-plugin.xml for the JFreeChart plugin is as follows: 150 200 That is, it does not extend struts-default. Therefore no interc

Re: Newbie question about parameters for an Action

2007-09-23 Thread Oleg Mikheev
Phil404 wrote: I don't think this is the problem since if I view source the generate code says: <--img src='/surveytortoise-main/piechart.action?visual=10&auditory=15&kinesthetic=20' /> So, the code seems to be correct. Why are these parameters not being set by Struts2? Please help! Does an

Re: Newbie question about parameters for an Action

2007-09-23 Thread Phil404
I don't think this is the problem since if I view source the generate code says: <--img src='/surveytortoise-main/piechart.action?visual=10&auditory=15&kinesthetic=20' /> So, the code seems to be correct. Why are these parameters not being set by Struts2? Please help! Phil mihel wrote: > >

Re: Newbie question about parameters for an Action

2007-09-23 Thread Oleg Mikheev
Phil404 wrote: I presume you mean org.apache.struts2.servlet.ParameterAware. If I implement setParameters(), it is not called before the execute() method. I'm still in the dark. I feel like I'm missing something really simple. Try this: http://www.nabble.com/-S2--Using-%3Cs:url%3E-t3884129.h

Re: Newbie question about parameters for an Action

2007-09-23 Thread Phil404
I presume you mean org.apache.struts2.servlet.ParameterAware. If I implement setParameters(), it is not called before the execute() method. I'm still in the dark. I feel like I'm missing something really simple. Phil newton.dave wrote: > > Does implementing ParameterAware work? > > --- Phi

Re: Newbie question about parameters for an Action

2007-09-23 Thread Dave Newton
Does implementing ParameterAware work? --- Phil404 <[EMAIL PROTECTED]> wrote: > > That does not seem to work either. The String > values are nulls. > > Phil > > > Richard Yee wrote: > > > > You might try changing the attributes and setters > to Strings and see if > > that works. > > > > -

Re: Newbie question about parameters for an Action

2007-09-23 Thread Phil404
That does not seem to work either. The String values are nulls. Phil Richard Yee wrote: > > You might try changing the attributes and setters to Strings and see if > that works. > > -Richard > > > Phil404 wrote: >> I would like to draw a Pie Chart using JFreeChart. I call the action >> f

Re: Newbie question about parameters for an Action

2007-09-23 Thread Richard Yee
You might try changing the attributes and setters to Strings and see if that works. -Richard Phil404 wrote: I would like to draw a Pie Chart using JFreeChart. I call the action from a JSP like so: 10 15 20 ${chartUrl} The action is very simple: pub

Re: Newbie Question?

2007-08-28 Thread Nuwan Chandrasoma
Hi, You can use window.open() if you like to open this page in a popup window, or else use to open this page. Thanks, Nuwan Cenk wrote: Hello, I want to open another page when user click on a link. Lets say, i have a link "Open Page" on main.jsp and i want to open child.jsp when user cli

Re: Newbie question

2007-03-27 Thread Dave Newton
--- VJ22 <[EMAIL PROTECTED]> wrote: > Can anyone tell me how do I setup the AJAX theme in > my struts pages ? http://struts.apache.org/2.x/docs/ajax-theme.html http://struts.apache.org/2.x/docs/ajax-tags.html d. __

Re: newbie question...struts2, spring and jdbc

2007-01-31 Thread Joe Germuska
On 1/31/07, Cecilia Castillo <[EMAIL PROTECTED]> wrote: I am new to Struts, Struts2, and Spring. (And maybe know too much about jdbc.) I have written my application with Struts2 and am only using Spring to manage my database connections. I have defined my oracle database as a JNDI resource in

Re: newbie question...struts2, spring and jdbc

2007-01-31 Thread Pierre Thibaudeau
Cecilia, (I know nothing about Struts2, but I don't think that's essential to your query!) Every one of my Spring DAO beans contains a method along this one: public static ThingDAO getInstance() { return (ThingDAO) SpringConfig.getSpringContext ().getBean("ThingDAO"); } (The Strin

RE: Newbie question about using beans in html:link tags

2006-11-30 Thread Asthana, Rahul
: Struts Users Mailing List Subject: Re: Newbie question about using beans in html:link tags My search returns multiple rows (as seen in the for loop).. How can I possibly have a session when I dont know what link the user is going to click? On 11/29/06, Asthana, Rahul <[EMAIL PROTECTED]>

Re: Newbie question about using beans in html:link tags

2006-11-30 Thread priya
My search returns multiple rows (as seen in the for loop).. How can I possibly have a session when I dont know what link the user is going to click? On 11/29/06, Asthana, Rahul <[EMAIL PROTECTED]> wrote: Priya, As a short term solution you can create a new tag,as in myLibrary:link which derives

RE: Newbie question about using beans in html:link tags

2006-11-29 Thread Asthana, Rahul
passing it through URL encoding. Cheers Rahul -Original Message- From: priya [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 29, 2006 4:23 PM To: Struts Users Mailing List Subject: Re: Newbie question about using beans in html:link tags Hi Rahul, I was trying to reduce the amount of

Re: Newbie question about using beans in html:link tags

2006-11-29 Thread priya
Hi Rahul, I was trying to reduce the amount of code if its possible (?) since the action would display a jsp page with account information and then the user would review the information & submit another action to finally create the account. Since I already have all the information in a bean I wa

RE: Newbie question about using beans in html:link tags

2006-11-29 Thread Asthana, Rahul
Would you mind using jstl? Caveat: I havent used it myself.But I remember having come across code like that. AFAIK, html:link doesnt support passing multiple params except by a Map. -Original Message- From: priya [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 29, 2006 3:25 PM To:

Re: Newbie question - JSP text box formatting

2006-07-07 Thread Simons Kevin
Sorry if I'm wrong, but can't you format numbers using CSS3? - Original Message - From: "Pillay, Kiren KN" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Struts Users Mailing List" Sent: Friday, July 07, 2006 11:17 AM Subject: RE: Newbie que

RE: Newbie question - JSP text box formatting

2006-07-07 Thread Pillay, Kiren KN
Hi Albi, I actually need to format and tag's values, where the values are pulled out of a database. Is this possible? Regards -Original Message- From: Albrecht Leiprecht [mailto:[EMAIL PROTECTED] Sent: 06 July 2006 06:47 PM To: 'Struts Users Mailing List' Subject: RE:

RE: Newbie question - JSP text box formatting

2006-07-06 Thread Albrecht Leiprecht
You could try something like this <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"; %>  EUR Rgds albi -Original Message- From: Pillay, Kiren KN [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 4:33 PM To: user@struts.apache.org Subject: Newbie question - JSP text box f

RE: newbie question on indexed properties and validation

2006-06-23 Thread Givler, Eric
Thanks, this is very much appreciated. Is this something that is going to make it into a Struts Base release? -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 11:15 AM To: Struts Users Mailing List Subject: Re: newbie question on indexed

Re: newbie question on indexed properties and validation

2006-06-22 Thread Niall Pemberton
You can do this: http://www.niallp.pwp.blueyonder.co.uk/strutsvalidatorextends.html Niall On 6/15/06, Givler, Eric <[EMAIL PROTECTED]> wrote: I was following this article (MS Powerpoint presentation by James Turner) here: http://www.strutskickstart.com/IndexedPropertiesandValidation.ppt When,

RE: newbie question on indexed properties and validation

2006-06-16 Thread Givler, Eric
lto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 8:32 AM To: Struts Users Mailing List Subject: RE: newbie question on indexed properties and validation I can provide a zip of the workspace I was doing for this if that would help. I just can't seem to get the multiple errors. Can th

RE: newbie question on indexed properties and validation

2006-06-16 Thread Givler, Eric
I can provide a zip of the workspace I was doing for this if that would help. I just can't seem to get the multiple errors. Can the html:text tag determine that a row's value is wrong in a multi-record form bean and color it? How would it know if it's only getting back one error as opposed to

RE: newbie question about xhtml, html:form, submit button

2006-05-03 Thread David Byron
On Wednesday, May 3, Nathan Coast wrote: > You need to change your javascript to > document.getElementById('tryItForm').submit(); That does it. Thanks for your help. -DB - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: newbie question about xhtml, html:form, submit button

2006-05-03 Thread Nathan Coast
without struts inserts the name="tryItForm" attribute for the form. With struts inserts the id="tryItForm" attribute. You need to change your javascript to document.getElementById('tryItForm').submit(); David Byron wrote: I've inherited some struts code and I have a question about the ht

RE: Newbie Question : Session Management without cookies

2005-05-30 Thread Andy
May 2005 20:46 >To: Struts Users Mailing List >Subject: Re: Newbie Question : Session Management without cookies > > >Mark- >Have you looked at mod_rewrite? >http://httpd.apache.org/docs-2.0/misc/rewriteguide.html >Viel Gluck, >Martin- > >- Original Message

Re: Newbie Question : Session Management without cookies

2005-05-29 Thread Martin Gainty
Mark- Have you looked at mod_rewrite? http://httpd.apache.org/docs-2.0/misc/rewriteguide.html Viel Gluck, Martin- - Original Message - From: "Mark Breitner" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, May 29, 2005 1:52 PM Subject: Re:

Re: Newbie Question : Session Management without cookies

2005-05-29 Thread Mark Breitner
che Nachricht --- > Von: Dave Newton <[EMAIL PROTECTED]> > An: Struts Users Mailing List > Betreff: Re: Newbie Question : Session Management without cookies > Datum: Fri, 27 May 2005 11:12:59 -0400 > > Nils Liebelt wrote: > > >Have a look at J2ee Specs firs

Re: Newbie Question : Session Management without cookies

2005-05-27 Thread Dave Newton
Nils Liebelt wrote: Have a look at J2ee Specs first. So you get an idea of the session concept. -Original Message- From: Mark Breitner [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 4:34 PM Subject: Newbie Question : Session Management without cookies I just started with str

RE: Newbie Question : Session Management without cookies

2005-05-27 Thread Nils Liebelt
Hi Mark, Have a look at J2ee Specs first. So you get an idea of the session concept. Regards, Nils -Original Message- From: Mark Breitner [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 4:34 PM To: user@struts.apache.org Subject: Newbie Question : Session Management without cooki

RE: Newbie Question : Session Management without cookies

2005-05-27 Thread Nils Liebelt
Hi Mark, Have a look at J2ee Specs first. So you get an idea of the session concept. Regards, Nils -Original Message- From: Mark Breitner [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 4:34 PM To: user@struts.apache.org Subject: Newbie Question : Session Management without cooki

RE: (Newbie question) tiles:getAsString error attribute not found

2005-04-06 Thread Neil Aggarwal
://newsletter.JAMMConsulting.com > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 06, 2005 1:44 AM > To: user@struts.apache.org > Subject: Re: (Newbie question) tiles:getAsString error > attribute not found > > > In Tiles, you c

Re: (Newbie question) tiles:getAsString error attribute not found

2005-04-05 Thread brenmcguire
In Tiles, you can put attributes only into layout pages. In short terms you should modify your tiles-defs.xml this way: Ciao Antonio Petrelli Neil Aggarwal wrote: >Hello: > >I am a newbie to struts and am trying to get a handle on >tiles:getAsString

Re: newbie question

2005-02-07 Thread Soaring Eagle
OK Looks like I found my problem... I was deploying the WAR file as a part of an ear file. In this case, my ActionServlet was unable to find the struts.jar classes from the WAR's WEB-INF/lib directory. When I added the struts.jar to the ear file and added a "Class-Path" attribute to my WAR file

Re: newbie question

2005-02-07 Thread Soaring Eagle
Hmm... I doubt if the xml is not well-formed or invalid. However, I got the point. Looks like I will have to give better fodder (than what I did) to this list. Let me try to get this or other apps working or get better error descriptions. And no, I do not believe that Struts will lie - i.e. if the

Re: newbie question

2005-02-05 Thread Curtis Taylor
I agree with Christian. I've found an XML validation website/tool which is invaluable when you're brain-dead & still required to write code: http://www.stg.brown.edu/service/xmlvalid/ HTH, Curtis Christian Bollmeyer wrote: On Friday 04 February 2005 22:53, Soaring Eagle wrote: Check the syntax of

Re: newbie question

2005-02-05 Thread Christian Bollmeyer
On Friday 04 February 2005 22:53, Soaring Eagle wrote: Check the syntax of your struts-config.xml. The one you posted is heavily mixed up. In fact it's not even well-formed XML, with odd nestings, closing tags without a start tag, illegal attributes and the like. I'd recommend to drop the current

RE: newbie question

2005-02-04 Thread Sab
Check your xmlparser jar files you are using in your path. -Original Message- From: Soaring Eagle [mailto:[EMAIL PROTECTED] Sent: Friday, February 04, 2005 1:53 PM To: user@struts.apache.org Subject: newbie question Hello, I am trying to write my first Struts application. I keep gettin

Re: newbie question

2005-02-04 Thread Erik Weber
Soaring Eagle wrote: Hello, I am trying to write my first Struts application. I keep getting Have you tried getting one of the example applications running first? This way, you can solve environment issues without having to worry about typos and bugs making things more complicated. Erik --

Re: Newbie question: listing files

2004-12-10 Thread Erik Weber
The way to do this is to create a link to an action that reads the bytes in from the file and writes the bytes out to the ServletResponse's OutputStream (unless the files are all, for example, text or HTML files that you can place directly within the server's public document root). So you are n

Re: Newbie question: listing files

2004-12-10 Thread Sunny
Brij Naald wrote: Hi, I want to list all the files in a directory. How do I start this? I assume I have to make an action: The action then creates an array of Strings (so String[]). and puts it in the request (so request.setAttribute("files",stringArray);) Then I have to make t

Re: Newbie question: listing files

2004-12-10 Thread Brij Naald
Thanks for your answer. If the approach i'm trying now doesn't work, I certainly going to try that one. But it almost works. The action gets called, and it puts the right names in the request. What I want to do now is to put in the JSP-page links to a page (viewfile) which shows the file in que

Re: Newbie question: listing files

2004-12-10 Thread Erik Weber
Brij Naald wrote: Hi, I want to list all the files in a directory. How do I start this? I assume I have to make an action: The action then creates an array of Strings (so String[]). and puts it in the request (so request.setAttribute("files",stringArray);) Then I have to make

RE: Newbie question regarding

2004-11-30 Thread David G. Friedman
Marcio, To know the ID of the user, you could change your options line to: That only works if your users collection has a getId method along with your [assumed] getName() method. When you submit it, if you need the name you will probably have to look it up in your Action since you'll only have

RE: newbie question - can't get message to display

2004-11-10 Thread David G. Friedman
Where is your bean:write statement in the html:messages JSP tag? But the real reason is your redirect="true". You save the messages to the request scope but the redirect="true" forces the client to invoke a NEW request (losing all the old messages) to get to the /Logon.do action. Try cha

Re: Newbie Question: how to implement a "Back" button or link ...?

2004-10-13 Thread Erik Weber
There is more than one way to do it. One way to do it on the server side is to track user navigation by storing the (relative) URL of each page view (or some subset of them) as an HttpSession attribute. Then your "back" button could trigger a Struts action that forwards or redirects the user to

Re: newbie Question, creating buttons

2004-09-21 Thread Michael McGrady
Nadia Kunkov wrote: I'm still figuring out how to use struts tags. I'm trying to have three buttons ( add, edit ,delete) with a property called method so that I can use DispatchAction. Here is a snippet of my jsp. When I look at it in the browser I don't see the buttons. What am I doing wrong?

Re: newbie Question, creating buttons

2004-09-21 Thread DGraham
Wiki reference in 5432... "Nadia Kunkov" <[EMAIL PROTECTED]> 09/21/2004 01:54 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To "Struts help (E-mail)" <[EMAIL PROTECTED]> cc Subject newbie Question, creating buttons I'm still figuring

Re: newbie Question, creating buttons

2004-09-21 Thread Matt Bathje
Nadia Kunkov wrote: I'm still figuring out how to use struts tags. I'm trying to have three buttons ( add, edit ,delete) with a property called method so that I can use DispatchAction. Here is a snippet of my jsp. When I look at it in the browser I don't see the buttons. What am I doing wrong?

Re: newbie question - mail reader

2004-08-10 Thread Richard
I mean the mailreader sample that uses pojo, how can i run it and see its codes. thanks Richard wrote: Hi Guys, Im trying to learn struts. I have just downloaded the jakarta-struts-1.2.1-src how do i see its codes and how can i see it running. tia! Richard

Re: newbie question on indexed properties

2004-07-09 Thread jthompson
| | cc: | | Subject: Re: newbie question on indexed properties | >--| You will need to add indexed getters and s

Re: newbie question on indexed properties

2004-07-09 Thread Bill Siggelkow
Rick Reumann wrote: Bill Siggelkow wrote: Okay -- now I am confused -- if I use your approach I get ... javax.servlet.ServletException: Cannot find bean esami in any scope I have to specify the name of the form as the value for the 'name' atrribute of logic:iterate Are you sure you have the itera

Re: newbie question on indexed properties

2004-07-09 Thread Davide Gurgone
Bill Siggelkow wrote: Okay -- now I am confused -- if I use your approach I get ... javax.servlet.ServletException: Cannot find bean esami in any scope Is because you have to declare it on the struts-config.xml file but read below I wrong... I have to specify the name of the form as the value f

Re: newbie question on indexed properties

2004-07-09 Thread Rick Reumann
Bill Siggelkow wrote: Okay -- now I am confused -- if I use your approach I get ... javax.servlet.ServletException: Cannot find bean esami in any scope I have to specify the name of the form as the value for the 'name' atrribute of logic:iterate Are you sure you have the iterate taking place insid

Re: newbie question on indexed properties

2004-07-09 Thread Bill Siggelkow
Okay -- now I am confused -- if I use your approach I get ... javax.servlet.ServletException: Cannot find bean esami in any scope I have to specify the name of the form as the value for the 'name' atrribute of logic:iterate Davide Gurgone wrote: Bill Siggelkow wrote: Davide, Maybe I am doing some

Re: newbie question on indexed properties

2004-07-09 Thread Davide Gurgone
Bill Siggelkow wrote: Davide, Maybe I am doing something wrong but I have had problems getting indexed =true to work for arrays on the form -- it works correctly for arrays of a nested property of form. For example, if I were to use what you suggested I get something like:

Re: newbie question on indexed properties

2004-07-09 Thread Bill Siggelkow
Davide, Maybe I am doing something wrong but I have had problems getting indexed =true to work for arrays on the form -- it works correctly for arrays of a nested property of form. For example, if I were to use what you suggested I get something like: When what I want is

Re: newbie question on indexed properties

2004-07-09 Thread Davide Gurgone
Bill Siggelkow wrote: You will need to add indexed getters and setters -- public String getAnswer(int index); public String setAnswer(int index, String value); ’/> Better :) [CUT] [CUT] it render a property named property[0], property[1], etc

Re: newbie question on indexed properties

2004-07-09 Thread Bill Siggelkow
You will need to add indexed getters and setters -- public String getAnswer(int index); public String setAnswer(int index, String value); ’/> [EMAIL PROTECTED] wrote: I have a form bean with a string array defined as a property, with a corresponding set/get like this: private String[] an

RE: newbie question: form initialization and process,

2004-06-30 Thread Jim Barrows
> -Original Message- > From: Jen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 30, 2004 3:39 PM > To: Struts Users Mailing List > Subject: RE: newbie question: form initialization and process, > > > > > > > > What I want to say is normally S

RE: newbie question: form initialization and process,

2004-06-30 Thread Jen
> > > > What I want to say is normally SubmitFormAction > will > > return a jsp page, but this returned jsp > page(let's > > call it form2.jsp) also needs initialize, so route > > will be: > > > ShowFormAction->form.jsp->SubmitFormAction->ShowForm2Action->f > > or2.jsp->SubmitForm2Action > > so ev

RE: newbie question: form initialization and process,

2004-06-30 Thread Jim Barrows
> -Original Message- > From: Jen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 30, 2004 7:47 AM > To: [EMAIL PROTECTED] > Subject: RE: newbie question: form initialization and process, > > > >> Hi, > >> I am new to Struts and after brows

RE: newbie question: form initialization and process,

2004-06-30 Thread Jen
>> Hi, >> I am new to Struts and after browsered the nightly >> build example app, found it did different way with >> what I have. >> In example app the forms's initial display action is >> different from the form's submit action. What I want to say is normally SubmitFormAction will return a jsp

RE: newbie question: form initialization and process

2004-06-29 Thread Jim Barrows
> -Original Message- > From: Jen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 3:32 PM > To: [EMAIL PROTECTED] > Subject: newbie question: form initialization and process > > > Hi, > I am new to Struts and after browsered the nightly > build example app, found it did differe

RE: Newbie question re. forms in combination with tiles

2004-06-27 Thread Jan Behrens
You are right Rick ;) Those are my favourite problems... they just disappear Cheers, Jan -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Saturday, June 26, 2004 6:48 PM To: Struts Users Mailing List Subject: Re: Newbie question re. forms in combination with tiles

Re: Newbie question re. CSS and Struts

2004-06-26 Thread Paul
> I am using tiles: > > path="/article/common/layouts/Article.jsp"> > >value="/article/common/header.jsp"/> >value="/article/common/message.jsp"/> > >value="/article/common/navbar.jsp"/> > > > I want to control the color of links. My links are in >

Re: Newbie question re. CSS and Struts

2004-06-26 Thread Caroline Jen
I have the similar question and need help. I am using tiles: I want to control the color of links. My links are in the /article/common/navbar.jsp. If I put the

Re: Newbie question re. CSS and Struts

2004-06-26 Thread Paul
I typically use my own style sheet on the finished product. During development though I normally use embedded styles, but imported from their own page using tiles. As the browser is seeing embedded styles and not an imported style sheet, I don't have the caching problem during development. ---

Re: Newbie question re. forms in combination with tiles

2004-06-26 Thread Rick Reumann
Jan Behrens wrote: please ignore, solved this one myself ;) he he did you solve it half way into typing up the message:) You never really asked a question:) -Original Message- From: Jan Behrens [mailto:[EMAIL PROTECTED] Sent: Saturday, June 26, 2004 12:58 PM To: Struts Users Mailing Li

Re: Newbie question re. CSS and Struts

2004-06-26 Thread Rick Reumann
Jan Behrens wrote: > I mean, do many people use CSS in combination with Struts or do you normally attache something like to each property in your message property file, or... I usually use SiteMesh now for controlling the overall layout of my pages, but even if using Struts Tiles, it's a good

RE: Newbie question re. CSS and Struts

2004-06-26 Thread Jan Behrens
each property in your message property file, or... TIA Jan -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Saturday, June 26, 2004 2:19 PM To: 'Struts Users Mailing List' Subject: RE: Newbie question re. CSS and Struts Jan, take a lo

RE: Newbie question re. CSS and Struts

2004-06-26 Thread Matthias Wessendorf
Jan, take a look at http://displaytag.sf.net that taglib builds nice html-tables you can you it with struts. Cheers, > -Original Message- > From: Jan Behrens [mailto:[EMAIL PROTECTED] > Sent: Saturday, June 26, 2004 2:16 PM > To: 'Struts Users Mailing List' > Subject: Newbie question

RE: Newbie question re. forms in combination with tiles

2004-06-26 Thread Jan Behrens
please ignore, solved this one myself ;) -Original Message- From: Jan Behrens [mailto:[EMAIL PROTECTED] Sent: Saturday, June 26, 2004 12:58 PM To: Struts Users Mailing List Subject: Newbie question re. forms in combination with tiles Hi List, I am quite new to Struts and hit a bit of

  1   2   >