sendRedirect in Struts

2006-08-28 Thread Chetan Pandey
I have a JSP Page. As soon as control passes to it I want to redirect to an action: <% response.sendRedirect("/loggingAction.do?function=login"); %> But the problem is I get a message: "The requested resource (/loggingAction) is not available." It seems JSP/Servelt method sendRedirec

Re: Defining dynamic default value for a cookie [*]

2006-08-28 Thread Andreas . Hartmann
Hello Puneet! I could solve my problem now on my own :-). I addressed the class directly in the jsp-file: The created symlinks I mentioned in the other post are not needed any more. Kind regards, Andreas Hartmann - To unsu

Antwort: Re: Defining dynamic default value for a cookie [*]

2006-08-28 Thread Andreas . Hartmann
Hello Puneet, I tried your solution, but I'm getting now another error: Generated servlet error: Integrationmenuform cannot be resolved to a type I wrote the following in the jsp: My web.xml from conf-dir with the init-params: jsp org.apache.jasper.servlet.JspServlet

Re: Dynamically Initializing Checkbox Value

2006-08-28 Thread Laurie Harper
Anthony N. Frasso wrote: Do you need one checkbox or a series of checkboxes? Just one. :) For one checkbox you write something like this (from the article): As I understand it, what this tag does is place the value "yes" into the property "married" of the form bean associated with this HTM

Re: Dynamically Initializing Checkbox Value

2006-08-28 Thread Anthony N. Frasso
> Do you need one checkbox or a series of checkboxes? Just one. :) > For one checkbox you write something like this (from > the article): > As I understand it, what this tag does is place the value "yes" into the property "married" of the form bean associated with this HTML form (actually, "yes

Re: Dynamically Initializing Checkbox Value

2006-08-28 Thread Michael Jouravlev
Do you need one checkbox or a series of checkboxes? For one checkbox you write something like this (from the article): For a group of checkbox you can create several checkbox HTML elements with the same name (this is what does for you). Looking at the example from the article, "customers" is

Re: current framework choices

2006-08-28 Thread Michael Jouravlev
Have fun: http://www.indeed.com/jobtrends?q=web+struts%2C+web+webwork%2C+web+jsf%2C+web+php%2C+web+coldfusion http://www.google.com/trends?q=java+struts%2C+webwork%2C+coldfusion%2C+php&ctab=0&geo=all&date=all On 8/28/06, Martin Gainty <[EMAIL PROTECTED]> wrote: Any stats for PHP or CF? M-

Re: current framework choices

2006-08-28 Thread Martin Gainty
Any stats for PHP or CF? M- * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message

Re: problem with html:link tag

2006-08-28 Thread Chris Cheshire
Doh. I also discovered using single quotes around the page= value works too (not to mention the Netbeans editor correctly syntax-highlights the line properly this way). Thanks Michael :) On 8/28/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: Escaping the quotation symbols inside the string u

Re: Dynamically Initializing Checkbox Value

2006-08-28 Thread Anthony N. Frasso
Thanks, I appreciate the quick response. Unfortunately, I'm not sure that this addresses my issue, unless I've misunderstood something. It doesn't really mention how to populate a checkbox with a value... but it does provide the following: This creates a checkbox for each cu

Re: Dynamically Initializing Checkbox Value

2006-08-28 Thread Michael Jouravlev
On 8/28/06, Anthony N. Frasso <[EMAIL PROTECTED]> wrote: Hello all, and thanks for your help in advance. I have a relatively simple JSP that I'm trying to present. I have a bean that is accessible as an attribute in the request, as well as a form bean for the form on this page. As an example,

Re: problem with html:link tag

2006-08-28 Thread Michael Jouravlev
Escaping the quotation symbols inside the string usually helps. On 8/28/06, Chris Cheshire <[EMAIL PROTECTED]> wrote: I am trying to use html:link to "fix" a URL so that it has the context path on it, but when the value of the page parameter requires quotes inside it (to specify a string value t

AW: [ANNOUNCE] Strutter 0.5rc

2006-08-28 Thread Ingo.Harbeck
Hi James, you are right. I added the [ANNOUNCE] to the subject. Looks like this is the only way to get picked up by Planet Struts and be added to Struts Central. Any comments to this plugin? I did a version for webworks and currently porting it to Struts2. Best wishes, Ingo __

problem with html:link tag

2006-08-28 Thread Chris Cheshire
I am trying to use html:link to "fix" a URL so that it has the context path on it, but when the value of the page parameter requires quotes inside it (to specify a string value to a function) then the page won't compile. I have this link in td in the page : remaining If it is just a straight t

Dynamically Initializing Checkbox Value

2006-08-28 Thread Anthony N. Frasso
Hello all, and thanks for your help in advance. I have a relatively simple JSP that I'm trying to present. I have a bean that is accessible as an attribute in the request, as well as a form bean for the form on this page. As an example, here is one of the input components for the form: This t

Re: current framework choices

2006-08-28 Thread Michael Jouravlev
Without a slightest attempt to start another flamefest ;-) such statistics and job listings were the reason why I suggested to give different names to Struts 1 and Struts 2 codebases. Say if in a year you see "Struts" in a job posting, what Struts is that? Dan, check out Stripes as an alternative

Re: current framework choices

2006-08-28 Thread Ted Husted
Aside from Dice, the only survey I know about is the annual OnJava reader survey. In September 2005, Struts retained it's 60% share among OnJava readers who participated in the survey. * http://www.onjava.com/pub/a/onjava/2005/09/21/onjava-2005-survey-results-1.html?page=2 If you ask Dice.com (

Re: current framework choices

2006-08-28 Thread Leon Rosenberg
I think first of all you should share with us, what kind of web-application you intend to build. Depending on this a discussion of frameworks make sense. regards Leon On 8/28/06, Dan Cancro <[EMAIL PROTECTED]> wrote: Hi group, I haven't done web app development in a while and was wondering w

RE: [JAVA]Convert two collections into a map

2006-08-28 Thread David Friedman
Now that would make a great commons-beanutils class. Regards, David -Original Message- From: temp temp [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 3:49 PM To: user@struts.apache.org Subject: [JAVA]Convert two collections into a map Are there any uitl classes or api which c

[JAVA]Convert two collections into a map

2006-08-28 Thread temp temp
Are there any uitl classes or api which converts two different collections into a map ? - Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail.

current framework choices

2006-08-28 Thread Dan Cancro
Hi group, I haven't done web app development in a while and was wondering whether the field of options for garden variety browser-UI, data-based web applications had narrowed any since last time. Here are the ones I knew of in 2003. If anyone knows a current survey of these, I'd love

RE: what's initial in form-bean ?

2006-08-28 Thread Samere, Adam J
The "initial" attribute on the form-property allows you to initialize the value of the property when the form instance is created by the framework. Adam -Original Message- From: A. Lotfi [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 3:15 PM To: Struts Users Mailing List Subject

RE: [SERVLET_FILTERS]

2006-08-28 Thread Samere, Adam J
Short answer: Yes. An instance of the filter-class will be created for each filter you define, regardless of how many times you reuse a filter class in a single deployment descriptor. Adam -Original Message- From: temp temp [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 3:13

what's initial in form-bean ?

2006-08-28 Thread A. Lotfi
what initial in this form bean means ? Thanks - Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail.

[SERVLET_FILTERS]

2006-08-28 Thread temp temp
SearchResultsFilter.CheckIn com.reisys.fema.ndsp.web.filter.SearchResultsFilter req_attribute_name taskInstances SearchResultsFilter.CheckIn /action/workflow/taskinstance/checkin.do

Re: [ANNOUNCE] Strutter 0.5rc

2006-08-28 Thread James Mitchell
Didn't you already post this once? -- James Mitchell 678.910.8017 On Aug 28, 2006, at 1:24 PM, <[EMAIL PROTECTED]> wrote: I have build a solution to simplify Struts 1.2.x configuration and Form handling. It's an annotation style concept working with JDK1.4. Configuration effort is reduced

Can have an child?

2006-08-28 Thread Mark Menard
I'm trying to make a new theme, and would like to pass some parameters to the tag. Is this possible using the tag? I've tried it, but it doesn't seem to be working. If doesn't support is there another means of parameterizing the form? Thanks, Mark -- Mark Menard personal: http://www.vitarar

Re: Defining dynamic default value for a cookie

2006-08-28 Thread Andreas Hartmann
Hello Puneet! Puneet Lakhina wrote: > On 8/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> >> Hello! >> >> I'm trying to define a default value in the jsp for a cookie, but I don't >> know >> how to do it :-(. >> >> I've go the following piece of code: >> >> ... >> >> >> ... >> >> I wo

Re: Struts-EL and Struts features not in JSTL and EL

2006-08-28 Thread Bob
Thanks. That solution didn't quite work (I didn't need to reference the "map") but led me to try something similar which worked. Wendy Smoak-3 wrote: > > On 8/28/06, Mead, Robert F (Titan) @ TITAN <[EMAIL PROTECTED]> wrote: > >> > property="someProp"> >> >> The Struts libraries are intellig

[ANNOUNCE] Strutter 0.5rc

2006-08-28 Thread Ingo.Harbeck
I have build a solution to simplify Struts 1.2.x configuration and Form handling. It's an annotation style concept working with JDK1.4. Configuration effort is reduced by following some conventions we are using in our Struts projects. Please have a look http://strutter.sourceforge.net Any feedba

Re: id attribute of html: input controls

2006-08-28 Thread Michael Jouravlev
On 8/28/06, Daniel Larsson <[EMAIL PROTECTED]> wrote: I can't find a way to set the 'id' attribute of input controls using the html taglib. Am I missing something, or is this not possible? The 'id' tag doesn't seem to get set at all. For example, for : http://struts.apache.org/1.x/struts-taglib

id attribute of html: input controls

2006-08-28 Thread Daniel Larsson
I can't find a way to set the 'id' attribute of input controls using the html taglib. Am I missing something, or is this not possible? The 'id' tag doesn't seem to get set at all. signature.asc Description: OpenPGP digital signature

Re: [Struts 2] Templating available like Tiles

2006-08-28 Thread Ted Husted
On 8/28/06, Ian Roughley <[EMAIL PROTECTED]> wrote: I'm pretty sure there was a Tile ResultType in WebWork - Matt Raible was a key factor to it's implementation if i remeber correctly. Did it come across with the merger? if so, you could just use tiles. Yes: http://cwiki.apache.org/WW/tiles-r

Re: [Struts 2] Templating available like Tiles

2006-08-28 Thread Ian Roughley
I'm pretty sure there was a Tile ResultType in WebWork - Matt Raible was a key factor to it's implementation if i remeber correctly. Did it come across with the merger? if so, you could just use tiles. /Ian -- From Down & Around, Inc. Innovative IT Solutions Software Architecture * Design

Re: Re: [Struts 2] Templating available like Tiles

2006-08-28 Thread Wendy Smoak
On 8/28/06, Garner Shawn <[EMAIL PROTECTED]> wrote: Sitemesh sounds cool, I tried to figure it out by the examples and docs but came up a little short on figuring it out. Can somebody give me a simple example how to do a header, sidemenu, body, footer template with sitemesh and a jsp page? Th

Re: Re: [Struts 2] Templating available like Tiles

2006-08-28 Thread Ted Husted
On 8/28/06, Garner Shawn <[EMAIL PROTECTED]> wrote: Can somebody give me a simple example how to do a header, sidemenu, body, footer template with sitemesh and a jsp page? Did you deploy the SiteMesh example application ? It's a separate download. * http://opensymphony.com/sitemesh/download.a

Re: Taglib reference

2006-08-28 Thread Frank W. Zammetti
On Mon, August 28, 2006 11:19 am, Wendy Smoak wrote: > It's not a URL, it's a URI. (Even though it *looks* like URL, it's > never been reachable with a browser.) Yeah, I realized that after I posted... it's one of those things you know but temporarily forget in the heat of trying to solve a proble

Re: Taglib reference

2006-08-28 Thread Wendy Smoak
On 8/28/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: Hi... I have what I hope is a stupid question... I very rarely use Struts tags, but I need to on a project now... the people who originally put the project together had the TLD's in WEB-INF, and we're now trying to remove them... using Str

Re: Struts-EL and Struts features not in JSTL and EL

2006-08-28 Thread Wendy Smoak
On 8/28/06, Mead, Robert F (Titan) @ TITAN <[EMAIL PROTECTED]> wrote: The Struts libraries are intelligent enough to take a dynamic form name and find the property. I have not been able to get the same behavior to work using JSTL and EL. For example the following fails (and I've tried a bunc

Taglib reference

2006-08-28 Thread Frank W. Zammetti
Hi... I have what I hope is a stupid question... I very rarely use Struts tags, but I need to on a project now... the people who originally put the project together had the TLD's in WEB-INF, and we're now trying to remove them... using Struts 1.2.9 at the moment... unfortunately I have to use RAD f

Struts-EL and Struts features not in JSTL and EL

2006-08-28 Thread Mead, Robert F \(Titan\) @ TITAN
I have an issue I haven't been able to solve for some time and now the Strut-EL documentation states "Many of the non-porting decisions were based on the fact that the JSTL expression language itself provides the same functionality". Scenario: I have JSP pages that are dynamically included in

Re: Re: [Struts 2] Templating available like Tiles

2006-08-28 Thread Garner Shawn
Many WW/S2 developers use SiteMesh as an alternative to Tiles. * http://today.java.net/pub/a/today/2004/03/11/sitemesh.html Sitemesh sounds cool, I tried to figure it out by the examples and docs but came up a little short on figuring it out. Can somebody give me a simple example how to do a

Struts 1.3.5: Forward out of ComposableRequestProcessor-action

2006-08-28 Thread Thomas Hamacher
Hi everyone, I just played around a little bit with Struts 1.3.5 and did some nice tests with the new ComposableRequestProcessor, which is definately an improvement against the usual RequestProcessor! Compliments to the developers! But now I came to a question: I created my own AuthorizeActio

Re: Defining dynamic default value for a cookie

2006-08-28 Thread Puneet Lakhina
On 8/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello! I'm trying to define a default value in the jsp for a cookie, but I don't know how to do it :-(. I've go the following piece of code: ... ... I would like to have the output from the bean:write - tag as input for the value in

Defining dynamic default value for a cookie

2006-08-28 Thread Andreas . Hartmann
Hello! I'm trying to define a default value in the jsp for a cookie, but I don't know how to do it :-(. I've go the following piece of code: ... ... I would like to have the output from the bean:write - tag as input for the value in the bean::cookie - tag: does not work (the bean:write - ta

validator needed jar files.

2006-08-28 Thread jeb001
Hi, I'm deploying a struts application with a weblogic server.. It seems to work fine, but I've got problems with validator and html:javascript tag. That tag does not work, maybe because a jar file is missing.. but I don't know which one. I've developped my app with Tomcat, and it works well.. I

[OT] Re: Abdel est en vacance!

2006-08-28 Thread David Delbecq
La chasse au caribou est ouverte! ** _ | \ V |/ /| | / /| | \ V / | |/ / | | \ /_ | V / | || | \\| / | || | \ || || \ || |\|

Simplify Struts configuration (Strutter)

2006-08-28 Thread Ingo.Harbeck
Hi all, I have build a solution to simplify Struts 1.2.x configuration and Form handling. It's an annotation style concept working with JDK1.4. Configuration effort is reduced by following some conventions we are using in our Struts projects. Please have a look http://strutter.sourceforge.ne

Re: Which Java-framework für new webapplication development?

2006-08-28 Thread Ted Husted
On 8/28/06, Thomas Hamacher <[EMAIL PROTECTED]> wrote: So I´m currently thinking about what version would be the best choice. As I need a stable version for a "real-life-mission" I think I should stay away from the 2.0-Version, although it sounds pretty interesting. Struts 2.0 is based on WebWo

Re: Abdel est en vacance!

2006-08-28 Thread Romu
bon ben bonnes vacances ! Le 28/08/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> a écrit : Je serai absent(e) du 28/08/2006 au 11/09/2006. Je suis absent pour le moment, et je répondrai à votre message dès mon retour. merci

Which Java-framework für new webapplication development?

2006-08-28 Thread Thomas Hamacher
Hi everyone, I´m going to launch a completely new webapplication in closer future. Now I came to the question, which framework to choose best. After looking at the struts page I already found 3 different versions: 1.2.x, 1.3.5 and 2.0. I have worked a lot with the 1.2.x-series in the last year -

Abdel est en vacance!

2006-08-28 Thread abdel . leshob
Je serai absent(e) du 28/08/2006 au 11/09/2006. Je suis absent pour le moment, et je répondrai à votre message dès mon retour. merci ** La présente communication (et tout fichier rattaché) s'adresse uniquement au(x

Re: Problem whith a select

2006-08-28 Thread Antonio Petrelli
José María Tristán ha scritto: Hello: I have a select where i have select one value. When I submit the form the method get load this value. But, if after, I not select any value the method set don't is call. Uh, I changed my mind. Probably you have a session form-bean. The "setMarc