RE: Resource bundle from Database

2006-02-20 Thread abdurrahman sahin
hi; i strongly suggest you application level caching. at startup; query all messages and other things that is immutable among user sessions, then put all that things in a TreeMap/HashTable, per user session you can query your application level TreeMap/HashTable class. -Original Message- Fr

Resource bundle from Database

2006-02-20 Thread JEEVANATHAM P. /BPCRP/INFOTECH/VASHI
Hi all, In my application, all labels, headers and titles and messages are comes from database. For this issue I have created a class that return messages, but it issues performance way. Is there any way to set messages in Resource bundle in dynamic / at run-time? Please let me know.

RE: i18n with javascript validations

2006-02-20 Thread Kalra, Ashwani
I got it. I think I can specify it for each formset which are based on language and country. -Original Message- From: Kalra, Ashwani [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 10:44 AM To: Struts Users Mailing List Subject: RE: i18n with javascript validations Hi Lauri

Struts 1.0 and new versions

2006-02-20 Thread Rakesh.Bhat
Hi, Struts 1.0 and 1.1 The new features added to Struts 1.1 are RequestProcessor class Method perform() replaced by execute() in Struts base Action Class Changes to web.xml and struts-config.xml Declarative exception handling Dynamic ActionForms Plug-ins Multiple Application

Re: Value-ChangeEvent under Struts-Faces

2006-02-20 Thread Craig McClanahan
On 2/20/06, Leila Carvalho <[EMAIL PROTECTED]> wrote: > > Craig, > First of all, congratulations for your Struts-Faces library!! > This library is what I have been looking for.. > > be careful of one particular scenario. Struts only creates one instance > of > > an Action class for the entire appl

RE: i18n with javascript validations

2006-02-20 Thread Kalra, Ashwani
Hi Laurie, It will be too difficult to use mask with javascript validations. How javascript will handle locales. For eg in some countries decimal is represented by comma /Ashwani -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Tuesday, February 21

Re: Acessing TagHandlerPool for TagSupport

2006-02-20 Thread Steve Vanspall
ok thanks, that will solve my problem Steve Craig McClanahan wrote: On 2/20/06, Steve Vanspall <[EMAIL PROTECTED]> wrote: Thanks will have a look, yeah I figured reevaluation isn't the go. as I said I know the action I want is already going to be configure din the struts-config file, so

Re: why my page can't redirect under Struts with Javascript?

2006-02-20 Thread red phoenix
I try follows: function goURL(tmp){ document.forms[0].submit(); } I debug the Javascript,when running the statement document.forms[0].submit(); Javascript raise a error: Microsoft JScript running error:object can't support this attribute or method Why? On 2/21/06, Dave Newton <[EMAIL PROTEC

Re: Value-ChangeEvent under Struts-Faces

2006-02-20 Thread Leila Carvalho
Craig, First of all, congratulations for your Struts-Faces library!! This library is what I have been looking for.. be careful of one particular scenario. Struts only creates one instance of > an Action class for the entire application, so that is not a good place to > put request-specific event

Re: [HELP] i80n :(

2006-02-20 Thread Pham Anh Tuan
thank you L, but ... hiz, more details plz :( ... - Original Message - From: "Laurie Harper" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 21, 2006 4:25 AM Subject: Re: [HELP] i80n :( Pham Anh Tuan wrote: Hi all, I got a problem, so I need all your help :( i18n, I want my Stru

Re: why my page can't redirect under Struts with Javascript?

2006-02-20 Thread Dave Newton
Martin Gainty wrote: > If you are looking for a way for JavaScript to dynamically change > targetting action based on Javascript code take a look at > http://husted.com/struts/tips/002.html Uh, no, I was answering the OP with regards to his hosed up JavaScript :) Dave --

Re: why my page can't redirect under Struts with Javascript?

2006-02-20 Thread Saul Qunming Yuan
Sorry, my bad, I didn't even think about that. Right, you don't need the "eval" here. Saul - Original Message - From: "Dave Newton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, February 20, 2006 7:17 PM Subject: Re: why my page can't redirect under Struts with Ja

Re: why my page can't redirect under Struts with Javascript?

2006-02-20 Thread Martin Gainty
Dave- If you are looking for a way for JavaScript to dynamically change targetting action based on Javascript code take a look at http://husted.com/struts/tips/002.html HTH, Martin - Original Message - From: "Dave Newton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monda

Re: why my page can't redirect under Struts with Javascript?

2006-02-20 Thread Dave Newton
red phoenix wrote: > I tried follows: > function goURL(tmp){ > document.forms[0].action=eval("/Log/log.do?action=First"); > document.forms[0].submit(); > } > > and > function goURL(tmp){ > document.forms[0].action=eval("/log.do?action=First"); > document.forms[0].submit(); > } > > My page

Re: init-param equivalent for action configuration?

2006-02-20 Thread Chris Cheshire
After a lot of browsing javadocs and scratching my head in confusion, I have something that appears to be working. In struts-config.xml I have a few elements for an action. For the action mapping element of that action I have className="my mapping class". I have created a class that extends Acti

Re: [OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread Dave Newton
Leon Rosenberg wrote: > I rather ment things like interception/reflection or/and AOP :-) > Ah. Lots of reflection. AOP is being actively discussed for Ruby2. Pure-Ruby implementations for simple AOP exist but I've not used them. > Pardon me for being devils advocate, but how do you measure it?

Re: why my page can't redirect under Struts with Javascript?

2006-02-20 Thread red phoenix
I tried follows: function goURL(tmp){ document.forms[0].action=eval("/Log/log.do?action=First"); document.forms[0].submit(); } and function goURL(tmp){ document.forms[0].action=eval("/log.do?action=First"); document.forms[0].submit(); } My page also can't redirect! And I try function g

Re: Value-ChangeEvent under Struts-Faces

2006-02-20 Thread Craig McClanahan
On 2/20/06, Leila Carvalho <[EMAIL PROTECTED]> wrote: > > Dear Craig, > > Thanks a lot, but I'm still a bit confused... > Is mybean an ActionForm, an Action or an adapter to Faces Backing Bean ??? > Gracias!! Technically, "mybean" would be a Faces backing bean, but it *could* be any of the above

Re: Tiles + WebWork

2006-02-20 Thread Ted Husted
Posted by Matt Raible (24.9.148.67) on February 16, 2006 at 09:06 AM MST # > IMO, there's not a single framework that is best for *everything*. Instead, > the needs for > each application have to be evaluated, and then a small prototype should be > done in 2-3 > frameworks. On 2/20/06, Matt Raib

Re: yet wnother localization question

2006-02-20 Thread Laurie Harper
Firstly, you really shouldn't post a totally unrelated question in the middle of a long, off-topic thread that's likely not being followed by everyone. Post a new topic as a new message, not a reply to something else. Now, to the question: Daniel Blumenthal wrote: So, I'm in the midst of loca

Re: init-param equivalent for action configuration?

2006-02-20 Thread Chris Cheshire
OK I am still lost. I found reference to this in the DTD, so that covers the config file. However, I cannot find any mention of how to retrieve these properties in the Action subclass. I took a look at the javadocs for Action, ActionConfig, ActionMapping and I do not see anything relating to the s

Re: [OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread Leon Rosenberg
On 2/20/06, Dave Newton <[EMAIL PROTECTED]> wrote: > Leon Rosenberg wrote: > > well... maybe you are a totally cool development team, > A yeah. > > Okay, not really ;) > > following call stacks, debugging... distribution and so on > > would be a real mess... but, as I told before, I never tried

Re: init-param equivalent for action configuration?

2006-02-20 Thread Chris Cheshire
Thanks Laurie On 2/20/06, Laurie Harper <[EMAIL PROTECTED]> wrote: > Chris Cheshire wrote: > > If I am reading the docs right, the "parameter" attribute of the > > action element only allows you to define 1 generic parameter for the > > action. > > > > I need to be able to specify a few different

Re: Hosting problem , the Host provider tomcat does not understand .do

2006-02-20 Thread Legolas Woodland
It works on my local computer in same Configuration (just it is windows machine , so my web.xml is OK or at least i think it is ok because it works on local computer.) Bryan LaPlante wrote: Have a look at this example web.xml file. You will see what you need in the *.dohttp://www.javaranch.com

Re: Hosting problem , the Host provider tomcat does not understand .do

2006-02-20 Thread Bryan LaPlante
Have a look at this example web.xml file. You will see what you need in the *.dohttp://www.javaranch.com/newsletter/Mar2002/l isting1.htmlBryan LaPlante- Original Message - From: "Legolas Woodland" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, February 20, 2006 4:20 PM

yet wnother localization question

2006-02-20 Thread Daniel Blumenthal
So, I'm in the midst of localizing my app, and the first thing that's clear is that localizing the MessageResources is a snap (pats self on back for choosing Struts). My question, though, is whether there's a standard method for choosing one .jsp or another based on language. Also, is there a sta

Re: [OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread Dave Newton
Leon Rosenberg wrote: > But... from reading the docs, the language itself is as outdated as > prolog or perl. You have almost no oo-concepts, and all co-concepts > are missing completely. Uh, how do you figure that? It's largely modeled around SmallTalk. It's quite a bit more OOP than most things

Re: [OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread Dave Newton
Leon Rosenberg wrote: > well... maybe you are a totally cool development team, A yeah. Okay, not really ;) > following call stacks, debugging... distribution and so on > would be a real mess... but, as I told before, I never tried myself. > Call stacks are no issue. If you know the API and

Re: [OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread Leon Rosenberg
well... maybe you are a totally cool development team, maybe I'm completely wrong either... I just had the feeling that making code reviews, following call stacks, debugging... distribution and so on would be a real mess... but, as I told before, I never tried myself. But what are the benefits for

Re: [OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread Leon Rosenberg
Ok, before I get into that I must admin that I never developed one, just read through the http://www.rubyonrails.org/ - documentations and looked at example apps. So I of course might be completely wrong. In any case it's just a personal opinion... But... from reading the docs, the language itself

Re: [OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread Dave Newton
Leon Rosenberg wrote: > On 2/20/06, Dave Newton <[EMAIL PROTECTED]> wrote: > >> Leon Rosenberg wrote: >> >>> Well RoR is a wonderful thing if you are playing. But you can't >>> develop and you have no chance to maintain a serious application with it. >>> >> I'm having zero issues mai

Re: init-param equivalent for action configuration?

2006-02-20 Thread Laurie Harper
Chris Cheshire wrote: If I am reading the docs right, the "parameter" attribute of the action element only allows you to define 1 generic parameter for the action. I need to be able to specify a few different parameters and their values. Prior to converting to struts I would put these as init-pa

Re: [OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread Leon Rosenberg
On 2/20/06, Dave Newton <[EMAIL PROTECTED]> wrote: > Leon Rosenberg wrote: > > Well RoR is a wonderful thing if you are playing. But you can't > > develop and you have no chance to maintain a serious application with it. > I'm having zero issues maintaining several, although they are not > high-loa

Re: i18n with javascript validations

2006-02-20 Thread Laurie Harper
Kalra, Ashwani wrote: Hi, My project is using javascript validations generated through struts validator. I want to do some currency validations based on the language/country. Is it possible? Yes, it's possible, though Struts / Commons Validator don't include currency validation rules. You can

Re: [HELP] i80n :(

2006-02-20 Thread Laurie Harper
Pham Anh Tuan wrote: Hi all, I got a problem, so I need all your help :( i18n, I want my Struts app to have default language is Vietnamese, but I couldn't :( I have 3 files below: + mylanguage.properties <--- Vietnamese file + mylanguage_ja.properties <--- Japanese file + mylanguage_en.proper

Hosting problem , the Host provider tomcat does not understand .do

2006-02-20 Thread Legolas Woodland
Hi Thank you for reading my post. I get a hosting package from a provider , Now all jsp files works but when i press some buttons or links that lead to a .do (Action) it return *error 404 *file not found is there any other configuration that i should do in my hosting package ? it is on linux an

Re: Action forms and numeric coercion

2006-02-20 Thread Laurie Harper
Scott Van Wart wrote: I'm new to struts and am setting up some form beans. I'm using hibernate, and one of my tables has a lot of foreign keys. The target tables are pretty much just lookup tables, which I use to populate a good number of drop-downs on my web page. Most of the foreign keys a

Re: Recharge resource without stop server

2006-02-20 Thread Laurie Harper
Angel Navarro wrote: Hi, I have a web application based on Struts 1.3. I have a problem, I need change resources (internationalition) without stop the server. It's possible? You mean you want to be able to update your resource bundles dynamically at run-time? If so, you'll need to define a Me

Re: [OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread James Mitchell
Elaborating on the benefits of IOC is way beyond the scope of a simple email on a simple mailing list. There are books for that purpose. Once you've decided to use Spring, it provides first class integration with Hibernate. I won't bore you with the benefits of choosing Hibernate either,

Re: [OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread Dave Newton
Leon Rosenberg wrote: > Well RoR is a wonderful thing if you are playing. But you can't > develop and you have no chance to maintain a serious application with it. I'm having zero issues maintaining several, although they are not high-load apps yet. The thing I dislike most about it is moving back

Re: [OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread Dave Newton
James Mitchell wrote: > Struts (right now!) let's you setup a single action mapping (wild card > mapping) and a single LazyDynaBean, and then you can add as many > Actions and JSPs as you like (at runtime no doubt) and your changes > are instantly available without ever rebooting or touching xml ag

RE: [OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread Garner, Shawn
Can you elaborate on Spring and Middlegen? I've looked at their websites (Spring a couple times before) but I fail to see how they are beneficial to use. Shawn -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 2:26 PM To: Struts Users Mailin

RE: [OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread Garner, Shawn
>>But you can't develop and you have no chance to maintain a serious >>application with it. Can you go more into this? Shawn -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 2:03 PM To: Struts Users Mailing List Subject: Re: [OT] Ruby on

Re: [OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread James Mitchell
Struts (right now!) let's you setup a single action mapping (wild card mapping) and a single LazyDynaBean, and then you can add as many Actions and JSPs as you like (at runtime no doubt) and your changes are instantly available without ever rebooting or touching xml again. Between that and

Re: [OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread Leon Rosenberg
Well RoR is a wonderful thing if you are playing. But you can't develop and you have no chance to maintain a serious application with it. So the proper question would be RoR or php and php would probably win :-) Leon On 2/20/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > Can anyone give me pros a

[OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread Garner, Shawn
Can anyone give me pros and cons of using Ruby on Rails verses a Java Base Web Application (Struts, JSF, etc)? Seems like Rails is moving towards less or no configuration files while JSF/Shale is leaning towards more. Shawn *

Re: Problem about first page.

2006-02-20 Thread Joey Watson
Thanks Bryan and Michael. I have solved this problem. Thanks you very much. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem about first page.

2006-02-20 Thread Michael Jouravlev
On 2/20/06, Joey Watson <[EMAIL PROTECTED]> wrote: > Or I think maybe many project would meet this kind of quesition. Just > want to know how to deal with it when you need to display some > information loaded from db in you first page. Define a startup JSP page in web.xml. Redirect from it to an

Re: Problem about first page.

2006-02-20 Thread Bryan LaPlante
here you go. http://java.sun.com/products/jsp/tags/11/syntaxref11.fm9.html - Original Message - From: "Joey Watson" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, February 20, 2006 12:38 PM Subject: Re: Problem about first page. > yes. I think it is a good idea. but I

init-param equivalent for action configuration?

2006-02-20 Thread Chris Cheshire
If I am reading the docs right, the "parameter" attribute of the action element only allows you to define 1 generic parameter for the action. I need to be able to specify a few different parameters and their values. Prior to converting to struts I would put these as init-params in web.xml under ea

Re: Acessing TagHandlerPool for TagSupport

2006-02-20 Thread Craig McClanahan
On 2/20/06, Steve Vanspall <[EMAIL PROTECTED]> wrote: > > Thanks will have a look, > > yeah I figured reevaluation isn't the go. > > as I said I know the action I want is already going to be configure din > the struts-config file, so basically I need to look it up, then create a > form for it. > >

Re: [OT] Hiding methods - a final remark

2006-02-20 Thread Laurie Harper
Tom Ziemer wrote: Thanks to everybody who replied to my original post. I am currently using spring/acegi and it's working great - as long as you use Spring to create your beans: // Spring - works like a charm: security via acegi and transactions via proxies this.entityManager = (IEntityManager)

Re: Opening a MS Word from JSP/HTML

2006-02-20 Thread Jari Fredriksson
Anjishnu Bandyopadhyay wrote: Hi all, I have a static MS Word document, which I want to open on click of a hyperlink in my JSP page. I am trying like: window.open('abc.doc','',600,600); But the Word doc is not properly opening. In IE, the document opens in the browser itself. In Mozilla,

Re: Opening a MS Word from JSP/HTML

2006-02-20 Thread Bart Busschots
That's a client issue. As a webdesigner you have no control over that. All you can do is provide a simple link and let the clients save it or open it what ever way they want. You can't force word to open. Bart. Anjishnu Bandyopadhyay wrote: Hi all, I have a static MS Word document, which

Re: Problem about first page.

2006-02-20 Thread Joey Watson
Or I think maybe many project would meet this kind of quesition. Just want to know how to deal with it when you need to display some information loaded from db in you first page. On 2/21/06, Joey Watson <[EMAIL PROTECTED]> wrote: > yes. I think it is a good idea. but I don't know to do it. I can

Opening a MS Word from JSP/HTML

2006-02-20 Thread Anjishnu Bandyopadhyay
Hi all, I have a static MS Word document, which I want to open on click of a hyperlink in my JSP page. I am trying like: window.open('abc.doc','',600,600); But the Word doc is not properly opening. In IE, the document opens in the browser itself. In Mozilla, the Word doc opens along with

Re: Problem about first page.

2006-02-20 Thread Joey Watson
yes. I think it is a good idea. but I don't know to do it. I can make a jsp page as welcome page, but how could I make it can forward to Login.jsp automatically. user don't need to click a link or a button. On 2/21/06, Bryan LaPlante <[EMAIL PROTECTED]> wrote: > Could you make you welcome page dif

Re: Problem about first page.

2006-02-20 Thread Bryan LaPlante
Could you make you welcome page different than login.jsp and have it forward to login.jsp? If login is your front door, maybe all of your welcome pages could forward to it. - Original Message - From: "Joey Watson" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, February

Problem about first page.

2006-02-20 Thread Joey Watson
Hi everybody. I want to write a login module. login.jsp-display userId , userName, password, company infomation (a drop down box) LoginAction.java check login information LoginForm.java -- some command class. one of them will load company information from db. When user open we

Re: Value-ChangeEvent under Struts-Faces

2006-02-20 Thread Leila Carvalho
Dear Craig, Thanks a lot, but I'm still a bit confused... Is mybean an ActionForm, an Action or an adapter to Faces Backing Bean ??? Gracias!! This kind of thing will work in Struts-Faces, but only if you correctly > specify the expressions, and use an input field :-) > > > > Craig -

Re: Help:Clay+dataTable

2006-02-20 Thread lisaan markuen
Hi.. Thanks.. its working now. --- Gary VanMatre <[EMAIL PROTECTED]> wrote: > >From: lisaan markuen <[EMAIL PROTECTED]> > > > > Hi., > > I'm trying CLAY and fed up with displaying dynamic > > > datatable (list) coming from my managed bean > (already > > went through the examples but no s

Re: Tiles + WebWork

2006-02-20 Thread Ted Husted
On 2/15/06, Matt Raible <[EMAIL PROTECTED]> wrote: > I'd like to use Tiles with WebWork for reasons outlined on my blog: > > http://raibledesigns.com/page/rd?entry=large_sites_powered_by_java >From the blog comments > IMO, there's not a single framework that is best for *everything*. What would w

Re: [Friday]

2006-02-20 Thread Leon Rosenberg
you soap the rope to make it slide well and you are sure the knot will really break your neck. On 2/20/06, Marco Mistroni <[EMAIL PROTECTED]> wrote: > Hello, > > >The expression applies in greek as well and is used to point out a > >difficult situation where rope and soap is the obvious way out :-

Re: [Friday]

2006-02-20 Thread David Delbecq
One simple word: pray Marco Mistroni a écrit : >Hehe, > Thanx I got explanation off-line.. >Hope I'll never have to resort to that >are there any nicer expressions to say that you have no other solutions? > >Regards > marco > >-Original Message- >From: David Delbecq [mai

RE: [Friday]

2006-02-20 Thread Marco Mistroni
Hehe, Thanx I got explanation off-line.. Hope I'll never have to resort to that are there any nicer expressions to say that you have no other solutions? Regards marco -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: 20 February 2006 14:33 To: St

Re: [Friday]

2006-02-20 Thread David Delbecq
Marco Mistroni a écrit : >Hello, > > > >>The expression applies in greek as well and is used to point out a >>difficult situation where rope and soap is the obvious way out :-) >> >> > >Sorry for being so 'numb'... but I still don' tsee the connection between >A rope and the soap.. >Y

RE: [Friday]

2006-02-20 Thread Marco Mistroni
Hello, >The expression applies in greek as well and is used to point out a >difficult situation where rope and soap is the obvious way out :-) Sorry for being so 'numb'... but I still don' tsee the connection between A rope and the soap.. You can mail me privately ... I think we are off-to

[OT] Re: Returning ResultSet

2006-02-20 Thread Dave Newton
chuanjiang lo wrote: > Hi guys, > > I have this DBConnectionManager class that manages the connection pooling. > It has this method to get some results from the database. > > So my action form make use of the method to get the resultset and tries to > display on the jsp page. > But the method would

Re: Returning ResultSet

2006-02-20 Thread chuanjiang lo
is this the best way to handle this? as my project is rather small scale..there isnt a need for me to use ORM.. On 2/20/06, Vijaya S <[EMAIL PROTECTED]> wrote: > > You have to copy the resultset to an arraylist and return the arraylist. > > Vijaya > > > -Original Message- > From: chuanjian

RE: Returning ResultSet

2006-02-20 Thread Vijaya S
You have to copy the resultset to an arraylist and return the arraylist. Vijaya -Original Message- From: chuanjiang lo [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 6:22 PM To: user@struts.apache.org Subject: Returning ResultSet Hi guys, I have this DBConnectionManager cla

Re: [Friday]

2006-02-20 Thread Emmanouil Batsis
Michael Jouravlev wrote: On 2/17/06, Marco Mistroni <[EMAIL PROTECTED]> wrote: Hello, On Thu, February 16, 2006 4:51 pm, Michael Jouravlev said: The last thing I can think of is a hook, a rope and some soap. Uhmm.. you mean last resort is hanging? Or by soap you

Returning ResultSet

2006-02-20 Thread chuanjiang lo
Hi guys, I have this DBConnectionManager class that manages the connection pooling. It has this method to get some results from the database. So my action form make use of the method to get the resultset and tries to display on the jsp page. But the method would close the connection after i query

Re: I know this is wrong place to ask this question ..

2006-02-20 Thread Thomas Joseph
Hi Swapnil, You may like to visit http://archives.java.sun.com where you may find many refined lists form many java / j2ee and other mailing lists. Thanks and Regards, Thomas Joseph [EMAIL PROTECTED] Kott Software Pvt. Ltd. | Vallamattom Estate | M.G.Road | Cochin-682015 | India www.kottsoftwa

Error Message (setValue (java.lang.Object)) on Tomcat

2006-02-20 Thread starki78
Hi, we develop with Jdeveloper and embedded server and after I deploy to tomcat I get the following error: symbol : method setValue (java.lang.Object) location: class org.apache.struts.taglib.html.HiddenTag _jspx_th_html_hidden_0.setValue(singleNumber); I have to make si

Re: why my page can't redirect under Struts with Javascript?

2006-02-20 Thread Jari Fredriksson
Swapnil Patil wrote: Hi, I modify my Javascript like follows: function goURL(tmp){ document.forms[0].action=eval("/Log/log.do?action=First"); document.forms[0].submit(); } Is eval really needed? . Check whether you really need /Log in contexet path? Try wih following function. function goURL(

RE: html:option, how to print html characters in the label.

2006-02-20 Thread Robert Alexandersson
Yes, but the problem is that I use endless indents from an attribute called depth that makes hard to use (I think so, have not tried it though), this is how I use depth. O1-Depth1 02-Depth2 O3-Depth3 O4-Depth1 And so on. I think I found a solution using filter="off" in t

I know this is wrong place to ask this question ..

2006-02-20 Thread Swapnil Patil
HI all, Can any body tell me the mailing list for core JAVA? just like this mailing list. I know this is wrong place to ask this question :-) but still i am expecting positive reply. Thanks & Regards Swapnil Patil. On 2/20/06, Robert Alexandersson <[EMAIL PROTECTED]> wrote: > > Hello, i want to

Re: why my page can't redirect under Struts with Javascript?

2006-02-20 Thread Swapnil Patil
Hi, I modify my Javascript like follows: function goURL(tmp){ document.forms[0].action=eval("/Log/log.do?action=First"); document.forms[0].submit(); } Is eval really needed? . Check whether you really need /Log in contexet path? Try wih following function. function goURL(tmp){ document.forms[0

Re: Acessing TagHandlerPool for TagSupport

2006-02-20 Thread Steve Vanspall
Thanks will have a look, yeah I figured reevaluation isn't the go. as I said I know the action I want is already going to be configure din the struts-config file, so basically I need to look it up, then create a form for it. I can fudge it by codig the HTML roughly as teh struts tage would d

Re: html:option, how to print html characters in the label.

2006-02-20 Thread Nicolas De Loof
If you're looking for a way to indent options in a select box, you should use the HTML tag. Nico. Robert Alexandersson a écrit : Hello, i want to output the String " Level 2" in my optionlists, but the label attribute of options does not return this but the transforemed   mending it pr

html:option, how to print html characters in the label.

2006-02-20 Thread Robert Alexandersson
Hello, i want to output the String " Level 2" in my optionlists, but the label attribute of options does not return this but the transforemed   mending it prints the text instead, is there any way around this? Regards Robert A -

Re: validator frame work for struts Action Errors

2006-02-20 Thread vasumathi
u can use like this in validation.xml file in WEB-INF folder. minlength 5 maxlength 12

Re: [OT] Hiding methods - a final remark

2006-02-20 Thread Tom Ziemer
Thanks to everybody who replied to my original post. I am currently using spring/acegi and it's working great - as long as you use Spring to create your beans: // Spring - works like a charm: security via acegi and transactions via proxies this.entityManager = (IEntityManager)getBean(SpringBean.M