How to pass sql variable from jsp to Action?

2005-09-01 Thread 梁炳場
I retrieve a group id by JSP. sql:query ...SELECT group_id../ When user clicks a link html:link .../ Before another page is shown, in my struts-config.xml, I try to make a ActionForward function to capture the group_id and then update a session attribute . Then the resulting jsp is like this

DAOs in service methods

2005-09-01 Thread Paul Benedict
Hey guys. I have alot of service objects called from Struts, and each have a good deal of service methods. Service methods mainly do business logic and talk to DAO objects. Question: I've taken the approach of service methods having the responsibility of instantiating DAO objects locally and

Re: resource not found error

2005-09-01 Thread Swapnil Patil
Hi Nirmala, You might have some errors in struts servlet mapping. check your web.xml with http://www.reumann.net/struts/lesson1/step7.do . On 9/1/05, Nirmala Dhara [EMAIL PROTECTED] wrote: Hi, I am new to struts. I tried http://www.reumann.net/struts/lesson1.doexample with tomacat. I am

RE: resource not found error

2005-09-01 Thread Murugesan, Kathiresan \(Cognizant\)
---BeginMessage--- if you deployed the war then check in which name it is deployed in the your tomcat context and try with that name. From: Swapnil Patil [mailto:[EMAIL PROTECTED] Sent: Thu 9/1/2005 12:14 PM To: Struts Users Mailing List Subject: Re: resource

Re: How to pass sql variable from jsp to Action?

2005-09-01 Thread 梁炳場
I wonder if it is a proper way to do it because the 1st query displays a no of rows with different group ids. Can the html:link pass a value to Action? If it can, it is excellent. Should it be done like this? change the layout from a no of links html:link to a no of forms html:form In each form,

AW: How to pass SQL variable from JSP to Action?

2005-09-01 Thread R. Markham
Hallo Nobody(??) It is bad practice to put SQL Statement in a JSP page. Regards Richard Markham -Ursprüngliche Nachricht- Von: ??? [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 1. September 2005 05:30 An: Struts Users Mailing List Betreff: Re: How to pass sql variable from jsp to

Struts Documentation

2005-09-01 Thread Gonella Jayprakash
Hi, Can anyone please tell where to get the documentation for Struts. I cannot find any link for downloading the struts doc on struts.apache.org. Thanks Regards, Jayprakash * Disclaimer: The contents of this E-mail (including

Re: DAOs in service methods

2005-09-01 Thread Leon Rosenberg
On Wed, 2005-08-31 at 21:19 -0700, Paul Benedict wrote: Hey guys. I have alot of service objects called from Struts, and each have a good deal of service methods. Service methods mainly do business logic and talk to DAO objects. Question: I've taken the approach of service methods

writing a FWRequestProcessor

2005-09-01 Thread Markus Wallner
Hello! I would like to write my own FWRequestProcessor. The reason is that I would like to catch some common exception in my Web application (e.g., general database failures). Everything else is done by the superclass. The following code basically works fine, but my problem is that I would like

RE: Struts Documentation

2005-09-01 Thread Ayusman dikshit
Hi Jay, You must have downloaded the jakarta-struts-1.1.zip from (or tar), Extract that to a folder, you will find a webapps directory, Inside that you will find a struts-documentation.war file. Just place it in the webapps directory of tomcat server(I think u must be using tomcat) and start the

AW: Struts Documentation

2005-09-01 Thread R. Markham
Hi Jay, this is a good place too. http://wiki.apache.org/struts/ Regards Richard Markham -Ursprüngliche Nachricht- Von: Ayusman dikshit [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 1. September 2005 10:53 An: Struts Users Mailing List Betreff: RE: Struts Documentation Hi Jay,

Re: writing a FWRequestProcessor

2005-09-01 Thread Joe Germuska
I'd suggest that you check out Struts' support for declarative exception handling before extending the request processor; I would think that it will do what you need. Joe At 8:11 AM + 9/1/05, Markus Wallner wrote: Hello! I would like to write my own FWRequestProcessor. The reason is

Re: The latest stable version of struts

2005-09-01 Thread Ted Husted
On 8/31/05, Niall Pemberton [EMAIL PROTECTED] wrote: Depends on the size of your project, the features you've used and how you've developed it. The following notes should help you assess it yourself: Notes on upgrading from 1.1 to 1.2.4: http://wiki.apache.org/struts/StrutsUpgradeNotes11to124

Re: OT: Good Java host

2005-09-01 Thread chhum
I’ve recently started moving my jsp/servlet/ based sites to Kattare (see https://www.kattare.com/index.kvws) who have a good reputation and so far I’ve been pretty impressed. You might also want to have a look at the list other at Jason Hunter’s site (see

Re: OT: Good Java host

2005-09-01 Thread Emmanouil Batsis
[EMAIL PROTECTED] wrote: I’ve recently started moving my jsp/servlet/ based sites to Kattare (see https://www.kattare.com/index.kvws) who have a good reputation and so far I’ve been pretty impressed. RE kattare, i signed with them more than a year ago and never had any serious issues.

custom date converters

2005-09-01 Thread Rivka Shisman
Hi friends I'm not sure I understand the use of custom converters: If for example I have 2 VO's and each has a Timestamp property. But - each one takes a different date format from the user. Do I need a different StringToTimestamp converter for each one? If yes - how does

OT: Design Issue.

2005-09-01 Thread karthikeyan balasubramanian
Hi all, This may not be exactly struts question but here is my scenario: 1. I will be reading data from a single table and displaying it to some users. 2. Assuming that there are 5 users at one time records read by one user should not be seen by others. 3. This single table size can be huge.

Re: OT: Design Issue.

2005-09-01 Thread netsql
You won't get into any problems w/ only 5 users if you just have a field in table viewed_by_userId. .V karthikeyan balasubramanian wrote: Hi all, This may not be exactly struts question but here is my scenario: 1. I will be reading data from a single table and displaying it to some users.

Re: Struts Documentation

2005-09-01 Thread netsql
From home page of Struts, there is a link to wiki, which has a book/w labs: http://wiki.apache.org/struts .V Gonella Jayprakash wrote: Hi, Can anyone please tell where to get the documentation for Struts. I cannot find any link for downloading the struts doc on struts.apache.org. Thanks

RE: OT: Good Java host

2005-09-01 Thread Taylor, Kevin
I have used kattare for several years and they are a top-notch operation. Good support, solid systems, good prices. Kevin Taylor -Original Message- From: Emmanouil Batsis [SMTP:[EMAIL PROTECTED] Sent: Thursday, September 01, 2005 6:33 AM To: Struts Users Mailing List Subject:

Re: custom date converters

2005-09-01 Thread Joe Germuska
At 3:27 PM +0200 9/1/05, Rivka Shisman wrote: Hi friends I'm not sure I understand the use of custom converters: If for example I have 2 VO's and each has a Timestamp property. But - each one takes a different date format from the user. Do I need a different StringToTimestamp converter for

Re: How to pass SQL variable from JSP to Action?

2005-09-01 Thread 梁炳�
Richard Are you suggesting something like Hibernate or iBatis? Daniel 2005/9/1, R. Markham [EMAIL PROTECTED]: Hallo Nobody(??) It is bad practice to put SQL Statement in a JSP page. Regards Richard Markham -Ursprüngliche Nachricht- Von: ??? [mailto:[EMAIL PROTECTED]

Select Options Question

2005-09-01 Thread BHansard
I am sure there is a slick way to do this, but it escapes me at the moment. I have a Select Box that I am populating with the html:options tag The result is: select name=cmbGroup id=groupList option value=jk12341Group 1/option option value=34t1fv1Group 2/option option

Error: Cannot forward after response has been committed?

2005-09-01 Thread 梁炳場
Within a Tiles layout, I try to forward to another jsp when a bean not exist? But it leads to the subject line error message? In the header layout jsp, I put this logic:notPresent scope=session name=loginForm jsp:forward page=/index.jsp/ /logic:notPresent If it is not allowed or it is not a

RE: OT: Good Java host

2005-09-01 Thread lchalupa
I've been with eapps.com in Atlanta, Ga. for over two years. I have a virtual private server on a linux box which is to say I have root access. I have everything I need to support my Java development. Their service is excellent and their prices are fair. I can change my hosting plan on a daily

Re: OT: Good Java host

2005-09-01 Thread Guillermo Castro
I use eapps (http://www.eapps.com) to host my sites, and I'm very happy with them. They offer a true Virtual Private Server (VPS), which means I have my own server, on which I even have root access to modify it as I see fit. They also offer unlimited domains for the same price (with bandwidth

Re: Select Options Question

2005-09-01 Thread netsql
Chapter 16 in wiki struts book will tell you how to use options collections w/ DAO, and it has a lab. hth, .V [EMAIL PROTECTED] wrote: I am sure there is a slick way to do this, but it escapes me at the moment. I have a Select Box that I am populating with the html:options tag The result is:

Re: Error: Cannot forward after response has been committed?

2005-09-01 Thread Guillermo Castro
The error happens when part of your jsp page has already been sent to the client. My recommendation would be to define a Tiles Controller (see org.apache.struts.tiles.ControllerSupport) that would do the forwarding logic. I hope this helps. On 9/1/05, 梁炳場 [EMAIL PROTECTED] wrote: Within a

Re: OT: Good Java host

2005-09-01 Thread netsql
It be great if this freqeunt OT question was on wiki. .V lchalupa wrote: I've been with eapps.com -- thx, .V Broadband interface (RIA) + mail box safety = Roomity.com http://roomity.com/demo.jsp *Your* clubs, no sign up to read, ad supported; try broadband internet. cell: 917 825 3035 in

Re: Error: Cannot forward after response has been committed?

2005-09-01 Thread 梁炳場
What if the Tiles layout composing header, menu and body. Where the Tiles Controller belongs to? Does it stick one layout? Thanks 2005/9/1, Guillermo Castro [EMAIL PROTECTED]: The error happens when part of your jsp page has already been sent to the client. My recommendation would be to

RE: Struts-Tiles Design question

2005-09-01 Thread Dharmendra . Sharan
Hi, Just a follow question to a similar scenario, what's the recomended approach with Struts-Tiles to handle the different modes in which a JSP may be displayed. i.e. Add/Edit/View especially for say a JSP page which has multiple sections. e.g. Dish.jsp which can be composed of multiple

Re: DAOs in service methods

2005-09-01 Thread Frank W. Zammetti
As Leon said, there probably isn't any one right answer, although I think it's fair to say that best practices is as Leon says, to *not* create a DAO per service method. What I tend to do, and I'm not claiming this is any more right than anything else, is to have a DAO factory where I get my

RE: How to pass SQL variable from JSP to Action?

2005-09-01 Thread Mark Benussi
No he is saying don’t look up data in a JSP. Look it up in a Struts action and place in the presentation layer via an ActionForm etc before showing the JSP -Original Message- From: ??? [mailto:[EMAIL PROTECTED] Sent: 01 September 2005 15:09 To: Struts Users Mailing List Subject: Re: How

Re: Error: Cannot forward after response has been committed?

2005-09-01 Thread Guillermo Castro
Ok... Assuming you have a tiles layout definition like: definition name=.basic.layout path=/common/mainLayout.jsp put name=header value=/common/headerTile.jsp / put name=content value= / put name=footer value=/common/footerTile.jsp / /definition You can make the header content a tile

Re: Select Options Question

2005-09-01 Thread Frank W. Zammetti
I'm not sure I understand... do you just need to have the group name when you display the detail for the selected item, or do you need the entire select list (to avoid getting it from the datavase each time?) If you just need the grou pname, could you simply put the group name in session?

Re: DAOs in service methods

2005-09-01 Thread Larry Meadors
Actually, the iBATIS DAO stuff works well with darn near any data access technology - sqlmaps, hibernate, jdbc, and about 5-6 more out-of-the-box, so don't think that using the iBATIS DAO means you have to use iBATIS SQL Maps - they are very seperate tools. What it does is similar to what you are

Re: Select Options Question

2005-09-01 Thread BHansard
On the result page I only need the Label for the selected option. Not the entire list. The problem is that when you submit the form, you only submit the value in the form object and loose the label. I need to pass the label as well so that I do not have to requery for it. The way that i have

Re: Select Options Question

2005-09-01 Thread glenn . deschenes
You can also build a javascript array of the descriptions. When the user selects the option from the list, execute a javascript function that will do a lookup for the description in the array and set a hidden form field with the description found in the array. It may happen that the character

[OT] Application context URL

2005-09-01 Thread DGraham
I'm using iText to dynamically create PDF and I'd like to make them available by appending the location of the generated file to the application context URL. I'll be using a filter to prevent the files from being generally availalable. So is it possible to programmatically determine the app

Re: DAOs in service methods

2005-09-01 Thread Frank W. Zammetti
Sounds quite cool :) Unfortunately, I already lost the argument at work to use iBatis instead of Hibernate. Hibernate isn't bad, but I would have preferred iBatis. Oh well. Frank Larry Meadors wrote: Actually, the iBATIS DAO stuff works well with darn near any data access technology -

Re: Trim all fields before validation

2005-09-01 Thread Kishore Senji
Wouldn't this be easier, without mucking with the form, to let this be handled by the validator itself. For any field validation you would just have to have the requires validation before you do any other validation, and that way you would take care of empty strings or as Joe said you could do

Re: [OT] Application context URL

2005-09-01 Thread Kishore Senji
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequest.html#getContextPath() On 9/1/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm using iText to dynamically create PDF and I'd like to make them available by appending the location of the generated file to the

Re: [OT] Application context URL

2005-09-01 Thread DGraham
Not exactly what I was looking for, but I did find this: http://javaalmanac.com/egs/javax.servlet/GetReqUrl.html?l=new Thanks, Dennis Kishore Senji [EMAIL PROTECTED] 09/01/2005 12:47 PM Please respond to Struts Users Mailing List user@struts.apache.org To Struts Users Mailing List

Re: DAOs in service methods

2005-09-01 Thread Christian Bollmeyer
Hi, my suggestion would be to have a closer look at the Spring framework. IoC / dependency injection is really cool once you get a grasp of it. Instead of having the service look up a DAO instance, you simply inject the fitting implementation class into the service via Spring. The service itself

Re: DAOs in service methods

2005-09-01 Thread Larry Meadors
iBATIS is 100% thread-safe. Larry PS: can you point me to a good example of a Spring-based DAO implementation? On 9/1/05, Christian Bollmeyer [EMAIL PROTECTED] wrote: Hi, my suggestion would be to have a closer look at the Spring framework. IoC / dependency injection is really cool once

Re: Specifying MessageResource for Title information.

2005-09-01 Thread Kishore Senji
one way is to define a CustomMessageResources and a CustomMessageResourcesFactory to take care of this. The basic idea is that we would define something like this in the struts-config.xml message-resources parameter=hints,otherhints,ApplicationResources

test mail..pls. ignore...

2005-09-01 Thread Dharmendra . Sharan
Hi, Sorry but I wasn't able to see my post on the mailing list. I need to verify if this is okay... Apologies for the inconvenience. - Dharmendra Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If

Re: Trim all fields before validation

2005-09-01 Thread Dilip Ladhani
I am not a fan of javascript, I know, I can use this, but I have always had browser compatibility issues with javascript. I still use javascript, when absolutely necessary, but I prefer to avoid it. As far as required goes, that probably won't work because I could have a string like test

Specified RequestProcessor not compatible with TilesRequestProcessor

2005-09-01 Thread Jane Eisenstein
I am integrating Struts into an existing web application. It seemed like a good idea to have our custom RequestProcessor extend org.apache.struts.tiles.TilesRequestProcessor rather than org.apache.struts.action.RequestProcessor, so we would have the option of using Tiles. However, when I change

RE: custom date converters

2005-09-01 Thread Rivka Shisman
Thanks Joe When you say - this is a limitation of the BeanUtils design model. It assumes for any given process (instance of BeanUtils), a single conversion strategy applies to all objects of a given type. Do you mean that the converter applies thru my all application? As much as I know -

Re: [OT] Not struts but u guys know a good Spell Check

2005-09-01 Thread Wendy Smoak
From: Ajaya Agrawalla [EMAIL PROTECTED] I am trying to validate some long input from the browser with a spell checker.. Any suggestions?? JSpellHTML [not free] runs as a webapp and does a great job of spell checking HTML form elements.

Re: Trim all fields before validation

2005-09-01 Thread Dilip Ladhani
I am going to try that out in our new application Frank. The trim issue was with our older app, which is the big sustaining force (cash cow) for our company, and I wasn't able to push through the new jar and web.xml changes there, as people are nervous whenever I suggest anything major there.

Re: Trim all fields before validation

2005-09-01 Thread Frank W. Zammetti
The ParameterMungerFilter in JWP didn't do the trick for you? I'd love to know what shortcomings you found so that I can work to improve it :) Frank Dilip Ladhani wrote: I am not a fan of javascript, I know, I can use this, but I have always had browser compatibility issues with javascript.

Not struts but u guys know a good Spell Check

2005-09-01 Thread Ajaya Agrawalla
I am trying to validate some long input from the browser with a spell checker.. Any suggestions?? aj

ImageButtonBean and DynaActionForm

2005-09-01 Thread Richard Yee
Has anyone used an ImageButtonBean in a DynaActionForm? I'm getting the following error: org.apache.commons.beanutils.ConversionException: Cannot assign value of type 'java.lang.String' to property 'submitButton' of type 'org.apache.struts.util.ImageButtonBean' My jsp page has this in it:

Re: DAOs in service methods

2005-09-01 Thread Christian Bollmeyer
On Thursday 01 September 2005 19:26, Larry Meadors wrote: iBATIS is 100% thread-safe. Larry PS: can you point me to a good example of a Spring-based DAO implementation? Hm...IMHO one good example would be the JPetstore sample app that comes with the Spring distribution, for instance. Good

Re: Tech-Stack Choices

2005-09-01 Thread James Mitchell
You are likely to hear many differing opinions on this list. You should evaluate your criteria. Are you wanting something slick? Fast development? Easier maintenance? Scalable? Flexible? If you are wanting something fast. Take a look at Ruby on Rails, or stay tuned to this channel

jasper exception

2005-09-01 Thread Nirmala Dhara
Hello, I am trying my first application using struts. I got /struts/bean-el not found error msg from tomcat 5.0. my configuration is: ApplicationResources.properties in tomcat/webapps/app-dir/WEB-INF/class directory web.xml and struts-config.xml are located at

Re: custom date converters

2005-09-01 Thread Joe Germuska
At 4:32 PM -0400 9/1/05, Laurie Harper wrote: Rivka Shisman wrote: Thanks Joe When you say - this is a limitation of the BeanUtils design model. It assumes for any given process (instance of BeanUtils), a single conversion strategy applies to all objects of a given type. Do you mean that

Re: custom date converters

2005-09-01 Thread Laurie Harper
Rivka Shisman wrote: Thanks Joe When you say - this is a limitation of the BeanUtils design model. It assumes for any given process (instance of BeanUtils), a single conversion strategy applies to all objects of a given type. Do you mean that the converter applies thru my all

re: Tech-Stack Choices

2005-09-01 Thread Leon Rosenberg
As james said it in his first reply, you should become clear what you need and what you want. How critical and how important is it for the company? If it is important or even critical for the core business of the company (or say if it doesn't work, it costs 100.000 per hour) I would engage you

Re: Struts Ti [was RE: Tech-Stack Choices]

2005-09-01 Thread James Mitchell
The discussions about Ti are happening on the Struts Developers list, which is why you won't hear much on this list. Here's where Ti status is... http://wiki.apache.org/struts/StrutsTi -- James Mitchell Software Engineer / Open Source Evangelist Consulting / Mentoring / Freelance EdgeTech,

Re: Tech-Stack Choices

2005-09-01 Thread James Mitchell
I hit send too soon Just to be clear, Spring and Hibernate are really irrelevant in the context of this discussion, unless you mean Spring MVC. I can't speak for Spring MVC, so I'll let others discuss the merits. My professional opinion (if it means anything) is to go with Spring/

Re: jasper exception

2005-09-01 Thread Wendy Smoak
From: Nirmala Dhara [EMAIL PROTECTED] %@ taglib uri=struts/bean-el prefix=bean % %@ taglib uri=struts/html-el prefix=html % org.apache.jasper.JasperException: File /struts/bean-el not found I suggest removing the taglib tags from web.xml, and using the URIs found in the tld files

Re: Trim all fields before validation

2005-09-01 Thread Frank W. Zammetti
Sounds good. I certainly understand the jitters, my organization is very much like that as well (in fact, I had to sneak some JWP code in too, disguised as part of the app itself!) Just wanted to know if there was a problem with it that I could have done something about. As always though, I

test mail... pls. ignore...

2005-09-01 Thread Dharmendra . Sharan
test mail... Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if

Struts Ti [was RE: Tech-Stack Choices]

2005-09-01 Thread Abdullah Jibaly
This seems to be more of an inside joke than anything else. Where can we find anything on Struts Ti, I'm really interested in learning something worthwhile about it besides what's on https://www.twdata.org/projects/struts-ti, which doesn't seem to have been updated for a couple months. Thanks!

RE: Not struts but u guys know a good Spell Check

2005-09-01 Thread Mark Benussi
You can make a div editable and if you have control over the client (i.e. an Intranet) plug in Microsoft Words spell checker -Original Message- From: Ajaya Agrawalla [mailto:[EMAIL PROTECTED] Sent: 01 September 2005 20:05 To: 'user@struts.apache.org' Subject: Not struts but u guys know a

Re: custom date converters

2005-09-01 Thread Hubert Rabago
shameless_plug (with slow music playing in background) On 9/1/05, Joe Germuska [EMAIL PROTECTED] wrote: At 4:32 PM -0400 9/1/05, Laurie Harper wrote: You can register an instance of Converter that knows what format string to use each time you call copyProperties(). However, if you have one

Tiles and JSF?

2005-09-01 Thread Bjørn T Johansen
I have used Tiles with Struts before and as I understand, one can use Tiles with JSF? Any difference in how to use it compared to Struts? Where can I download a standalone package of Tiles? Regards, BTJ --

Re: Tiles and JSF?

2005-09-01 Thread Greg Reddin
On Sep 1, 2005, at 4:44 PM, Bjørn T Johansen wrote: I have used Tiles with Struts before and as I understand, one can use Tiles with JSF? Any difference in how to use it compared to Struts? Where can I download a standalone package of Tiles?

Re: Tiles and JSF?

2005-09-01 Thread Bjørn T Johansen
How stable are these? BTJ Greg Reddin wrote: On Sep 1, 2005, at 4:44 PM, Bjørn T Johansen wrote: I have used Tiles with Struts before and as I understand, one can use Tiles with JSF? Any difference in how to use it compared to Struts? Where can I download a standalone package of Tiles?

Re: Tiles and JSF?

2005-09-01 Thread Greg Reddin
On Sep 1, 2005, at 4:48 PM, Bjørn T Johansen wrote: How stable are these? They haven't changed significantly in about 3 weeks :-) If you're just *using* Tiles and not extending the APIs I would consider it pretty stable. If you'll be extending the API's there's still more work to be

Initialize Dynamic Form

2005-09-01 Thread Raj Bhalla
Hi , I am moving from one struts module to another . I am using org.apache.struts.actions.SwitchAction. I need to initialize a form in action class before reaching Switch Action. I have coded like this . DynaValidatorForm checkOutForm = ( DynaValidatorForm ) new CheckoutDynaValidatorForm( ) ;

Tiles: Unique body attributes for each part.

2005-09-01 Thread oracle411
Sorry if this got posted twice. Hi I'm new to Struts and Tiles, but I was able to build a basic web application that worked fine. Tiles def was pretty standard with header, body, footer, etc My problem now is that I'm required to use a more advanced header. They gave me a header.jsp page to

Re: The latest stable version of struts

2005-09-01 Thread amos
On Wed, 2005-08-31 at 18:15 -0700, Randy Shepherd wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 How many man hours are associated with moving from 1.1 to 1.2.7? What are the major challenges? As others indicated it depends, but if it helps I've just upgraded a web application with

Re: Trim all fields before validation

2005-09-01 Thread amos
On Wed, 2005-08-31 at 13:58 -0500, Joe Germuska wrote: You can't really intervene in the form population process on the Struts side right now (although arguably that's something which should be exposed for user customization better). We already have a BaseProcessor class which extends

Re: How to pass SQL variable from JSP to Action?

2005-09-01 Thread 梁炳�
Thanks 2005/9/1, Mark Benussi [EMAIL PROTECTED]: No he is saying don't look up data in a JSP. Look it up in a Struts action and place in the presentation layer via an ActionForm etc before showing the JSP -Original Message- From: ??? [mailto:[EMAIL PROTECTED] Sent: 01 September

Re: How to pass SQL variable from JSP to Action?

2005-09-01 Thread 梁炳�
After 2nd thought, what if I want to display a no of lines which are actually links html:link. How can it be done with selecting data in Action via ActionForm and displaying them by jsp? 2005/9/1, Mark Benussi [EMAIL PROTECTED]: No he is saying don't look up data in a JSP. Look it up in a

Re: Error: Cannot forward after response has been committed?

2005-09-01 Thread 梁炳場
Thank you so much. 2005/9/1, Guillermo Castro [EMAIL PROTECTED]: Ok... Assuming you have a tiles layout definition like: definition name=.basic.layout path=/common/mainLayout.jsp put name=header value=/common/headerTile.jsp / put name=content value= / put name=footer

Re: How to pass SQL variable from JSP to Action?

2005-09-01 Thread 梁炳�
I just read the Struts user guide again. Is it the right track to go? In Action: ResultSet rs = ...; ResultSetDynaClass rsdc = new ResultSetDynaClass(rs); Iterator rows = rsdc.iterator(); while (rows.hasNext()) { DynaBean row = (DynaBean) rows.next(); ... process this row

Re: Tiles: Unique body attributes for each part.

2005-09-01 Thread Lucas Bern
Hi, that sis a limitation of html. You con nota have more than one body in the same document. The only sokution u can see is using frames, or replacing de body t ag by a div tag, apllying a styke with the background settings... i wish it helps Lucas oracle411 [EMAIL PROTECTED] escribió: