RE: Struts with frames problem

2002-11-20 Thread Mouratidis, Georg
HI Kanal, if you want do call an action from your frameset you have to use the following syntax: frame name=treeframe scrolling=Yes noresize src =/YourApplicationName/frame1.do Please pay attention to the src-Attribut. You can ommit the ApplicationName in the src attribut only the in action

Re: MySQL connection pooling problems!! (please help)

2002-11-20 Thread Zsolt Koppany
Why don't you use the connection pool comming with struts? Zsolt On Tuesday 19 November 2002 23:42, James Ferguson wrote: Hi, You might like to look into the connection pooling software called PoolMan (for Pool Manager). I'm using it successfully with the MySQL driver. It's no longer be

Dynamic forward problem

2002-11-20 Thread David Bolsover
Hi all I posted this one a few days back but got no response - so I thought I would have another go - I'll try an improved explanation of the problem. I need to generate a dynamic forward to an action/script (I have no control over implementation) on a remote server. A typical URL for the

Change the src of Image dynamically

2002-11-20 Thread Alireza Fattahi
Hi, How can we change the src of the image dynamically by using html:img from a bean? I know that this tag accepts paramName and paramProperty, but the result always have a ? appended to the src. Like: html:img src=images/ paramName=BookRefVwcredForm paramProperty=imgSrc paramScope=request

html:form with sub application

2002-11-20 Thread gmail
Hello, I use multiple sub application modules with struts (1.1b2). The Action addUser is defined in admin struts config file : action-mapping action path=/addUser type= ... ... ... /action /action-mapping And the admin config file is defined in web.xml : servlet

Re: tiles:useAttribute tag returns null (although attribute exists in Component context)

2002-11-20 Thread Cedric Dumoulin
Maybe it is related to the bug with the id attribute. Try to add explicitly the id attribute to each of your tag (id=bar, id=foo, ...). The problem is linked to the reuse of the tags by your web container. What is your configuration ? Cedric Walk, Christopher wrote: Has anyone

Re: html:form with sub application

2002-11-20 Thread Gemes Tibor
2002. november 20. 14:20 dátummal [EMAIL PROTECTED] ezt írtad: When I use this action in the html:form taglib : html:form action=/admin/addUser I got the following exception : Cannot retrieve mapping for action /admin/addUser Any one got this problem too ? This is not a problem. You have

Re: Dynamic Tiles xml definitions

2002-11-20 Thread Cedric Dumoulin
Yes, it is possible. You can access the definition factory, and modify definitions yourself. This require a well understanding of the structure, because a lot of object are shared, especially when their is some inheritance. Also, you can write your own definition factory implementing the

Re: Re: html:form with sub application

2002-11-20 Thread gmail
Thansk for your help ! Actually, the jsp file is under the top level of my application directory : MyApplication/ +myPage.jsp (with call /admin/addUser action) +index.jsp +admin/ | +bar.jsp | +foo.jsp | +WEB-INF/ +web.xml

Re: Merging Tiles body into tile definition

2002-11-20 Thread Cedric Dumoulin
Brian Topping wrote: Hue, Dirk, Thanks for your input. I tried with tiles:put name=body direct=true and found that to work just great. Maybe I shouldn't care, but Dirk, do you know a subtle advantage to using type=string instead of direct=true? Both are the same. type=string is the

Re: Can logic:redirect been used in Tiles JSP files?

2002-11-20 Thread Cedric Dumoulin
You normally can't do a redirect once the response is committed. If you use Tiles, the response is usually committed when you insert a Tile ... So, you should avoid using redirect with Tiles, or any other include mechanism. Cedric Zsolt Koppany wrote: Hi, I have the impression that

RE: Can logic:redirect been used in Tiles JSP files?

2002-11-20 Thread ROSSEL Olivier
You normally can't do a redirect once the response is committed. If you use Tiles, the response is usually committed when you insert a Tile ... So, you should avoid using redirect with Tiles, or any other include mechanism. My vision: redirection should be managed through an action.

Where can i get struts-el ???

2002-11-20 Thread Andreas Langmann
Hello, i'm searching for struts-el but can't find the struts-html-el.tld Are they included in struts? Thanks, Andreas -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Where can i get struts-el ???

2002-11-20 Thread Gemes Tibor
2002. november 20. 11:48 dátummal Andreas Langmann ezt írtad: Hello, i'm searching for struts-el but can't find the struts-html-el.tld Are they included in struts? in the nightly Hth Tib -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Validator -- range validation not firing...

2002-11-20 Thread Marcus Edwards
Hi All, I've been knocking my head on the problem for the past day and need help. Nothing in the archives of FAQ's since most people seem to be able to get the validations to work fine. Problem: I cannot get the 'range' validator action to function. I can get 'required' to function as expected

Re: Struts Tiles ( was: struts-tiles.war doesn't work (Nov 18thni ghtly) )

2002-11-20 Thread Cedric Dumoulin
The tiles-blank-* files are shipped with the tiles distribution from the original tiles site ;-) www.lifl.fr/~dumoulin/tiles Both distributions are the same, except some extra war files. Cedric Wendy Smoak wrote: Cedric wrote: Tiles is now in the main trunck of Struts. The tiles

RE: Where can i get struts-el ???

2002-11-20 Thread Jon.Ridgway
Hi Andreas, I think you will find struts-el in more recent nightly builds. You can download these from the Struts web site. Jon Ridgway -Original Message- From: Andreas Langmann [mailto:[EMAIL PROTECTED]] Sent: 20 November 2002 10:48 To: Struts Users Mailing List Subject: Where can i

future of struts

2002-11-20 Thread Mouratidis, Georg
the following article i found at TheServerSide.com The tag libraries bundled with Struts provide access to simple and indexed properties; the org.apache.struts.taglib.nested package contains tags that access simple and indexed properties in a nested combination. For a complete list of all tags

RE: Change the src of Image dynamically

2002-11-20 Thread Jon.Ridgway
Hi Alireza, You should look at the struts-el tags or the JSTL. You could then store the src as a bean property and reference like html:img src={bean.property} ... Jon Ridgway -Original Message- From: Alireza Fattahi [mailto:[EMAIL PROTECTED]] Sent: 20 November 2002 09:20 To: 'Struts

RE: About RowSet

2002-11-20 Thread edgar
http://jakarta.apache.org/taglibs/doc/dbtags-doc/intro.html I think this is what you are looking for. -Original Message- From: Savantraj, Chennamakal Subramanian [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 10:24 PM To: 'Struts Users Mailing List' Subject: About RowSet

Chuck Cavaness Book ..where is it now?

2002-11-20 Thread Shalu Goel
Hello, few days back i have had the opportunity to know that Chuck's book is lying at theserverside.com (for review purpose)...so i downloaded first two chapters and read them ...today agian when i wentto visit the samesite..i couldnt locate theresource...i had saved the url inmy favorites

RE: Chuck Cavaness Book ..where is it now?

2002-11-20 Thread Michael.Kessler
Title: Message You can buy a struts ebook online at: http://www.manning.com/husted/index.html -Original Message-From: Shalu Goel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 1:19 PMTo: Struts Users Mailing ListSubject: Chuck Cavaness Book ..where is it

Re: About RowSet

2002-11-20 Thread V. Cekvenich
Which is not very Model2. Anytime you do something is JSP or EL. you are writing logic in the View, which is not the layered approach, thus less efficient. Write less in View! Unless you are off loading processing to Browser via .js functions (javascript). Much better to prepare everything

Error creating form bean in Sun One

2002-11-20 Thread Umberto Dissenha Junior
Hi, I had some problems with Struts running on Sun One (formerly iPlanet). I succesfully deployed to the Reference Implementation, jBoss and OC4J, but for some reason I can´t run it well on Sun One Application Server. An exception is throw. Any help would be welcome. Thanks...

RE: About RowSet

2002-11-20 Thread Savantraj, Chennamakal Subramanian
Hi, Thanks for your reply. I think I failed to share my objective clearly with you. What we are planning to do is 1. Create a DB Table with two columns {ID VARCHAR2(20) SQL_STMT VARCHAR2(1000)} 2. Register the SQL statement with an ID in DB

Re: html:form with sub application

2002-11-20 Thread Billy Bacon
It looks like your action path in your html:form doesn't match your path in your action mapping. You have path=/addUser within your action mapping and your html:form action=/admin/addUser. Have you tried changing your action-mapping to action path=/admin/addUser. . Hope that helps.

Re: About RowSet

2002-11-20 Thread V. Cekvenich
Perhaps you wanted to create a SQL Super type. This is a commons sql design, it goes like this. Thre are many types, codes, and decodes in SQL. Newbies solve it like this. Table States: StateCode, StateName; Table Status: StatusCode, Status Table NextStep: Step, Name Table Type: Type, Name etc.

Next meeting of njMVCOpenSource is this Saturday Nov. 23

2002-11-20 Thread John Menke
We have many new things to cover. Basicportal has integrated the new DAO layer and we now have a working example showing insert, update, select and multi-table select and update processes. Demo will be on bp and how to customize bp. For information on the meeting see the Yahoo group setup for

Validator - not validating when form is submitted from remote machine

2002-11-20 Thread Gunther De Bruyckere
Hello. For our latest project, I have been using the validator functionality in Struts 1.1. I used the checks for required and double and plugged in a couple of my own validators. I got some strange behaviour using Struts 1.1 beta 2, but that went away after I replaced the included validator

Re: About RowSet

2002-11-20 Thread V. Cekvenich
I forgot to add... this way you can use the options collection tag. Writing your own tags is something you want to reduce. .V V. Cekvenich wrote: Which is not very Model2. Anytime you do something is JSP or EL. you are writing logic in the View, which is not the layered approach, thus less

Re: Change the src of Image dynamically

2002-11-20 Thread Marcus Biel
Use logic present or logic equal tags. e.g.: logic: equal name=yourBean property=yourImageProperty value=image1/ html:img src=image1.jpg/ /logic:equal logic: notEqual name=yourBean property=yourImageProperty value=image1/ html:img src=image2.jpg/ /logic:equal marcus [EMAIL

Re: MySQL connection pooling problems!! (please help)

2002-11-20 Thread andres garcia
Hi!! Actually, the problem was very silly and i have solved (i think!!) The struts connection pooling gives a ton of problems in development enviorement becuase I need to restart the tomcat when i make any changues to the classes. If I use reload from the manager, all the connections in the

RE: Enabling server-side (only) validation with Struts 1.1

2002-11-20 Thread Richards, Devin N (Devin)
Some more information on your config files and action code would be helpful. Make sure that in your action definition in the struts-config.xml you have validate=true also make sure that your Form bean extends ValidatorForm and that in your validate() method you call super.validate() to process

Tapestry as View.

2002-11-20 Thread C.K
Hello, I am thinking to use tapestry as the View of struts ? any comments..the reason is just make the best of both world, properly merge both of them ? C.K

what book/tutorial helped the most

2002-11-20 Thread cruegger
I'm trying to learn Struts quickly and am curious what book/tutorial people found most helpful? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: what book/tutorial helped the most

2002-11-20 Thread Zimmerman, Eric
I too am just learning struts. Oreilly just released a book on struts 1.1. it just shipped to me today, but it should be perfect. Eric Zimmerman CON-WAY Logistics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 8:46 AM To:

RE: what book/tutorial helped the most

2002-11-20 Thread ROSSEL Olivier
I have been using the O'reilly preview of this book. Very nice. But a bit short on certain subjects. Several articles around the web were very useful. So the O'reilly book + Google were perfect to me (I began one week ago, I am still a newbie, but happy newbie :-) I hope the book of Mr Husted

Re: MySQL connection pooling problems!! (please help)

2002-11-20 Thread Mike Way
Take care, it may not be an issue with your pool ! I have a similar environment and the Struts pool appears to correctly re-connect when tomcat restarts my application after a class change. (It should as the entire context is re-initialised!) Some things that seem to help: 1) Close all result

Re: future of struts

2002-11-20 Thread David Graham
The Struts html tags will continue to be a part of Struts even after JSF becomes more popular. However, you should use standard technologies whenever possible so the Struts team is advocating using JSF instead of the html tags in the future. You will not have to throw any existing code away.

RE: MySQL connection pooling problems!! (please help)

2002-11-20 Thread edgar
I recommend caucho resin for development with connection pooling. Since the pool in built into the container it works beautifully in development. If you are going to sell your product there are license fees however. Edgar -Original Message- From: andres garcia [mailto:[EMAIL

Re: Re: Modules in struts 1.1

2002-11-20 Thread aduprat . struts
My problem is when im in my module called module1, it seems action mapping is schearching for actions in my default struts-congig.xml file?... What makes you say this? Which build are you using? You probably want to be using a nightly build if you're using modules. There was a bug for a

Re: How to build Multi-Lingual Web Site?

2002-11-20 Thread Steven Banks
I asked this question a while back and got some very good answers. If you do a search on these archives on internationalizing large amounts of text you will get several ideas. Steven [EMAIL PROTECTED] 11/19/02 06:45PM Our application has both legal notice and privacy pages. We opted to

[Struts-Workflow] Struts

2002-11-20 Thread Matthias Bauer
Jordan, I am CC'ing this mail to the struts user list, cause this might be interesting to others, too. Nobody forces you to use a nextPath attribute. If you do not care which action follows next, then you can as well leave the nextState attribute away. But it may as well be, that I am

RE: Enabling server-side (only) validation with Struts 1.1

2002-11-20 Thread Richard Mixon
Thanks - I checked that validate=true, I'm extending ValidatorForm and I do not have a validate method in my form bean (so super.validate() should be used). In standard error, I can see that the POST is acknoledged, then I see two displays from my formbean and then nothing: Nov 20, 2002 8:45:28

RE: a html tag problem

2002-11-20 Thread Karr, David
The styleClass JSP attribute is translated to the class HTML attribute. The styleId JSP attribute is translated to the id HTML attribute. -Original Message- From: George Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 6:06 PM To: Struts Users Mailing List Subject: a

Re: Modules in struts 1.1

2002-11-20 Thread Eddie Bush
[EMAIL PROTECTED] wrote: My problem is when im in my module called module1, it seems action mapping is schearching for actions in my default struts-congig.xml file?... What makes you say this? Which build are you using? You probably want to be using a nightly build if you're using modules.

RE: Where can i get struts-el ???

2002-11-20 Thread Karr, David
If you download the nightly build, you'll see a contrib directory that contains a struts-el directory. Browse through that directory and you should find everything that you need. -Original Message- From: Andreas Langmann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002

RE: Change the src of Image dynamically

2002-11-20 Thread Karr, David
The parameters options on html:img are just to provide arguments to the URL specified as the src or path attribute. The src or path attributes specify the actual URL to the image. Use a scriptlet expression to specify the dynamic path to the image. -Original Message- From: Alireza

Re: Where can i get struts-el ???

2002-11-20 Thread Andreas Langmann
I found it, build it and - now i need to upgrade to nightly build version... or can i run struts-el with beta2 (i think not) thanks, Andreas -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

moving from struts-b2 to actual nigthly build...

2002-11-20 Thread Andreas Langmann
Hmmm... its not so easy. I changed some xml files and now everything works fine. except of my sub-applications. If i access them, i get a message HTTP ERROR: 404 /webapp/dv/dv_07_03 Not Found RequestURI=/webapp/dv/a_dv_07_03.do I assume that struts found my action definition in

Re: struggling with indexed/repeating input fields

2002-11-20 Thread Kevin HaleBoyes
From: Leonardo Maciel [EMAIL PROTECTED] I GOT IT! I forgot to send the struts-config.xml and there were the difference VERY-IMPORTANT if I set the action scope=request I get: javax.servlet.ServletException: BeanUtils.populate ... Caused by: java.lang.IndexOutOfBoundsException: Index: 2,

An action forcing Reload on the client?

2002-11-20 Thread ROSSEL Olivier
An action can either forward or redirect. Can it force the browser to reload its current URL? ---cut here--- This e-mail is intended only for the above addressee. It may contain privileged information. If you are not the addressee you must not copy, distribute, disclose or use any of the

RE: Where can i get struts-el ???

2002-11-20 Thread Karr, David
No, I'm afraid you can't use the nightly strutsel.jar with the 1.1b2 struts.jar. There have been recent changes to struts.jar which the nightly strutsel.jar depends on. If you did try it (combining the 1.1b2 struts.jar with the nightly strutsel.jar), some tags might work, but others would likely

Question About Modules

2002-11-20 Thread Madel,Kurt
My understanding is that you have to use an extension mapping in order to use the Module functionality, i.e. '*.do' What are people doing if they need to serve say a '.pdf' from an action? That is, my pdf is dynamic and requires the use of the same DAO's that I use for my jsp pages. Sure you can

RE: Enabling server-side (only) validation with Struts 1.1

2002-11-20 Thread Richards, Devin N (Devin)
Not sure what is happening, one thing to try is to write a validate() method in your ValidatorForm and then log that the method was called and then explicitly call super.validate(). Also in your JSP is your form definition: html:form action=/saveContact The onSubmit will always work if the

Re: An action forcing Reload on the client?

2002-11-20 Thread Eddie Bush
You'd have to use a META tag to do a refresh for that. ROSSEL Olivier wrote: An action can either forward or redirect. Can it force the browser to reload its current URL? -- Eddie Bush -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: How to build Multi-Lingual Web Site?

2002-11-20 Thread Jana Navaneethan
Thanks to every one for your valuable suggestions! I have decided to go with converting .html to .jsp and use properties for serving these messages. Now my properties file has 600 lines of code is it large? or is it OK? I believe this file is loaded only once by the Action Servlet and kept in

RE: An action forcing Reload on the client?

2002-11-20 Thread ROSSEL Olivier
You'd have to use a META tag to do a refresh for that. ROSSEL Olivier wrote: An action can either forward or redirect. Can it force the browser to reload its current URL? Well, you missed my question. A JSP (let's call it ???.jsp) has a link to an action. When clicked, the action makes

RE: How to build Multi-Lingual Web Site?

2002-11-20 Thread edgar
Doesn't sound large. Memory is a under 100k, tiny. I believe it is a hash search so struts finding the message should be efficient. The hardest thing I have found is to match the keys in the JSP to the keys in the properties file. Edgar -Original Message- From: Jana Navaneethan

Re: moving from struts-b2 to actual nigthly build...

2002-11-20 Thread David Graham
It might need to be forward name=success path=dv_07_03.jsp/ David From: Andreas Langmann [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: moving from struts-b2 to actual nigthly build... Date: Wed, 20 Nov 2002

Re: future of struts

2002-11-20 Thread micael
There is no issue. Whether you use struts or not you can still use the taglibs. The taglibs in struts are, in that sense, independent of struts. Struts is an application framework first and a set of taglibs as a bit of an aside, although there are obvious connections. Micael At 12:23 PM

Struts file upload validation problem

2002-11-20 Thread Poynter, Stephen
I have just written a document upload tool for a customer using the struts upload functionality. My upload jsp consists of one form that is of course a multipart/form-data form. The form consists of the file field along with other text fields where the user enters various information( owner,

Re: moving from struts-b2 to actual nigthly build...

2002-11-20 Thread Andreas Langmann
David Graham wrote: It might need to be forward name=success path=dv_07_03.jsp/ David From: Andreas Langmann [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: moving from struts-b2 to actual nigthly

RE: future of struts

2002-11-20 Thread edgar
This is obviously a true statement, kind of like motherhood and applepie. Unfortunately, an innordinately large percentage of development time is spent with the tag library, as even a casual perusal of this list reveals. Any time spent improving the interface to struts has a disproportionate

Re: moving from struts-b2 to actual nigthly build...

2002-11-20 Thread David Graham
If the Tiles request processor isn't being called then there's probably an error in your struts config. Can you post the section that defines the plugin? David From: Andreas Langmann [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List

Validation problems with the struts validator

2002-11-20 Thread Declan O'Shanahan
Hi there, I am experiencing difficulty with the struts validation functionality. I am using Internet Explorer 6.0.28 and 6.0.26 running on Windows 2000 and the problem is that browser does not interpret the HTML of a response from a tomcat server (version 4.0.3) running under Tru64 with the

Problem with database connexion on Struts Nightly Build

2002-11-20 Thread Yann Verlynde
Hello, I tried to connect Struts with Oracle Database, when I did a dataSource.getConnection(); on my datasource I have the following exception: Can I have Helps please? Thanks in advance. javax.servlet.ServletException: Servlet execution threw an exception at

html:submit value not found in request, version 1.02 beta

2002-11-20 Thread Linnea Ahlbeck
Hi! On my jsp pages I have the following code: td align=left valign=bottom width=90% html:submit styleClass=button bean:message key=button.view/ /html:submit /td (On my jsp page I only have one html:form tag) In my SaveAction class I collect the submit value from the request, like

Re: How to build Multi-Lingual Web Site?

2002-11-20 Thread Martin Cooper
On Wed, 20 Nov 2002, Jana Navaneethan wrote: Thanks to every one for your valuable suggestions! I have decided to go with converting .html to .jsp and use properties for serving these messages. Now my properties file has 600 lines of code is it large? or is it OK? I believe this file is

Re: enter disable

2002-11-20 Thread Joe Polanik
Gemes Tibor wrote: 2002. november 15. 13:06 dátummal Gus Delgado ezt írtad: How can I disable the htm:text tag so that nothing will happen when the use hits the enter key. The way it works right now everytime you hit the enter key in a text field it tries to submit the request. any flags that

RE: html:submit value not found in request, version 1.02 beta

2002-11-20 Thread Karr, David
I would guess it can't find the button.view property in your properties file. If that was nonexistent, the value would be null. (Note that there is no 1.02 beta version. There's versions 1.02 and 1.1b2 (and the nightly).) -Original Message- From: Linnea Ahlbeck [mailto:[EMAIL

RE: html:submit value not found in request, found a solution

2002-11-20 Thread Linnea Ahlbeck
Hi David! Thanks for your tip. The button.view property in your properties file has been found all the time but I'm not used to add the property attribute to the html:submit tag. When I did that the request parameter was found (and probably created to begin with) and therby able to reach from my

Re: Struts file upload validation problem

2002-11-20 Thread Martin Cooper
On Wed, 20 Nov 2002, Poynter, Stephen wrote: I have just written a document upload tool for a customer using the struts upload functionality. My upload jsp consists of one form that is of course a multipart/form-data form. The form consists of the file field along with other text fields

Error creating form bean in Sun One

2002-11-20 Thread Umberto Dissenha Junior
Hi, I had some problems with Struts running on Sun One (formerly iPlanet). I succesfully deployed to the Reference Implementation, jBoss and OC4J, but for some reason I can´t run it well on Sun One Application Server. An exception is throw. Any help would be welcome. Thanks... Umberto

Re: Struts file upload validation problem

2002-11-20 Thread Mark Lepkowski
You could have the user enter the meta data first, and then after it's validated let the user choose the file to upload. - Original Message - From: Poynter, Stephen To: Struts Users Mailing List (E-mail) Sent: Wednesday, November 20, 2002 12:03 PM Subject: Struts file upload

[tiles] relative paths for the .jsp files

2002-11-20 Thread Wendy Smoak
Given the following structure: /path/to/tomcat/webapps/myApp/three.jsp /path/to/tomcat/webapps/myApp/four.jsp /path/to/tomcat/webapps/myApp/WEB-INF/jsp/one.jsp /path/to/tomcat/webapps/myApp/WEB-INF/jsp/two.jsp /path/to/tomcat/webapps/myApp/WEB-INF/jsp/header.jsp

Re: future of struts

2002-11-20 Thread V. Cekvenich
If anyone spends a large percentage of time in the tags, jsp or view, then they are not fully using Model2, MVC layers. Alas, there are a lot of people who are need help with Struts on this list. (One example: newbies tend not to unit test the bean, so they debug it in the JSP. A player uni

RE: Chuck Cavaness Book ..where is it now?

2002-11-20 Thread Ken Riley
The preview chapters can be found at http://www2.theserverside.com/resources/strutsreview.jsp. As far as I know the book hasn't made to the stores yet. It should be available later this month. -Original Message- From: Shalu Goel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20,

RE: [tiles] relative paths for the .jsp files

2002-11-20 Thread James Mitchell
Wendy, the source code for Struts-Atlanta does some of what (I think) you are wanting to do. Feel free to download it from either http://www.open-tools.org/struts-atlanta/downloads (as a zip) or http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/struts/struts-atlanta/ (cvs view) James

Re: Struts file upload validation problem

2002-11-20 Thread Brian Hickey
Martin is correct :o) Also be aware that very very large files can exceed the setting of Java temp space (memory) allocation is some containers and crash them. One approach that works is to write a simple file upload script in Perl. This allows you to check content-type, size, etc. and reject

Re: MySQL connection pooling problems!! (please help)

2002-11-20 Thread Dragan Ljubojevic
On Tuesday 19 November 2002 14:43, matthew yee-king wrote: You could try setting the autoReconnect parameter on the mysql url: jdbc:mysql://mydomain:3306/mydatabase?autoReconnect=true cheers matthew It's working. Now I dont have to reload application every morning. Thank you. Dragan

Re: Struts file upload validation problem

2002-11-20 Thread Eddie Bush
Brian Hickey wrote: Martin is correct :o) Also be aware that very very large files can exceed the setting of Java temp space (memory) allocation is some containers and crash them. One approach that works is to write a simple file upload script in Perl. This allows you to check content-type,

JSTL Question (EL vs. RT + Struts)

2002-11-20 Thread Hohlen, John
My team is starting a new project with Struts. In our previous Struts projects, our JSPs used mostly tags from the Struts tag libraries. For our new project, I want my team to start using the JSTL. For that reason, the Struts-EL subproject is very appealing because it will force our developers

Problem with Action Forward

2002-11-20 Thread CraigFournier
Hello, I am a newbie with Struts and am trying to get a simple application up and running. I have a JSP page with a form on it that comes up fine. When I click on the submit button, it appears to find the action but nothing is displayed on the screen. (not even and error message). I believe

Sending a file

2002-11-20 Thread Michael Lee
Is there a way in struts, that, if a user is validated, send them a local file? This is so if someone paid for a piece of software they would be given access to a screen to download it? thanks, Mike

Re: JSTL Question (EL vs. RT + Struts)

2002-11-20 Thread David Graham
You should use the JSTL EL library because of the expression language's power. These tags replace most of the logic and bean tags from Struts. On my projects I only use the struts html taglib and the rest is handled with jstl. The constants in JSP issue is tricky and I haven't solved it

Re: Struts file upload validation problem

2002-11-20 Thread Martin Cooper
On Wed, 20 Nov 2002, Eddie Bush wrote: Brian Hickey wrote: Martin is correct :o) Also be aware that very very large files can exceed the setting of Java temp space (memory) allocation is some containers and crash them. One approach that works is to write a simple file upload script in

RE: Question About Modules

2002-11-20 Thread Madel,Kurt
Anyone using modules and going through an action to generate dynamic database driven pdf's??? Anyone . Kurt Madel Programmer, CSMi (703) 823-4300 ext. 170 -Original Message- From: Madel,Kurt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 11:27 AM To: 'Struts Users

FormFile and display in html:img ... tag

2002-11-20 Thread Jean-Baptiste Onofré
Hello, in a form, i get a FormFile object. This work fine (i display the ContentType, etc). The file uploaded is a image type file (image/jpg or image/gif, this is verify in the form bean associate). I would like to populate a bean with can display in JSP. For exemple, i have my class that

Re: JSTL Question (EL vs. RT + Struts + nested?? )

2002-11-20 Thread Jeff_Mychasiw
I am curious about how the nested taglib fits into this discussion. I have been using the nested tags for just about all my forms and logic tags. Do JSTL tags have the capability as nested tags? Thanks David Graham [EMAIL PROTECTED] on 11/20/2002 01:37:27 PM Please respond to Struts Users

Enabling debug levels - which way?

2002-11-20 Thread Richard Mixon
In trying to track down why my action is not being called in a previous post (Enabling server-side (only) validation with Struts 1.1), I am having a heck of a time getting the debug parameters to change. I've tried changing the value in the web.xml file: !-- Standard Action Servlet

Re: Question About Modules

2002-11-20 Thread Eddie Bush
The issue is not related to modules. There have been several solutions for this posted at various times in the past. Each of them should still work. Modules really don't play a part - you've simply got to inform the browser of what it's going to receive in such a way that it understands the

RE: Enabling debug levels - which way?

2002-11-20 Thread Richard Mixon
Forgot to add - I'm using the SimpleLog implementation for now, and I am running J2SDK 1.4.1. -Original Message- From: Richard Mixon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 12:54 PM To: [EMAIL PROTECTED] Subject: Enabling debug levels - which way? In trying to

Re: Question About Modules

2002-11-20 Thread Antoni Reus
Hi, A Dimecres 20 Novembre 2002 17:26, Madel,Kurt va escriure: My understanding is that you have to use an extension mapping in order to use the Module functionality, i.e. '*.do' What are people doing if they need to serve say a '.pdf' from an action? That is, my pdf is dynamic and requires

Re: JSTL Question (EL vs. RT + Struts)

2002-11-20 Thread Kris Schneider
You pretty much need the RT taglibs to get at constants: c_rt:set var=errorKey value=%= org.apache.struts.Globals.ERROR_KEY %/ c:set var=errors value=${requestScope[errorKey]}/ Quoting David Graham [EMAIL PROTECTED]: You should use the JSTL EL library because of the expression

RE: Question About Modules

2002-11-20 Thread edgar
Yes, I am in the middle of an extensive PDF output project. I have started to create dynamic names and forwarding to them and put them on a delete list in order to give them pdf names so IE would know how to handle them. I hadn't got to the file handling part yet so your post is timely. I

RE: Enabling debug levels - which way?

2002-11-20 Thread Karr, David
If you want more debug information from Struts, and you're using the default SimpleLog, then put a file named simplelog.properties in your WEB-INF/classes with the following contents: org.apache.commons.logging.simplelog.defaultlog = debug -Original Message- From: Richard Mixon

Illegal target of jump or branch w/Tomcat

2002-11-20 Thread Emmanuel Bridonneau
Some double talk, so I ran into this JVM exeption after switching from the oh you're too expensive for me Weblogic to you're great for a free software JBoss. Turns out that Tomcat (used in conjunction w/JBoss) has a 64kb limitation whilst generating the servlet code from a JSP. I intend to

RE: Question About Modules

2002-11-20 Thread Madel,Kurt
I suppose for static pdf you could use Struts 1.1 action forward class and just set the parameter to be the actual pdf: action path=/action.pdf parameter=/pdfs/static_pdf.pdf type=org.apache.struts.actions.ForwardAction scope=request validate=false /action I haven't

RE: Illegal target of jump or branch w/Tomcat

2002-11-20 Thread edgar
I believe the simplest way of dealing with this is just to use nested classes. Dr. Kabutz has an interesting discussion of Java limitations (attached). I.E. if you have a class class A { m1 m2 ... mn } Use instead

  1   2   >