Re: connecting to server

2005-09-07 Thread d d
Rather than using struts u can use simple servlet concepts to achive this. Once u login keep a connection variable is session or in application scope. this will allow all ur actions to access this connection.If at all u want to use Action class, study the function Action.getDatasource(). Hope t

Eclipse 3.1 and struts 1.2.7

2005-09-07 Thread M. Imran
Dear all, I am trying to build my first application with Tomcat, Eclipse 3.1 & Struts 1.2.7, can anyone tell me how to configure them? Any help link or example will be much appreciated? Thanks you, Imran

a paralell tag to html:select

2005-09-07 Thread Rivka Shisman
Hey there Does someone know a parallel tag to html:select? I mean that if in the Edit.jsp page i had an html:select tag to edit the student_status field - and in the displayStudents.jsp i have a bean:write to display the student_status field What id the best way to get the decode in the displ

Re: AW: AW: Problem with characters

2005-09-07 Thread Stephen Souness
Hi all, I had a similar problem with Tomcat 5.0.24 a year or so ago and came up with a different solution. On Windows it was using a default charset which was quite limited. To force it to use something more useful I added: -Dfile.encoding=ISO-8859-1 to Tomcat's startup java options. To g

Re: JSF -> Shale transition

2005-09-07 Thread Dakota Jack
Moving from Struts to JSF is moving to a "more defined" framework? That is pretty difficult to grasp. Could you explain? On 9/6/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 9/6/05, Walton, Kaleb (ISS Southfield) <[EMAIL PROTECTED]> wrote: > > > > Hey all, > > > > As I had mentioned in

AW: AW: Struts in loadbalanced enviroment

2005-09-07 Thread Eickvonder Bjoern
Yes thats the case, all redirects are changed to https, but thats what I need as the all pages should be ssl encoded. In fact the logic I have in there is that it actually only converts the redirects if the hostname got a specific IP, domain (which are configured using Filter Params) in order to

RE: class file mapping

2005-09-07 Thread Ayusman dikshit
Can you send the struts config file??? Regards Ayusman -Original Message- From: Simons Kevin [mailto:[EMAIL PROTECTED] Sent: Thursday, September 08, 2005 1:00 AM To: Struts Users Mailing List Subject: class file mapping All, I am a newbie still testing things out to understand struts b

Re: about create myself ActionForward

2005-09-07 Thread fenris
nobody do like this? who have a good idea? On 9/7/05, fenris <[EMAIL PROTECTED]> wrote: > > > oh , yes ,I know where I am wrong . > I don't set the parameter's value for the new ActionForm which is > reference to the new URL.(the new action). > So I must to find the new form with the URL.

AW: [IMPORTANT] tomcat 5.0.19+ is broken / not useable with struts / your voice needed

2005-09-07 Thread Leon Rosenberg
> -Ursprüngliche Nachricht- > Von: Craig McClanahan [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 8. September 2005 01:44 > An: Struts Users Mailing List > Betreff: Re: [IMPORTANT] tomcat 5.0.19+ is broken / not > useable with struts / your voice needed > > but that would mean to

Re: [IMPORTANT] tomcat 5.0.19+ is broken / not useable with struts / your voice needed

2005-09-07 Thread Craig McClanahan
On 9/7/05, Jason Lea <[EMAIL PROTECTED]> wrote: > > :( > > I wonder if the new java.util.concurrent classes could be used instead > of simple HashMap? > > > http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ConcurrentHashMap.html This would definitely be feasible for Tomcat 5.5 (wh

connecting to server

2005-09-07 Thread Nirmala Dhara
Hi, I am new to struts and I want to create a web interface to my application. Once I login, I need to connect to my server and it should be available to all my action classes. Where should I create connection to my server? and How? Thank you very much, Nirmala

Re: [IMPORTANT] tomcat 5.0.19+ is broken / not useable with struts / your voice needed

2005-09-07 Thread Jason Lea
:( I wonder if the new java.util.concurrent classes could be used instead of simple HashMap? http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ConcurrentHashMap.html but that would mean total dependence on j2se 1.5 and that would be a problem for supporting j2se 1.4, though a back

Re: Upload: strange characters in german filename

2005-09-07 Thread Jason Lea
Looks like the filename is being sent as utf-8, but being read as Latin1 (can't remember the iso number). Struts uses Commons FileUpload to handle the file uploads. By default it uses org.apache.struts.upload.CommonsMultipartRequestHandler Now Commons FileUpload has a method called setHeader

[IMPORTANT] tomcat 5.0.19+ is broken / not useable with struts / your voice needed

2005-09-07 Thread Leon Rosenberg
to whom it may concern There is a serious bug in tomcat 5. To make it short, if you write to or read from session (taglibs included) and have a chance that there is more than one request from same user currently proceeded on the server (and it can be just a web-page refresh, our beloved F5 key) y

Re: [OT-ish] Re: JSTL TLD confusion

2005-09-07 Thread Woodchuck
--- Wendy Smoak <[EMAIL PROTECTED]> wrote: > There is a Reference Implementation available from Sun at the bottom > of > http://jcp.org/aboutJava/communityprocess/final/jsr052/ (linked to > from the > URL you posted above). actually i visited that page before but only found docs for download.

Re: NoClassDefFoundError: org/apache/taglibs/standard/lang/support/ExpressionEvaluatorManager

2005-09-07 Thread gramani
Randy Shepherd <[EMAIL PROTECTED]> wrote on 09/07/2005 05:07:12 PM: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hey Guys, > > I am trying to migrate a small app from 1.1 to 1.2.7 and I experiencing > this exception on JSP that previously worked just fine. I have the > standard.jar in

Re: class file mapping

2005-09-07 Thread Murray Collingwood
You don't mention your Struts config file. Do you have one? I would suggest you move your java files to a "src" folder but not under the /WEB-INF, put them under the project folder, eg "/project/src" alongside "/project/test" The class files should then be compiled into "WEB-INF/classes". T

Re: [OT-ish] Re: JSTL TLD confusion

2005-09-07 Thread Wendy Smoak
From: "Woodchuck" <[EMAIL PROTECTED]> the way JSTL exists right now does not help alleviate the confusion imho. please correct me if i'm wrong but for example, if you go to Sun's official page about JSTL (http://java.sun.com/products/jsp/jstl), you can find tutorials that dive right into JSTL,

NoClassDefFoundError: org/apache/taglibs/standard/lang/support/ExpressionEvaluatorManager

2005-09-07 Thread Randy Shepherd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey Guys, I am trying to migrate a small app from 1.1 to 1.2.7 and I experiencing this exception on JSP that previously worked just fine. I have the standard.jar in the lib directory and in the classpath. [2005-09-07 13:59:50]java.lang.NoClassD

[OT-ish] Re: JSTL TLD confusion

2005-09-07 Thread Woodchuck
i see. i'm using Tomcat 5.5.9 with servlet spec 2.4 right now. i will update to the JSTL found in the Jakarta Standard 1.1 Taglib distribution. thanks, Wendy! :) the way JSTL exists right now does not help alleviate the confusion imho. please correct me if i'm wrong but for example, if you go

Re: class file mapping

2005-09-07 Thread Michael Jouravlev
Do you refer to insertTestAction or to test.insertTestAction in your action mapping? Can you post your action mapping? Michael. On 9/7/05, Simons Kevin <[EMAIL PROTECTED]> wrote: > This loads perfect. When I hit the submit button he changes the url to > http://localhost:8080/tests/index.do. Up ti

Re: JSTL TLD confusion

2005-09-07 Thread Niall Pemberton
Just to add to what Wendy said - whats distributed with struts-el are the Jakarta Standard 1.0 taglib implementation and the differences between that and the Jakarta Standard 1.1 taglib (dtd and URIs) are down to changes in the JSTL specification. http://jakarta.apache.org/taglibs/doc/standard-doc

Re: JSTL TLD confusion

2005-09-07 Thread Wendy Smoak
From: "Woodchuck" <[EMAIL PROTECTED]> which is the 'official' version we should be using? It depends on what version of the Servlet spec you're using. Struts-EL goes with JSTL 1.0 on Servlet 2.3. That's what you see in the Struts 1.2.7 distribution in the 'contrib' directory. When you mov

class file mapping

2005-09-07 Thread Simons Kevin
All, I am a newbie still testing things out to understand struts better. I have the following structure : java files in folder /classes. class files in folder /classes/test. This is al normal. I have create a simple index.jsp <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib u

Re: Struts in loadbalanced enviroment

2005-09-07 Thread Brian Moseley
Fritsch, Andre wrote: Hello Björn, That sounds good. But how do I realise it? i solved this problem with tomcat simply by setting a couple of attributes on the http connector in server.xml. dunno if you're using tomcat within jboss, or even if jboss uses tomcat anymore (it's been a few year

AW: AW: Problem with characters

2005-09-07 Thread Martin Kindler
Thanks Mojo, yeah, setting the MySQL connection to use UTF-8 is also important :-). The response header should be dealt with by the Struts configuration. If I am right, this means exactly setting the response header to text/html; charset=UTF-8 as default. Martin > -Ursprüngliche Nachricht---

JSTL TLD confusion

2005-09-07 Thread Woodchuck
hihi all, in the Struts (1.2.7) distribution it includes what i thought was everything you would need to use JSTL. namely, the standard.jar and jstl.jar (found under the struts/contrib/struts-el/lib folder). however, these jars are missing functions.tld file. then i discovered that the Jakarta

Re: Tile usage

2005-09-07 Thread Xavier Vanderstukken
Page path are ok, tile mechanism works well for my web application when I do that : but for some page I want to replace the body by two differents tiles. So I try doing the tile config in my first post :

Re: Is there a way to access Struts message resources from tag?

2005-09-07 Thread Wendy Smoak
From: "Néstor Boscán" <[EMAIL PROTECTED]> Is there a way to access the message resources configured in the struts-config file from a JSP using tag? I have this in (Servlet 2.3) web.xml: javax.servlet.jsp.jstl.fmt.localizationContext ApplicationResources Adjust the param va

Is there a way to access Struts message resources from tag?

2005-09-07 Thread Néstor Boscán
Hi Is there a way to access the message resources configured in the struts-config file from a JSP using tag? Regards, Néstor Boscán - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: Tile usage

2005-09-07 Thread Greg Reddin
On Sep 7, 2005, at 12:06 PM, Xavier Vanderstukken wrote: java.lang.NullPointerException at org.apache.jasper.runtime.JspRuntimeLibrary.getContextRelativePath (JspRuntimeLibrary.java:908) Are your pages at the root level of your webapp? May

RE: Tile usage

2005-09-07 Thread Dharmendra . Sharan
Hi Xavier, looking at the error, it seems instead of looking at "formaction" attribute as String, it's attempting to interpret it as a Page, and it's not able to find the login.jsp in the 'document root' area. If you need to pass in just a String value you may use type="String" or, dir

Re: AW: Problem with characters

2005-09-07 Thread Morris Jones
Martin and Luke, are you using different databases on the two environments? You might want to be sure you have MySQL configured to use unicode, and add the "useUnicode" and "characterEncoding" options to your database connect URL. You may also find that you need to set the character encoding

What JSF is missing

2005-09-07 Thread David Thielen
For shale and/or the next version of JSF. http://thielen.typepad.com/programming/2005/08/what_jsf_is_mis.html thanks - dave David Thielen 303-499-2544 www.windwardreports.com

Re: Forwarding to the previous page

2005-09-07 Thread Frank W. Zammetti
On Wed, September 7, 2005 12:44 pm, Michael Jouravlev said: > Consider "standard" for Struts pre/post actions. You have showForm.do > -> JSP -> submitForm.do -> smthElse.do. > > The preceding action for smthElse.do is submitForm.do, so calling it > does not make sense, since it would try to submit

Re: Forwarding to the previous page

2005-09-07 Thread Michael Jouravlev
On 9/7/05, Tremal Naik <[EMAIL PROTECTED]> wrote: > 2005/9/7, Michael Jouravlev <[EMAIL PROTECTED]>: > > Apparently, in "standard" approach with pre/post actions it makes > > sense only to store pre-actions, that is, the rendering actions. In > > the case above it would be "showForm.do". > > well,

Re: Forwarding to the previous page

2005-09-07 Thread Tremal Naik
2005/9/7, Michael Jouravlev <[EMAIL PROTECTED]>: > Apparently, in "standard" approach with pre/post actions it makes > sense only to store pre-actions, that is, the rendering actions. In > the case above it would be "showForm.do". well, I didn't really want to store the previous action path (showF

Re: Forwarding to the previous page

2005-09-07 Thread Frank W. Zammetti
On Wed, September 7, 2005 12:56 pm, Tremal Naik said: > I was thinking of a navigation bean to store in the user session, but > is that 'modifying ANY action' that I was trying to get rid of. Yep, I agree... but that's where a base Action comes in to play :) I suppose it's still a change to all y

Tile usage

2005-09-07 Thread Xavier Vanderstukken
I have a main layout : I extend the main definition : And finally here is the body With that configuration I receive an exception : java.lang.NullPointerException at org.apache.jasper.runtime.JspRuntimeLibr

Re: Forwarding to the previous page

2005-09-07 Thread Tremal Naik
2005/9/7, Frank W. Zammetti <[EMAIL PROTECTED]>: > I don't think there's anything inherently in Struts to do that, however, > it shouldn't be too hard to do on your own... how about this right before > you return your ActionForward from ANY Action: > > session.setAttribute("previousPage", mapping.

Re: Forwarding to the previous page

2005-09-07 Thread Michael Jouravlev
Consider "standard" for Struts pre/post actions. You have showForm.do -> JSP -> submitForm.do -> smthElse.do. The preceding action for smthElse.do is submitForm.do, so calling it does not make sense, since it would try to submit a non-existent form. By the way, your advice would work great with St

Re: Forwarding to the previous page

2005-09-07 Thread Frank W. Zammetti
The referer header is actually an unreliable value... I don't recall the details off the top of my head (perhaps someone else can fill in the blanks), but I do remember that using it for just about anything is on the dangerous side because you can't count on it being present and/or accurate. Just

Re: Forwarding to the previous page

2005-09-07 Thread Frank W. Zammetti
I don't think there's anything inherently in Struts to do that, however, it shouldn't be too hard to do on your own... how about this right before you return your ActionForward from ANY Action: session.setAttribute("previousPage", mapping.getPath()); That way, assuming everything in your app does

Re: Forwarding to the previous page

2005-09-07 Thread glenn . deschenes
You can always get from where the request is coming from by getting the Referer from the Request. String referer = request.getHeader("REFERER"); I'm not sure that this is want you want. You must beware that the referrer can be blank when typing in the URL in the browser, plus the consequences o

Re: a simpler way?

2005-09-07 Thread Michael Jouravlev
You have two basic choices: (1) Display and submit ActionForm fields; you need to initialize these fields with your bean data before display, and to copy ActionForm fields' data back to bean after successful submission. If your ActionForm has session scope, you will need to initialize its fields o

Re: Forwarding to the previous page

2005-09-07 Thread Tremal Naik
2005/9/7, Duane Rosengartner <[EMAIL PROTECTED]>: > This works very well for me. > > Back aehm,probabily I didn't explain well my problem: I don't have to get back to the previous page from the actual. Look at this code: public class DisplayAboutAction extends Action { public ActionForward

RE: Forwarding to the previous page

2005-09-07 Thread Duane Rosengartner
This works very well for me. Back -Original Message- From: Tremal Naik [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 07, 2005 7:24 AM To: Struts Users Mailing List Subject: Forwarding to the previous page Hi, I have a menu on my application, which is tiled in all the pages. I

DynaForms & Radio Buttons

2005-09-07 Thread Duane Rosengartner
use the Id (userId,accountId)or concatination of Id|someOtherVariable as the value of the Radio button property. Then in your action you would use the value of the radio to perform further processing. In most cases, the rows are simple views of an object. The selection of the row would require you

Re: a simpler way?

2005-09-07 Thread Gareth Evans
The preaction is usually pretty simple, if your bean's properties and actionform's properties are in the same format, which going by your example it does. You can use PropertyUtils to prepopulate the ActionForm i.e. // in your preaction method PropertyUtils.copyProperties( form , beanFromSess

AW: AW: Problem with characters

2005-09-07 Thread Martin Kindler
As I took the code directly from Mike Gavaghan's article and it is available online http://www.javaworld.com/javaworld/jw-05-2004/jw-0524-i18n.html, i'ld ask you to look there. Martin > -Ursprüngliche Nachricht- > Von: lk [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 7. September 2005

Re: a simpler way?

2005-09-07 Thread Peter . Zoche
I understand what you mean, but my example has been very simple and only a little part of my page. I have much more text fields on my page, and everything I need is stored in a Bean in session scope. So using a PreAction to copy my whole Bean to an ActionForm with a lot of properties would be a lot

Re: How do I write a navigation rule for Tiles using JSF?

2005-09-07 Thread Bjørn T Johansen
And looking at that url, gave the solution on how to name my tiles def and view id, so now it's working... Thx for all you suggestions :) BTJ Wendy Smoak wrote: > From: "Bjørn T Johansen" <[EMAIL PROTECTED]> > >> I am used to just using .tiledefname in Struts but this doesn's seem >> to w

Re: AW: Problem with characters

2005-09-07 Thread lk
Martin Kindler wrote: ... at last I installed a little filter on my container (Tomcat 5.0.x) which explicitly sets the encoding for each request and response to UTF-8. This proved to be the real solution. Hi Martin, Could you post the way you used? Thanks LuKe -- Email.it, the professional

Re: How do I write a navigation rule for Tiles using JSF?

2005-09-07 Thread Bjørn T Johansen
Well, I am trying around to get anything to work, but no configurations seem to work But I see a clear description in your url, so I will try that... Thx... :) BTJ Wendy Smoak wrote: > From: "Bjørn T Johansen" <[EMAIL PROTECTED]> > >> I am used to just using .tiledefname in Struts but thi

Re: AW: Problem with characters

2005-09-07 Thread Ivan Rodriguez
I think you are right. I use too a filter from springframework to force UTF-8 encoding: encodingFilter org.springframework.web.filter.CharacterEncodingFilter encoding UTF-8 forceEncoding true And th

Re: a simpler way?

2005-09-07 Thread Gareth Evans
By overriding the value in each text field you will never get the user enter value after validation fails. You should (at least how i understand), populate the action form with values in a "PreAction" i.e. PreAction -> display to user -> PostAction The preaction takes in the action form and p

Re: Exception trying to read tiles definition file in JSF..

2005-09-07 Thread Bjørn T Johansen
Yes, I am using one of those in my DOCTYPE definition BTJ Greg Reddin wrote: > If you are using "-//Apache Software Foundation//DTD Tiles > Configuration 1.1//EN" or "-//Apache Software Foundation//DTD Tiles > Configuration 1.2//EN" in your DOCTYPE definition and are using the > latest cu

Re: How do I write a navigation rule for Tiles using JSF?

2005-09-07 Thread Wendy Smoak
From: "Bjørn T Johansen" <[EMAIL PROTECTED]> I am used to just using .tiledefname in Struts but this doesn's seem to work when using tiles with jsf... i.e. how do I navigate to a tiles def. in jsf? How do I set up the navigation rule, especially the to-view-id? From your other posts, it's

[OT] howto replicate Application context

2005-09-07 Thread Nicolas De Loof
Hello all, I've a requirement to replicate application context data in a 2 server cluster (load-balanced). I know tomcat option to use in-memory session replication. Is there anything similar for application context ? Thanks for any suggestion. Nico. This message contains information that

a simpler way?

2005-09-07 Thread Peter . Zoche
Hi all! Lets say I have a form with two text fields on a jsp page: Both text fields are validated (I use a DynaValidatorForm) and a text is required for both. If the user changes both text fields (lets say deletes project and changes version), validation fails and the user is send back to the

DynaForms & Radio Buttons

2005-09-07 Thread Enda Dowling
Hey, I am running into a problem with trying to create radio buttons with a dynamic amount of entries on the page. It is meant to be a very simple page where there are options and you just select Yes or No. The only thing is the number of options that are presented to the user is dynamic which

Re: Struts and XHTML

2005-09-07 Thread Adam Hardy
It's valid XHTML 1.0 transitional. What are you using? [EMAIL PROTECTED] on 07/09/05 00:01, wrote: Dne středa 07 září 2005 00:46 [EMAIL PROTECTED] napsal(a): Hello all, I have problem with struts. Is struts XHTML compliant ? I mean that is not allowed in XHTML and in example this snippet of

Re: AW: Struts in loadbalanced enviroment

2005-09-07 Thread Adam Hardy
Hi there, this approach I presume restricts you to SSL only on all your redirects - or do you have logic in there to determine whether any particular URL has to be SSL encoded or not? Am I correct in thinking that the use of the load-balancer to do the SSL-encoding prevents the use of contai

Re: [Shale/JSF] Method of backing bean not being called..?

2005-09-07 Thread gramani
Rick Reumann <[EMAIL PROTECTED]> wrote on 09/07/2005 10:10:44 AM: > [EMAIL PROTECTED] wrote the following on 9/6/2005 4:36 PM: > > Here's more on the problem from the myfaces user list - and these are > > dated just last month (:( > > > > http://www.mail-archive.com/users@myfaces.apache.org/msg0

Re: [Shale/JSF] Method of backing bean not being called..?

2005-09-07 Thread Rick Reumann
[EMAIL PROTECTED] wrote the following on 9/6/2005 4:36 PM: Here's more on the problem from the myfaces user list - and these are dated just last month (:( http://www.mail-archive.com/users@myfaces.apache.org/msg07151.html Briefly, here's what is the "solution": If I have a commandLink inside

Re: Overlaying a propery definition with > 1 ApplicationResources.properties file

2005-09-07 Thread Gareth Evans
Hi Adam, You can do this by extending the default MessageResourceFactory to load these files. I use this approach in my application to load the messages in from a database. Use the following in your struts-config factory="com.your.MessageResourceFactory" /> Regards, Gareth Adam Lipscombe

Re: Exception trying to read tiles definition file in JSF..

2005-09-07 Thread Greg Reddin
On Sep 7, 2005, at 1:03 AM, Bjørn T Johansen wrote: Yes, that did the trick... :) But isn't there another way setting this up so it's not dependent on having an internet connection and that the site is actually up?? In the DigesterDefinitionsReader we have the following code: protecte

AW: Problem with characters

2005-09-07 Thread Martin Kindler
Thank you Dave! My problem is now solved. But I had to do a bit more than just say that the pages are UTF-8. I think it does not matter whether I use the configuration of the Struts controller to do this or write it explicitly into each jsp. As several people today had similar problems today here

Overlaying a propery definition with > 1 ApplicationResources.properties file

2005-09-07 Thread Adam Lipscombe
Folks, We have a standard ApplicationResources.properties file. If customers want customised labels I want to be able to include a 2nd ApplicationResources.properties file that contains only those labels that have been customised. The 2nd label definition should override the 1st (i.e. standard) d

RE: request attribute in jsp - please advice

2005-09-07 Thread Richard Yee
Rivka, listIndex is necessary for displaying the information on the page, right? What's wrong with putting it the form bean. That is what the form bean is for. Your other options are going to be a lot messier. Regards, Richard At 10:37 PM 9/6/2005, you wrote: Hi Richard Yes I can do that

Re: Problem with a Frameset and Struts (replacing frameset with tiles?)

2005-09-07 Thread Frank W. Zammetti
Tiles and frames are not at all equivalent, so it's not a simple either-or answer. It really depends on what your application needs are. I have done a lot of work with frames and am completely comfortable developing with them. This is not so for everyone, and there are some good reasons for it.

Re: Security constraint not working

2005-09-07 Thread Bart Frackiewicz
perhaps you need at least one with a given role - or you leave it empty (look into the example, there is a before ). Neil Aggarwal schrieb: Hello: no_access *.jsp my example: BOS Airliquide Deutschland *.do

AW: Upload: strange characters in german filename

2005-09-07 Thread Martin Kindler
Bart, looks like a character encoding problem. The mangled character in the filename (ᅵ) is meant to be a german u-umlaut. I can't offer any more advice to resolve the problem as I am working on this type of problem myself :-( Martin > -Ursprüngliche Nachricht- > Von: Bart Frackiewicz

Forwarding to the previous page

2005-09-07 Thread Tremal Naik
Hi, I have a menu on my application, which is tiled in all the pages. I have an action of the menu which is common to all the page in which I am, so the execute() method of the action class associated to it must return a forward to the page which called it. I know how to map the forward of an acti

Upload: strange characters in german filename

2005-09-07 Thread Bart Frackiewicz
Hello, after uploading a file, getFileName() returns me always a wrong filename, if the filename contains one of the german umlaute (like ü, ä or ö). The filename looks like: "Angebot_Tipps fᅵr Kids.doc" (i display it BEFORE i save the name in the database). This error appears _only_ in the

Re: Prepopulating DynaValidatorForm and validating

2005-09-07 Thread BHansard
I have handled this in two different ways. 1. Previously I had a preprocess action which populated the collection and that was all it did. In the struts-config, I set the preprocessAction.do as the input page. That way if the validation failed, struts will execute the preprocessAction which wi

bean:include starting new session depending on forwardPattern

2005-09-07 Thread Neil . Sedger
I am using struts 1.2.7 with multiple modules on Tomcat 4. My JSP files are shared between the modules hence there is a pagePattern set on the controller - it is currently set to '$P'. I have left forwardPattern as default because I only forward to tiles or other actions, not directly to page

RE: Problem with characters

2005-09-07 Thread Harland, David
Make sure the jsp doing the posting has <%@ page language="java" contentType="text/html; charset=UTF-8" %> Dave. -Original Message- From: Martin Kindler [mailto:[EMAIL PROTECTED] Sent: 07 September 2005 10:47 To: 'Struts Users Mailing List' Subject: AW: Problem with characters David,

RE: JSTL and taglibs

2005-09-07 Thread line-andreassen.sale
Well, no answers so I solved it myself ;-) I had to add the line: That solved the problem! Regards Line -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 6. september 2005 12:25 To: user@struts.apache.org Subject: JSTL and taglibs Hi! In our application w

AW: Problem with characters

2005-09-07 Thread Martin Kindler
David, could you please be a bit more specific? Just now I have a very similar problem as LuKe. I am using MySQl 4.1.10 and all tables are UTF-8. Struts is configured to use UTF 8 (i. e. the controller element in struts-config.xml says contentType="text/html;charset=UTF-8"). This seems to work.

Prepopulating DynaValidatorForm and validating

2005-09-07 Thread Peter . Zoche
Hi all! Googling and seraching the archive did not solve my problem, so I will have a try. In my struts-config.xml, I have defined a DynaValidatorForm and an action: ... As you can see, this form holds a list of projects in a collection, which has to be populated before the correspo

Re: Problem with characters

2005-09-07 Thread lk
Ivan Rodriguez wrote: Check your production default table charset. It must be latin1 or similar. It should be the same I'm using (at least it works well with no-struts contexts). LuKe -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Scarica Sweety sul tuo

Re: Antwort: Problem with characters [ Virenprüfung durchgeführt]

2005-09-07 Thread lk
[EMAIL PROTECTED] wrote: lk <[EMAIL PROTECTED]> am 07.09.2005 10:23:04 Bitte antworten an "Struts Users Mailing List" An: user@struts.apache.org Kopie: Thema: Problem with characters [Virenprüfung durchgeführt] Hi, I have a problem with some characters. My application reads some

Re: Problem with characters

2005-09-07 Thread lk
Harland, David wrote: Change you encoding to UTF-8. What database are you using? Dave. mysql 4.0.16 LuKe -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Logos Finanziaria SPA. Società di credito ad erogazione diretta. Fino a 30.000 euro in 24 ore! Cli

Re: Problem with characters

2005-09-07 Thread Ivan Rodriguez
Check your production default table charset. It must be latin1 or similar. lk escribió: Hi, I have a problem with some characters. My application reads some forms and writes them in a db. On my test and developing environment everything works well. The problem comes out when I deploy the ap

RE: Problem with characters

2005-09-07 Thread Harland, David
Change you encoding to UTF-8. What database are you using? Dave. -Original Message- From: lk [mailto:[EMAIL PROTECTED] Sent: 07 September 2005 09:23 To: user@struts.apache.org Subject: Problem with characters Hi, I have a problem with some characters. My application reads some forms

Antwort: Problem with characters [ Virenprüfung durchgeführt]

2005-09-07 Thread oliver . graf
lk <[EMAIL PROTECTED]> am 07.09.2005 10:23:04 Bitte antworten an "Struts Users Mailing List" An: user@struts.apache.org Kopie: Thema: Problem with characters [Virenprüfung durchgeführt] Hi, I have a problem with some characters. My application reads some forms and writes them in

Problem with characters

2005-09-07 Thread lk
Hi, I have a problem with some characters. My application reads some forms and writes them in a db. On my test and developing environment everything works well. The problem comes out when I deploy the application on the production server. When I fill in the form non English characters (for

AW: paging tables?

2005-09-07 Thread Martin Kindler
Try Displaytag (www.displaytag.org). It is a taglib which handles everything (paging, sorting). The only problem I encountered was with multiple row selections spanning several pages. Martin > -Ursprüngliche Nachricht- > Von: S³awek Tuleja [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch,

paging tables?

2005-09-07 Thread Sławek Tuleja
Hello I use tag to show table with all of data from database. Could you help me to paging this table in the easiest way ?. thank you Rockowa Trasa Koncertowa na rzecz nieuleczalnie chorych dzieci - TAT, ORANGE PARK, BRACIA - 22.09-02.10.

How do I write a navigation rule for Tiles using JSF?

2005-09-07 Thread Bjørn T Johansen
I am used to just using .tiledefname in Struts but this doesn's seem to work when using tiles with jsf... i.e. how do I navigate to a tiles def. in jsf? How do I set up the navigation rule, especially the to-view-id? Regards, BTJ -- --