How to handle exceptions properly ?

2002-03-21 Thread Slimane Zouggari
Hi, I already looked at the JGuru FAQ and other resources but I didn't find any good (and complete information) on the subject. So, if it's already been asked, I'm very sorry and I hope you would point me to the URL where I can find the info. So, what's the best way to handle exceptions

Re: [Struts / Template] Problems including a *.do.

2002-03-21 Thread Cedric Dumoulin
I think that you can't call an action (* .do) from inside a template' insert. This is because templates do an include(), and then action do a forward(). This result in a 'error : response already committed' because jsp forbids a forward() after an include(). Try to use Tiles instead of

Re: Error-page problem with Tiles

2002-03-21 Thread Cedric Dumoulin
Hello, It looks like the web server do an error catching on a request basis rather than on a include basis. When you use the server general mechanism, via a declaration in web.xml, the exception is catch by the top level page where the request start. As Tiles insert mechanism catch any

How to display a static file in a body tile

2002-03-21 Thread Manuel Riche
I use the taglib tiles and i want display a static file (an html file with pictures) with an absolute URL in a body's tile. Is it possible and how can i do that ? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Struts 1.1 Beta 1 Released : newbee question

2002-03-21 Thread Lee, Dennis
Hi, I have the same error using Tomcat 3.3a. But I haven't had this using the nightly build 20020318. Best Regards, Dennis Lee -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 5:17 PM To: Struts Users Mailing List Subject: Struts 1.1

RE: Use of stuts in J2EE

2002-03-21 Thread Vikram Goyal01
Dave, Thanks again for the detailed reply. Where can I find information about the Map proxy pattern? I found Dynamic pattern but not Map Proxy? Rgs Vikram 1) We use many patterns to implement this, but I think that you are referring to the Value Object pattern2) The copy part of the

[Newbie] stupid problem with option tag

2002-03-21 Thread Slimane Zouggari
Hi, I know this is really silly, but I can't get it working :( Here's my problem: I try to write into an option tag. I tried first using struts tag (with and without escape characters) html:option value=bean:write name=\elt\ property=\id\/ html:option value=bean:write

FW: URL Probleme II

2002-03-21 Thread rizvan . katchera
_ Forward Separator Rizvan KATCHERA (PARIS) 21/03/2002 10:59 |---+--| | |Return Receipt: No| |

Re: [Newbie] stupid problem with option tag

2002-03-21 Thread Nicolas De Loof
1. html:option value=bean:write name=elt property=id/ is not valid because JSP tag syntax is XML styled, i.e. a tag call cannot include another tag as attribute. Instead you can use scriplet notation if the tld file declare that the attribute can be JSP content (oposite to a constant value) :

RE: [Newbie] stupid problem with option tag

2002-03-21 Thread Gar?ar ?. Gu?geirsson
I believe you may be missing a slash at the end of the html:option tag. This might do the trick: html:option value=bean:write name=elt property=id// Regards, Gardar -Original Message- From: Slimane Zouggari [mailto:[EMAIL PROTECTED]] Sent: 21. mars 2002 11:01 To: [EMAIL

URL Probleme II

2002-03-21 Thread rizvan . katchera
__ Reply Separator _ Rizvan KATCHERA/fr/socgen@socgen 20/03/2002 16:21:00 |---+--| | |Return

RE: Struts problem whith Xalan (xml-apis.jar)

2002-03-21 Thread Javier Campoamor
After one day testing (but only few minutes thinking), we have found the problem. The problem was that ServletExec 4.1 includes Crimson Jaxp, and the xml-apis.jar file included with Xalan overrides some classes defined there. We deleted those clases in the xml-apis.jar, and now the

RE: Struts 1.1 beta Sample DB app. = FREE T-Shirt - Struts Menu problem

2002-03-21 Thread Jon.Ridgway
Hi Vic, I noticed that you are using a version of the struts menu that uses the plug-in functionality. Couple of questions: 1) Where did you get this version, specifically the version I have doesn't have a com.fgm.web.menu.MenuPlugIn class. 2) Do you know why I might be getting the error:

BUG in org.apache.struts.util.ResponseUtils.filter(String value) method in v.1.0.2

2002-03-21 Thread Serge A. Redchuk
Hello all ! I think there is a bug in BUG in org.apache.struts.util.ResponseUtils.filter(String value) method in v.1.0.2 This useful method states: public static String filter(String value) { if (value == null) return (null); char content[] = new

Re: BUG in org.apache.struts.util.ResponseUtils.filter(String value) method in v.1.0.2

2002-03-21 Thread Nicolas De Loof
And why not converting é to eacute; and so on whith all HTML entities ? All ok, but why this method does not converts '\n' to br ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL

RE: [Newbie] stupid problem with option tag

2002-03-21 Thread Slimane Zouggari
Hi, thanx for your answer, but that didn't do the trick :( in fact when I add a slash at the end, here's the error I have: html:option value=bean:write name=elt property=id/ / error: ProjectAddRequest.jsp: Attribute elt has no value at line 39, column 44 Friendly Regards, Slimane At 11:19

Re: Nester iterate and style sheet

2002-03-21 Thread Mark Nichols
Check out this thread... http://www.mail-archive.com/struts-user@jakarta.apache.org/msg19260.html /\/\ark From: Sanjay Choudhary [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Nester iterate

Re: [Newbie] stupid problem with option tag

2002-03-21 Thread Nicolas De Loof
Hi, Thanks for your answer, but I'm not sure I understood it. You say, if I understand it right, that my first try (using the html tag of Struts) wasn't correct. And that my second try (using simple html tag) should work. Your second try is mixing JSP tag with escaped and non-escaped

BUG in org.apache.struts.util.ResponseUtils.filter(String value) method in v.1.0.2

2002-03-21 Thread Serge A. Redchuk
Hello all ! I think there is a bug in BUG in org.apache.struts.util.ResponseUtils.filter(String value) method in v.1.0.2 This useful method states: public static String filter(String value) { if (value == null) return (null); char content[] = new

RE: BUG in org.apache.struts.util.ResponseUtils.filter(String value) method in v.1.0.2

2002-03-21 Thread Andy Jefferies
The function of this method is to conveniently ensure that the text you're writing does not break or invalidate your HTML/XHTML/XML. E.g. convert x = y to x lt;= y so that an XML processor can process it (otherwise it could just throw an error). However, if you converted two lines to two br

Re: [Newbie] stupid problem with option tag

2002-03-21 Thread Slimane Zouggari
Hi, THANX A LOT ! :) now it works :) It was indeed the second method which did the trick. Friendly Regards, Slimane At 14:02 21/03/2002 +0100, you wrote: Hi, Thanks for your answer, but I'm not sure I understood it. You say, if I understand it right, that my first try (using the

OT: Dynamic JSP include

2002-03-21 Thread Hardee, Tony
I apologize in advance for submitting an off topic request to the struts user community. However, this group is quite knowledgeable and helpful and I could really use some assistance. Basically I want to have a dynamic include in a JSP. Ideally I would like the following snipping to work. 1

Re: OT: Dynamic JSP include

2002-03-21 Thread SUPRIYA MISRA
try this. Not sure %@include file=%=includeFile% % From: Hardee, Tony [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: OT: Dynamic JSP include Date: Thu, 21 Mar 2002 13:48:55 - I apologize in advance for

Re: Properties

2002-03-21 Thread Ted Husted
Struts uses the standard resource properties files, which can also be made part of a localized resource bundle. http://java.sun.com/docs/books/tutorial/i18n/resbundle/concept.html Some containers reload these automatically, others do not. Besides the localization features the resource

Re: OT: Dynamic JSP include

2002-03-21 Thread Martin Samm
i'm surpised, i do the same thing in one of my JSP's (tomcat 3.2 on RH7.1 linux) : i create a variable (incPage) in a preceeding % % block then issue jsp:include page=%= incPage % flush=true/ Which works fine - is the URL you generate correct? On Thursday 21 Mar 2002 1:48 pm, you wrote: I

RE: OT: Dynamic JSP include

2002-03-21 Thread Hardee, Tony
Martin, You nailed it! The URL was incorrect. I was missing a / at the beginning. Thanks for your assistance. Cheers, Tony -Original Message- From: Martin Samm [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 8:55 AM To: Struts Users Mailing List Subject: Re: OT: Dynamic

RE: Use of stuts in J2EE

2002-03-21 Thread Dave J Dandeneau
Here is a link that talks about Dynamic Proxy classes. That is essentially what we are using, but the underlying storage is a map. http://java.sun.com/j2se/1.3/docs/guide/reflection/proxy.html thanks, dave -Original Message- From: Vikram Goyal01 [mailto:[EMAIL PROTECTED]] Sent:

Re: OT: Dynamic JSP include

2002-03-21 Thread sander-martijn
I've done this with resin on linux, osx and w2k and with websphere/sunOs - when i tried it last week using tomcat/apache/struts/linux (not sure versions of any of them because i'm not at work) I got an error message telling me it was against the jsp spec. I'll get the exact message and

RE: OT: Dynamic JSP include

2002-03-21 Thread Jim Tyrrell
Everyone, Line 11 should have quotations around it like: jsp:include page=%=includeFile% flush=true/ I do this throughout my application with JRun and with Tomcat and it always has worked fine. You can not do something like this at least with what I am running: jsp:include

Re: Struts 1.1 beta Sample DB app. = FREE T-Shirt - Struts Menu p roblem

2002-03-21 Thread @Basebeans.com
Subject: Re: Struts 1.1 beta Sample DB app. = FREE T-Shirt - Struts Menu p roblem From: Vic Cekvenich [EMAIL PROTECTED] === Struts menu is on Source Forge (the new version of Struts - menu uses Struts 1.1 services, like Validator does). So you have to use it in Struts 1.1 that uses service plug

RE: OT: Dynamic JSP include

2002-03-21 Thread Dave J Dandeneau
We have found that using tomcat 3.2.1 it will not parse the inner script tag... We did this: % String baseUrl = /pages; System.out.println(baseUrl); % jsp:include page=%= baseUrl %/header.jsp flush=true/ We get a message saying /header.jsp could not be found. I have a feeling that older

RE: Struts 1.1 beta Sample DB app. = FREE T-Shirt - Struts Menu p roblem

2002-03-21 Thread Jon.Ridgway
Hi Vic, Many thanks for the response; I am using struts 1.1, hence the plugin stuff in struts-config mentioned below, but I still appear to get the error mentioned below. Any ideas? I noticed you had an extra plugin at the bottom of your struts-config, you mention a bug, could this be related or

RE: OT: Dynamic JSP include

2002-03-21 Thread Moritz Petersen
i just wrote a custom tag, that allows you to include a page like: my:includehttp://your.url.here//my:include so it is possible to use clean struts tags for writing the url: my:includebean:write name=myURL//my:include it works with http:// adresses, absolute urls (/mypage.jsp) and relative

RE: DB connection pool

2002-03-21 Thread Boyalla, Raveendra
Hi Maris, look into the following url. Use GenericDataSource as Pool http://jakarta.apache.org/struts/doc-1.0.2/api/org/apache/struts/util/Generi cDataSource.html Raveendra Boyalla -Original Message- From: Teague, Susan [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 10:15

Struts Validator: Use of anchor tag

2002-03-21 Thread @Basebeans.com
Subject: Struts Validator: Use of anchor tag From: Arthur Frankel [EMAIL PROTECTED] === Due to lots of fields on a form, I am trying to offer links within the error messages (using Struts Validator). I would assume that I can do something like this, errors.date=A HREF='#{0}'{0}/A is not a

- Iterate tag with multiple id's? -

2002-03-21 Thread hemant
Here is a scenario. (Struts 1.0.2.) I get a collection of objects and each object holds references to 2 more objects, which are essentially beans. I want to iterate, and get data from both these beans at once but the iterate tag allows only one bean id declaration per iterate as shown below

message keys

2002-03-21 Thread Juan Alvarado \(Struts List\)
I am trying to ouput the following: a href=http://some.website.com;img src=bean:message key=url//home10-08-00/img/b_cvfut.gif width=93 height=56 border=0/a The problem is that the call to bean:message... returns nothing but plain text. I have even tried it with single quotes and no luck. If

RE: Struts 1.1b-1 - Parsing error processing resource path /WEB-INF/struts-config.xml

2002-03-21 Thread Steve Hupert
Thanks for your response. I have tried what you indicated and continue to have the same problem. Additionally, I attempted to place all of the jar files from java_xml_pack-spring02-dev\jaxp-1.2-ea2 (dom, jaxp-api, sax, xalan, xercesimpl, and xsltc) in my WEB-INF/lib directory and rebuilt

Tiles sub-applications?

2002-03-21 Thread Ian Tomey
Hi all, been reading about tiles in struts 1.1-b1 and just wondering if it supports sub applications when using definitions? we would need it to support a number of definitons files , one for each sub application Cheers Ian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: Using 2.3 Filters and Struts

2002-03-21 Thread John Regan
Thanks Todd! I've developed a very similar solution. Here are a couple of questions/comments about the code: 1. I noticed that you are storing the user object in the session every time this filter is invoked with a valid user. My solution sets the user object once in the session after a

RE: Programmed Actions With Struts Applications

2002-03-21 Thread Joseph Barefoot
I'm not sure how (or if) you can do this within the Struts framework, but if I were going to do it, I would create a simple start-up Servlet (i.e., configured to init on server startup in the web.xml file) whose only function is to instantiate a Worker object. This Worker object creates a Thread

RE: Programmed Actions With Struts Applications

2002-03-21 Thread Roger Fortier
You may take a look at the following article in JavaPro for ideas: Take Java to Task - Building your own Java component to run and schedule tasks is easy with two new JDK classes http://www.fawcette.com/javapro/2002_02/magazine/features/eberkovich/ -Original Message- From: Jose

Page wrapper element?

2002-03-21 Thread eschneider
Hi, I was wondering if anyone has some pointers on how to create sort of a 'page wrapper' with struts. I figure someone has tried something like this before All of my pages have the same layout: __ | header | |__| || | ||

Problem using onblur event on Solaris

2002-03-21 Thread Meenakshi Krishnamurthy
Hi, I am facing a problem with the Struts'onblur' tag on Solaris machine. It doesn't seem to get fired on Solaris machine, while the same onblur event works fine on Windows. It would be great if anyone knows the reason for this problem or a work around. thanks, Meenakshi

RE: Page wrapper element?

2002-03-21 Thread Brad Rhoads
The struts-template example does just that. It's part of the struts download. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 12:30 PM To: [EMAIL PROTECTED] Subject: Page wrapper element? Hi, I was wondering if anyone has some

HTML:select multiple=true

2002-03-21 Thread johnseitz
I have an object called AreaCode which contains a property called areaId. I have an object called AreaDislayBean which contains a property called areas. This property is an array property which returns AreaCode[] array. My html:select tag looks like this: html:select name=Constants.ADB

1 tile - 1 controller

2002-03-21 Thread Jon Ferguson
Hey guys, I read in the tiles doc that you can associate a controller with each tile. However, I cannot find an example of how this is done. Any pointers? Thanks in advance, Jon -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Possble bug in html:link tag

2002-03-21 Thread Pedone, Tim
Upon further investigation, looks like the problem resides with my Servlet engine's implementation of Response.encodeURL() Tim -Original Message- From: Pedone, Tim [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 8:53 AM To: '[EMAIL PROTECTED]' Subject: Possble bug in html:link

RE: Page wrapper element?

2002-03-21 Thread Steve Hupert
You may also want to look at the tiles framework (included in the 1.1 beta or at http://www.lifl.fr/~dumoulin/tiles/) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 12:30 PM To: [EMAIL PROTECTED] Subject: Page wrapper element? Hi,

RE: Possble bug in html:link tag

2002-03-21 Thread sgouris
Its actually the order in which the url is built inside org.apache.struts.util.RequestUtils. Look at the computeURL method. -Shyam Pedone, Tim

RE: Possble bug in html:link tag

2002-03-21 Thread Pedone, Tim
While the order is determined by RequestUtils.computeURL(), this final URL is then given to Response.encodeURL() to handle putting the jsessionid into the URL. I looked at the implementation of my Servlet engine (Resin) and it puts the jsessionid after the anchor. I then looked at how Tomcat

Struts html taglib

2002-03-21 Thread Sudipta Sarkar
Hi, I am using struts 1.0.2 on weblogic 6.1sp2 jdk1.3.1. I am facing the folowing problem: html:text property=abc value=jsp:getProperty name=mybean property=firstName / does not work. This does not even render the textbox. The generated html is html:text property=ssn value=/. If I replace the

Where are the commons-*.jar files?

2002-03-21 Thread Lawlor, Frank
The nightly builds used to have the commons-*.jar files but the currently availble ones don't seem to have them. The readme says they are in the lib dir of the distribution but I can't find them in any of the distributions. Where can I find the latest ones? Frank Lawlor Athens Group, Inc. (512)

logClassName problem under JDK 1.4 (nightly build)

2002-03-21 Thread Lawlor, Frank
I'm using a struts nightly build (1/2/02) and it uses the commons-*.jar files. Before upgrading to JDK 1.4 the console would say something like: logClassName=NoOpLog Now it says logClassName=org.apache.commons.logging.impl.Jdk14Logger and in the localhost_log I get:

How do I pre-select an element from a select list?

2002-03-21 Thread @Basebeans.com
Subject: How do I pre-select an element from a select list? From: Scott Danzig [EMAIL PROTECTED] === Hi, Using Struts, I'm able to create an instance of a form, and prepopulate it with various information, then have it display this information in HTML spawned from a JSP page after the

Best practice for using constants

2002-03-21 Thread Jennings, Christofer J.
Hi, I want to fill radio button values with values from a constants class. What is the best practice for this using struts? For example, this code... html:radio value=C4 property=crtainNum /Curtain Number Four ... could be... html:radio value=%

RE: logClassName problem under JDK 1.4 (nightly build)

2002-03-21 Thread Couball, James
Frank, The class Jdk14Logger can be found in the nightly build jakarta-commons logging project. You can get this jar at: http://jakarta.apache.org/builds/jakarta-commons/nightly/commons-logging/ Hope this helps. Sincerely, James. -Original Message- From: Lawlor, Frank

How do I configure a multi-app and URLs to reach sub-apps

2002-03-21 Thread @Basebeans.com
Subject: How do I configure a multi-app and URLs to reach sub-apps From: Matt Raible [EMAIL PROTECTED] === I am trying to integrate the multi-app support into my application. I am using tiles and the ActionComponentServlet as my action class. I have the following settings configured for the

RE: How to compare a notNull string with the nullString!

2002-03-21 Thread Yu, Yanhui
HI might not be considered a valid value? Sorry if I am wrong. Yanhui -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 9:25 AM To: [EMAIL PROTECTED] Subject: How to compare a notNull string with the nullString! Subject: How to

RE: Nester iterate and style sheet

2002-03-21 Thread Dimitar Stavrakov
Try this : .tableEvenRow{background-color:#dd;color:black;font-family:verdana;font- size:10px;} .tableOddRow{background-color:white;color:black;font-family:verdana;font-siz e:10px;} % String [] rowStyle = { tableOddRow, tableEvenRow }; int i=0; % logic:iterate id=page

how to dynamically change form in a tag

2002-03-21 Thread Bill Page
I can't seem to change the action on an html:form dynamically I have this: html:form action=/AccountMaint I want to use html:form action=/AccountMaint or html:form action=/CreateAccount I tried to use an if around it % if( something) { % html:form

Re: How do I pre-select an element from a select list?

2002-03-21 Thread Sudipta Sarkar
Step 1. In JSP html:select property=choice value=2 html:options labelProperty=labels property=values/ /html:select Step 2. the formbean has methods getLabels and getValues() public Collection getLabels() { ArrayList a = new ArrayList();

RE: How to compare a notNull string with the nullString!

2002-03-21 Thread Dimitar Stavrakov
Try using the present tag ex: logic:present name=bean Name here property=property name here / Regards, Dimitar -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 9:25 AM To: [EMAIL PROTECTED] Subject: How to compare a

RE: Programmed Actions With Struts Applications

2002-03-21 Thread Tim Sawyer
Presuming you've split out your business logic from your presentation layer, you can write a simple client to your business logic (bypassing all the struts stuff completely) and then call that simple client at 2am. Or write a client that sits there until 2am and then calls your business logic

Re: Problem using onblur event on Solaris

2002-03-21 Thread Eddie Bush
I think it's typical that most Un*x implementations of browsers don't 'behave as nicely' with regard to JavaScript features as do Windows browsers. Why? I don't know - seems to be a fact of life. It's not struts though - it's the browser. I don't like this either. However, javascript is

Re: Property file

2002-03-21 Thread Arron Bates
Take a look in your Javadoc for standard edition, and look up java.util.Properties Easient way to get a file from your classpath is to use the class object's getResourceAsStream method. eg: Properties p = new Properties(); p.load(this.getClass().getResourceAsStream(configFileName)); Then you

Re: - Iterate tag with multiple id's? -

2002-03-21 Thread Arron Bates
You could just the bean properties from the returned object. Say each one had a name attribute, to write it out... logic:iterate id=iterateBean bean:write name=iterateBean property=beanPropertyOne.name / bean:write name=iterateBean property=beanPropertyTwo.name / /logic:iterate

front end madness?

2002-03-21 Thread theron . kousek
We're converting our existing JFC/Swing application to use struts.We have 3 developer's and have written alot of jsp's. Our pages look quite a bit different and it's time to start converging them to use a uniform front-end look and feel. Can others offer opinions as to how you're doing

Extension issues

2002-03-21 Thread Antony
Hi: I think Struts is coming up with several interesting extensions: -Tiles -Validator -Workflow The bad thing is that you have to use appropriate ActionServlet implementation for each extension. Therefore you cannot, theoratically, use tiles for multiple view

Re: How do I pre-select an element from a select list?

2002-03-21 Thread @Basebeans.com
Subject: Re: How do I pre-select an element from a select list? From: Scott Danzig [EMAIL PROTECTED] === This helps a lot... it was very clear. I'm stuck on one more thing. I need to dynamically set the preselected value from the Action class. I tried adding a property to the form:

Re: How do I pre-select an element from a select list?

2002-03-21 Thread Jim Crossley
Remove the value attribute from the html:select tag. In your action's perform method, call formbean.setChoice(2) prior to forwarding the request to your jsp. Struts Newsgroup (@Basebeans.com) [EMAIL PROTECTED] writes: Subject: Re: How do I pre-select an element from a select list? From:

Re: Difference between 'id' and 'name'

2002-03-21 Thread Arron Bates
name is the bean that you're working against (with the property attribute etc), and id is the bean that's going to be the result. [EMAIL PROTECTED] wrote: With the bean:define tag, can some explain to me the difference between the 'id' attribute and the 'name' attribute? I always get confused

Application without cookies and sessions

2002-03-21 Thread Enrique Rodriguez
Hi all, I'm very newbie with struts and java. I'm developing an application anf I don't like to use cookies or session objects. Focusing in the struts example, the user is in the session. Why not set this object in the request parameter in all the actions and jsps?? ActionClass //Code

How do I use Tiles w/ iFrame

2002-03-21 Thread @Basebeans.com
Subject: How do I use Tiles w/ iFrame From: Matt Raible [EMAIL PROTECTED] === Simple Scenario: - I want to define a template (layout.jsp) that contains an iframe. layout.jsp iframe src=tiles:getAsString name=page/ id=window frameborder=0/iframe

including cocoon in jsp using struts

2002-03-21 Thread Moritz Petersen
hello! sorry for cross-posting this to cocoon-uses and struts-user! i have the problem, that i need to dynamically include cocoon results into a jsp page. because we use

including cocoon in jsp using struts

2002-03-21 Thread Moritz Petersen
hello! sorry for cross-posting this to cocoon-uses and struts-user! i have the problem, that i need to dynamically include cocoon results into a jsp page. because we use

Re: how to dynamically change form in a tag

2002-03-21 Thread Nicolas De Loof
JSP Tags use an XML syntax, so you must have the same number of opening and closing html:form jsp tags in your jsp. This is why your JSP engine failed. acording to struts-form.tld, action attribute in html:form tag can be JSP computed. Try this: % String actionPath; if( something) {

Re: Struts html taglib

2002-03-21 Thread Nicolas De Loof
JSP Tag extension uses XML syntax, so JSP Tag calls cannot be nested (a JSP Tag attribute cannot be set by another tag). You can instead use scriptlet to set this value html:text property=abc value=%= ... % / Hi, I am using struts 1.0.2 on weblogic 6.1sp2 jdk1.3.1. I am facing the