RE: HTTP Status 404 - Servlet action is not available

2005-01-18 Thread Vijaya S
Look at the source code in our browser for your test1.abc jsp file. See what is the extension it has generated for the Action attribute of the form tag? The normal extension is "do" and in your case you have given as "abc". Vijaya -Original Message- From: Kalluru Uma. Maheswar [mailto:[EM

Re: help : submit with javascript problem

2005-01-18 Thread Andrew Hill
Make sure you dont have any field or button whose id or name is also "submit" as in javascript a function is just another type of object, so a button or field on the form named 'submit' will hide the forms submit method and your call to frm.submit() would be trying to refer to the button which

help : submit with javascript problem

2005-01-18 Thread sachin
hi all , i have a Struts form defined like .. and i am tring to submit this form with javascript function like .. function submit() { frm=document.getElementById("paraFrm"); frm.submit(); } but it gives error that object does not support this p

RE: HTTP Status 404 - Servlet action is not available

2005-01-18 Thread Kalluru Uma. Maheswar
Hi David, Yes, its true that the "action" servlet is not loaded, this is my error message in the Catalina log file, Please tell me how to resolve this issue. Uma 2005-01-18 08:02:32 StandardContext[]Marking servlet action as unavailable 2005-01-18 08:02:33 StandardContext[]Servlet threw load() e

RE: HTTP Status 404 - Servlet action is not available

2005-01-18 Thread sachin
hi uma , see if the entries made into struts-config are correct to syntax .. and if they are correct then restarting the server could solve the problem .. i , too , got this error number of times and i always found that the error lies in struts-config ... Regards, Sachin Hegde Paradyne Infotec

Re: Using Validator framework with LookUpDispatchAction

2005-01-18 Thread Vamsee Kanakala
Venkata Krishna V. wrote: the flow. (i.e. Instead of validating only for Add, the form is validating even for Delete and Cancel) Add this in your validator plugin declaration in struts-config.xml: Vamsee. - To unsubscribe, e-mail:

RE: HTTP Status 404 - Servlet action is not available

2005-01-18 Thread David G. Friedman
Uma, When Tomcat says and "action" servlet is not available it often means initialization failed. Have you checked Tomcat's logs directory and made sure the app is properly loaded WITHOUT any errors? Are both your Local and Remote machines running the same version of Tomcat? (This could be a mi

Using Validator framework with LookUpDispatchAction

2005-01-18 Thread Venkata Krishna V.
Dear All, Problem: We need to validate the form through Struts Validation framework. Current situation: We have multiple submit buttons like (Add, Cancel and Delete) inside the same form.We couldn't do the struts validation as it validates for all the flow. (i.e. Instead of validat

RE: HTTP Status 404 - Servlet action is not available

2005-01-18 Thread Kalluru Uma. Maheswar
Hi David, Its Apache/1.3.33 Server. But I am trying to run my struts app directly on 8080 port i.e. Tomcat. http://myhost.com:8080/test1.abc and the error message is clearly coming from Tomcat. It says that "action" servlet is not available. But I think the struts.jar file is in the classpath as

Re: Multiple select/update from the Listing page

2005-01-18 Thread Daniel Watrous
I think that this article will tell you what you want to know. http://javaboutique.internet.com/tutorials/strutsform/ Daniel - Original Message - From: "Yen" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, January 18, 2005 7:38 PM Subject: Multiple select/update from

RE: HTTP Status 404 - Servlet action is not available

2005-01-18 Thread David G. Friedman
Uma Error 404 means "File Not Found" so the problem is likely a mapping issue between Apache and Tomcat. What Apache module are you using to pass JSP's to Tomcat? Regards, David -Original Message- From: Kalluru Uma. Maheswar [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 12

HTTP Status 404 - Servlet action is not available

2005-01-18 Thread Kalluru Uma. Maheswar
Hi, I get the following error in remote Tomcat server that is configured with Apache HTTP Server. The same app is working fine in my local machine that is having only Tomcat. Here is my web.xml file and struts-config.xml file action org.apache.struts.action.ActionServl

Re: URGENT : CMS Driven static site and Struts

2005-01-18 Thread Vamsee Kanakala
Jim Barrows wrote: The one thing I hate doing is trying to figure out someonelses undocumented framework. +1. I've been in that situation before, and believe me, it's an unenviable position that I wouldn't wish on my worst enemies! :) Vamsee.

Re: Multiple select/update from the Listing page

2005-01-18 Thread Jim Barrows
On Wed, 19 Jan 2005 10:38:10 +0800, Yen <[EMAIL PROTECTED]> wrote: > Hi, > > I wonder how struts handle the Multiple select/update from the Listing page. > Let say, there is a listing of 10 records and the page need to allow the > user to update the status for the records. Upon submitting the butt

Re: validator vs business logic

2005-01-18 Thread Erik Weber
Erik Weber wrote: Daniel Watrous wrote: Hello All, As I am working through the details of my first Struts application I am getting a little stuck on the Validator idea. It would seem that I can implement each form in my application as EITHER an ActionForm or a ValidatorForm. The action form has

Re: validator vs business logic

2005-01-18 Thread Erik Weber
Daniel Watrous wrote: Hello All, As I am working through the details of my first Struts application I am getting a little stuck on the Validator idea. It would seem that I can implement each form in my application as EITHER an ActionForm or a ValidatorForm. The action form has a validate method i

RE: Pls help me - want to show HTML o/p

2005-01-18 Thread Manisha Sathe
I got the answer after search on google - it is escapeXml=:false" Thanks for your support regards Manisha Manisha Sathe <[EMAIL PROTECTED]> wrote: no i am not using bean write. Actually what i am passing is StringBuffer Array to JSP from Action (name arroddsdata). Currently using JSTL - wh

Re: How to limit the result?

2005-01-18 Thread Manisha Sathe
I would like to give my sincere thanks to all, will try it out now. regards Manisha __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

RE: Pls help me - want to show HTML o/p

2005-01-18 Thread Manisha Sathe
no i am not using bean write. Actually what i am passing is StringBuffer Array to JSP from Action (name arroddsdata). Currently using JSTL - whether here i can make use of filter ? I tried to use but then what name / property shall i give ? it's giving me error. regards Manisha VAN BROECK

Multiple select/update from the Listing page

2005-01-18 Thread Yen
Hi, I wonder how struts handle the Multiple select/update from the Listing page. Let say, there is a listing of 10 records and the page need to allow the user to update the status for the records. Upon submitting the button, it will update all the status in the listing page. How does the form g

Re: validator vs business logic

2005-01-18 Thread john . chesher
I'm not a veteran, but I am pretty familiar with Validator and ValidatorForm, so since it is late evening (EST anyway) any you may not get quick responses, I'll take a shot... It doesn't have anything to do with validations being simple or complex. The isse is that if you create an ActionForm,

RE: Help with file extension

2005-01-18 Thread David G. Friedman
If you are using Apache Web Server with Tomcat, you should check your connector's (often mod_jk or mod_jk2) mapping methods. Some people don't map the whole webapp but just *.jsp or *.do extensions. In that case, you would have to make it recognize *.abc as a JSP or as something to forward to Tom

Re: JDBC Driver

2005-01-18 Thread Vic
DAO is better, there are SQL based DAO that do not use O/R at all (iBatis). Also, there is Spring JDBC wraper. 2 good choices. I too do not use O/R at all. It just helps you leverage code that is tested and working. .V Eddie Bush wrote: ... actually, some of us. Why? Because our "standards" (rath

validator vs business logic

2005-01-18 Thread Daniel Watrous
Hello All, As I am working through the details of my first Struts application I am getting a little stuck on the Validator idea. It would seem that I can implement each form in my application as EITHER an ActionForm or a ValidatorForm. The action form has a validate method included for the pu

Re: JDBC Driver

2005-01-18 Thread Eddie Bush
... actually, some of us. Why? Because our "standards" (rather, the standards of the company we work for) say that we're not using some hot-diggity O/R mapper. There are a myriad of reasons for doing things this way - none of which I'll go in to here. Fact is, what it really boils down to: It'

Re: How to limit the result?

2005-01-18 Thread Eddie Bush
Or, if you don't like having your Persistence layer depend on a JSP view being around, you might consider automating instantiation/population of beans within whatever your query subsystem is. This way you can populate just as many beans as you intend to use and save some overhead. It really depen

RE: ActionMessages

2005-01-18 Thread Justin Moore
That worked. Thanks! -Original Message- From: Steven Leija [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 18, 2005 6:12 PM To: Struts Users Mailing List Subject: RE: ActionMessages Hey Justin, You can create a dynamic error but still must use the properties file. In your propertie

RE: ActionMessages

2005-01-18 Thread Steven Leija
Hey Justin, You can create a dynamic error but still must use the properties file. In your properties files have something like: errors.dynamic={0} and in your ActionError instance pass in, "errors.dynamic" along with your dynamic error message. Steven -Original Message-

ActionMessages

2005-01-18 Thread Justin Moore
Anyone know how to pass errors from your Action to your JSP without having to use the resource file / ActionMessage combination. Basically I need to pass a dynamically generated error message to the jsp. Your help is appreciated. -Justin ---

Re: Stuts forwarding does not work

2005-01-18 Thread Alex Kravets
hmm...I guess I'll forward this there. Hubert Rabago wrote: On Tue, 18 Jan 2005 17:38:15 -0500, Alex Kravets <[EMAIL PROTECTED]> wrote: Now I need to figure out what's wrong with JBoss. Ooh, this line would get tons of responses in some circles. :D -

Re: Stuts forwarding does not work

2005-01-18 Thread Hubert Rabago
On Tue, 18 Jan 2005 17:38:15 -0500, Alex Kravets <[EMAIL PROTECTED]> wrote: > Now I need to figure out what's wrong with JBoss. Ooh, this line would get tons of responses in some circles. :D - To unsubscribe, e-mail: [EMAIL PRO

Re: Stuts forwarding does not work

2005-01-18 Thread Alex Kravets
Success! Now I know it's JBoss for sure. I just finally installed Tomcat on the server, deployed my application and it worked. Now I need to figure out what's wrong with JBoss. Thanks for your help guys! Alex Kravets wrote: In addition, part of the application is forwarding of initial request f

RE: Stuts forwarding does not work

2005-01-18 Thread David G. Friedman
Alex, I was asking for the plain-text jsp's line 85, not the compiled jsp's line 85. Regards, David -Original Message- From: Alex Kravets [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 18, 2005 2:39 PM To: Struts Users Mailing List Subject: Re: Stuts forwarding does not work In addit

Re: OT and not URGENT : CMS Driven static site and Struts

2005-01-18 Thread bryan
erm I suppose except for gmail that is ... --b >> My definition of a good web site includes "No Javascript". On Tue, 18 Jan 2005 13:28:21 -0600, Vic <[EMAIL PROTECTED]> wrote: > http://www.opensourcecms.com > I use Drupal. > hth, > .V > > Jim Barrows wrote: > > >On Tue, 18 Jan 2005 13:49:11

RE: UML and Struts

2005-01-18 Thread Stuart
Wow... thanks for the great discussion- it helped. Cheers, Stuart -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 18, 2005 10:50 AM To: 'Struts Users Mailing List' Subject: RE: UML and Struts yes, it mixes some structual aspects. The diagra

RE: UML and Struts

2005-01-18 Thread Stuart
Wow... thanks for the great discussion- it helped. Cheers, Stuart -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 18, 2005 10:50 AM To: 'Struts Users Mailing List' Subject: RE: UML and Struts yes, it mixes some structual aspects. The diagra

Re: Stuts forwarding does not work

2005-01-18 Thread Alex Kravets
In addition, part of the application is forwarding of initial request from index.jsp to action forward in struts-config.xml (welcome.jsp/welcome.do). So if this works then the whole mechanism of ActionServlet works? Alex Kravets wrote: But here is the scenario. I take standard application from

Re: Stuts forwarding does not work

2005-01-18 Thread Alex Kravets
But here is the scenario. I take standard application from a book. Try it on my local PC (Windows/Linux) everything works fine then take the same application to the server at work and it doesn't work. Clearly there is problem with the server setup and not the application, no? Dakota Jack wrote:

Re: ActionForm and Custom Tag

2005-01-18 Thread fzlists
On Tue, January 18, 2005 1:56 pm, Peter Wu said: >> With Struts, there is no separation of page prep and control events. In >> other words, if you want to submit to the server to update your >> calendar, >> you will be responsible for rendering the rest of the page, including >> any input the use

OT and not URGENT : CMS Driven static site and Struts

2005-01-18 Thread Vic
http://www.opensourcecms.com I use Drupal. hth, .V Jim Barrows wrote: On Tue, 18 Jan 2005 13:49:11 -0500, Erik Weber <[EMAIL PROTECTED]> wrote: Jim Barrows wrote: On Tue, 18 Jan 2005 06:24:01 -0800 (PST), nitin dubey <[EMAIL PROTECTED]> wrote: I respectfully disagree with this (unles

Re: Stuts forwarding does not work

2005-01-18 Thread Dakota Jack
I would try removing one by one the base, errors and form tags and see what happens. One of those seems to have a problem. Jack On Tue, 18 Jan 2005 14:19:27 -0500, Alex Kravets <[EMAIL PROTECTED]> wrote: > the code snippet is part of source code when my JSP page was compiled. > It's container g

Re: Stuts forwarding does not work

2005-01-18 Thread Alex Kravets
the code snippet is part of source code when my JSP page was compiled. It's container generated not mine so I presume it's a standard code, but here it is anyways: try { _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType("text/html;charset=ISO-8859-1"); pageC

Re: URGENT : CMS Driven static site and Struts

2005-01-18 Thread Jim Barrows
On Tue, 18 Jan 2005 13:49:11 -0500, Erik Weber <[EMAIL PROTECTED]> wrote: > > > Jim Barrows wrote: > > >On Tue, 18 Jan 2005 06:24:01 -0800 (PST), nitin dubey > ><[EMAIL PROTECTED]> wrote: > > > > > > I respectfully disagree with this (unless you guys are talking about > some other specific prod

html:cancel tries to validate, but works on other page

2005-01-18 Thread Nadia Kunkov
Hi, I have two almost identical jsp pages with cancel buttons. I'm using dispatch action so method "cancel" in my action just does a forward to some other page. In the documentation it's said that cancel "...causes the action servlet to bypass calling the associated form bean validate() meth

Re: ActionForm and Custom Tag

2005-01-18 Thread Peter Wu
omnytex.com> writes: > Sure, I understand completely now. You aren't doing anything unusual at > all :) > > I think because you came from an ASP.Net background, you have some > expectations that don't apply with Struts (I too came from an MS background, > although before .Net appeared, so > I

RE: UML and Struts

2005-01-18 Thread Matthias Wessendorf
yes, it mixes some structual aspects. The diagram is responsible to explain a flow with it's "components" (eg clazz, jsp, tiles...) that's all :-) > -Original Message- > From: Amleto Di Salle [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 18, 2005 7:42 PM > To: 'Struts Users Mailing

Re: URGENT : CMS Driven static site and Struts

2005-01-18 Thread Erik Weber
Jim Barrows wrote: On Tue, 18 Jan 2005 06:24:01 -0800 (PST), nitin dubey <[EMAIL PROTECTED]> wrote: Is it worth using Struts for a static site that is CMS Driven ? I can think of two options: Yes. 1. Fetching the data from database into Action forms and then building the page using Stru

R: UML and Struts

2005-01-18 Thread Amleto Di Salle
Hi, Maybe, in your diagram you are mixing structural aspects with the behavioural ones. In fact you have numbered your association, in order to explain what do you mean. In your example, you can use one class diagram in order to explain the "collaboration" between classes (without the actor and the

RE: UML and Struts

2005-01-18 Thread Matthias Wessendorf
Hi, > To me, that makes a sequence diagram not the most useful way > to "draw" a Struts app's architecture. I think a flowchart > showing the flow from each page to the action that it submits > to, with outbound arrows to the pages that get rendered, > conveys more about the overall structure

Re: Displaying images with dynamic names

2005-01-18 Thread Stefan Clos
Just map the picure to a URL and make an reference in your jsp to it. Charles A Jordan schrieb: Hello All, I have a struts application which creates image (png) files which have the session ID embedded in the name to make them unique. How do I display these in my jsp? I can add the names to my act

Re: UML and Struts

2005-01-18 Thread Craig McClanahan
On Tue, 18 Jan 2005 17:48:08 +, Mark Benussi <[EMAIL PROTECTED]> wrote: > Well Jim I know you are a well respected man on this group but I would say > in defence that the JSP is not invoking it is the url of the html in a users > browser. The only place I could see a jsp living would be on the

Re: URGENT : CMS Driven static site and Struts

2005-01-18 Thread Jim Barrows
On Tue, 18 Jan 2005 06:24:01 -0800 (PST), nitin dubey <[EMAIL PROTECTED]> wrote: > Is it worth using Struts for a static site that is CMS > Driven ? I can think of two options: Yes. > > 1. Fetching the data from database into Action forms > and then building the page using Struts HTML taglibs. >

Re: UML and Struts

2005-01-18 Thread Mark Benussi
Well Jim I know you are a well respected man on this group but I would say in defence that the JSP is not invoking it is the url of the html in a users browser. The only place I could see a jsp living would be on the return call.

Re: Stuts forwarding does not work

2005-01-18 Thread Dakota Jack
Line 85 is the catch clause, Alex. Give us the try clause. The problem is there. Include the catch in your post, please, with reference to line 85 again. This is a good learning experience for you on debugging using log files. Jack On Tue, 18 Jan 2005 10:07:29 -0500, Alex Kravets <[EMAIL PRO

Re: Displaying images with dynamic names

2005-01-18 Thread Dakota Jack
Just write the response with dynamic code that puts the correct name in the HTML, assuming that you are talking to a browser with response objects that are HTML. For example, might come from . Whatever you do, it has to end up with good old HTML. Actually, I do all my images as . This allows m

R: UML and Struts

2005-01-18 Thread Amleto Di Salle
Hi, May be you have to use the conallen UML extension in order to model a web application. This is a link: http://www.conallen.org/technologyCorner/webextension/ This is the first version of webextension. A good book is: Building Web Applications with UML (2nd Edition) by Jim Conallen for the seco

Re: UML and Struts

2005-01-18 Thread Jim Barrows
On Tue, 18 Jan 2005 08:31:28 +, Mark Benussi <[EMAIL PROTECTED]> wrote: > I would say that the action would be the first class that the User actor > would invoke the execute method with. The next class would I suppose be the The JSP page is also a class, and needs to modeled. > method of a ma

Re: ActionForm and Custom Tag

2005-01-18 Thread fzlists
Sure, I understand completely now. You aren't doing anything unusual at all :) I think because you came from an ASP.Net background, you have some expectations that don't apply with Struts (I too came from an MS background, although before .Net appeared, so I've fought the "why doesn't it work T

Re: ActionForm and Custom Tag

2005-01-18 Thread Peter Wu
Frank W. Zammetti omnytex.com> writes: > I need to understand a little bit more what you have now... When you > have your tag in the JSP, it of course renders HTML on the > browser (or are you rendering a link to an ActiveX control or something?). It is not an ActiveX control. If it were an A

Message Resources

2005-01-18 Thread eid4k
Hi there, I have a small Struts application which requires a user to login before he can call an admin action. The application is running fine under Tomcat 4.1 on my local system. When I deploy it to iPlanet WebServer 6.0 SP5 I have the problem that the error messages in ApplicationResouces.pr

Displaying images with dynamic names

2005-01-18 Thread Charles A Jordan
Hello All, I have a struts application which creates image (png) files which have the session ID embedded in the name to make them unique. How do I display these in my jsp? I can add the names to my actionform, but I don't know how to display the images. Any help would be greatly appreceated. Char

Re: Stuts forwarding does not work

2005-01-18 Thread Alex Kravets
if (_jspx_meth_html_form_0(pageContext)) return; out.write("\n"); out.write("\n"); out.write("\n\n"); out.write("\n"); } catch (Throwable t) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) out.clearBuffer(); if (pageContext != null

Re: Static site and Struts

2005-01-18 Thread Bryce Fischer
nitin dubey wrote: Is it worth using Struts for a static site that is CMS Driven ? I can think of two options: Sure, why not ->Fetching the data from database into Action forms and then building the page using Struts HTML taglibs. :Can be done, but I doubt that Struts HTML is powerful enough to ha

URGENT : CMS Driven static site and Struts

2005-01-18 Thread nitin dubey
Is it worth using Struts for a static site that is CMS Driven ? I can think of two options: 1. Fetching the data from database into Action forms and then building the page using Struts HTML taglibs. :Can be done, but I doubt that Struts HTML is powerful enough to handle minute details of the HTM

Re: Next release?

2005-01-18 Thread Matt Bathje
[EMAIL PROTECTED] wrote: Hi! Can you tell me when (estimatedly) Struts 1.2.6 will become a release? Thanx in advance, Lukas Lukas - 1.2.6 is a release, it is just not a General Availability (aka stable) release. Since it has been voted by the Struts developers as a Beta release, it will never go

Re: JBoss does not reflect changes without restart

2005-01-18 Thread Pavel Kolesnikov
On Tue, 18 Jan 2005 19:47:45 +0530, sachin <[EMAIL PROTECTED]> wrote: > > I hope you are using ant for compiling & building application. You > > can use following ant tag to redeploy without restarting the jboss > > during development time i don't use Ant ... i directly compile the changed > file

Re: JBoss does not reflect changes without restart

2005-01-18 Thread Keshav Shetty
Still you can make an ant with the target ti redeploy the jboss and run when you finished the compilation. Best regards Keshav sachin wrote: hi , I hope you are using ant for compiling & building application. You can use following ant tag to redeploy without restarting the jboss during

Re: JBoss does not reflect changes without restart

2005-01-18 Thread Erik Weber
I experienced unfriendly behavior from JBoss 3.2.4 related to this (I was deploying war files and not ear files). I suspect the hot deploy mechanism *might* be buggy (which leaves me wondering because I thought it worked great in 2.4.x), but I did manage to find some things I could do that seem

Re: JBoss does not reflect changes without restart

2005-01-18 Thread sachin
hi , > I hope you are using ant for compiling & building application. You > can use following ant tag to redeploy without restarting the jboss during development time i don't use Ant ... i directly compile the changed file in respective directory ... and JBoss does not reflect those changes an

Static site and Struts

2005-01-18 Thread nitin dubey
Is it worth using Struts for a static site that is CMS Driven ? I can think of two options: ->Fetching the data from database into Action forms and then building the page using Struts HTML taglibs. :Can be done, but I doubt that Struts HTML is powerful enough to handle minute details of the HTML

Re: JBoss does not reflect changes without restart

2005-01-18 Thread Keshav Shetty
Hi Sachin, I hope you are using ant for compiling & building application. You can use following ant tag to redeploy without restarting the jboss Please run the above ant target after compiling your project. We observerd hot redeploying will make the jboss slower everytime. Thanks & rgards

RE: JDBC Driver

2005-01-18 Thread bill
We use the datadirect and it's fine (and yes pricy). We also still support the microsoft VM for client side (heavy client not servlet stuff). Their current versions don't but if you can get 5.1, that works fine with client side and struts. bp -Original Message- From: David Bolsover [mai

Re: JBoss does not reflect changes without restart

2005-01-18 Thread Vic
Hey Sachin from Mubai, Did you ask on the jBoss list? What did they say? Did you ask on Tomcat List? What did they say? .V sachin wrote: hi all , I am using JBoss 4.0.1 and struts 1.2.4 Whenever i make any changes in my project and compile it JBoss does not reflect the chages .. Here i need to r

JBoss does not reflect changes without restart

2005-01-18 Thread sachin
hi all , I am using JBoss 4.0.1 and struts 1.2.4 Whenever i make any changes in my project and compile it JBoss does not reflect the chages .. Here i need to restart the JBoss and then it shows the changes... i got fed up with stopping the server and restarting it for so many times .. Plz ca

OT Re: AW: How to limit the result?

2005-01-18 Thread Vic
Yes, JSTL is doing Data in View. Action is doing Data in Controller. Data ... is done in data layer, depending on your DAO. Again http://ibatis.com/common/example.html - if you look at bottom of page about pageNext. Hopefully no one is writing to JDBC anymore, but using a DAO impl. That be like

Re: JDBC Driver

2005-01-18 Thread Vic
What does this have to do w/ Struts? You can at least put a OT: What DAO type are you using, you should post there. Hibrenate? iBatis? Hopefully no one writes their own JDBC handling anymore. .V OT: MS Driver is horrible, everyone uses jTDS in proudction from sf.net - including 1up.com based on St

RE: Pls help me - want to show HTML o/p

2005-01-18 Thread VAN BROECK Jimmy
If you use a tag like you should include following attribute . -Original Message- From: Manisha Sathe [mailto:[EMAIL PROTECTED] Sent: dinsdag 18 januari 2005 8:09 To: user@struts.apache.org Subject: Pls help me - want to show HTML o/p I want to create one report with lots of different

RE: How to limit the result?

2005-01-18 Thread David Bolsover
OK .. My suggestion for a look at javax.servlet.jsp.jstl.sql.ResultImpl and associated classes did not suggest the use of jstl tags - although probably more convenient. If you take the trouble to look at these classes, you will find that they can assist in restricting the data returned from the R

(newbie)automatic form submission

2005-01-18 Thread Sudheer
Hi, How to prevent the automatic submission and validation of forms when we try to access it for the first time ? Thank you. Sudheer

RE: JDBC Driver

2005-01-18 Thread Neil Meyer
Thanks Vamsee, I also found jTDS and is currently busy testing it. I hope it resolves my problems. Regards Neil -Original Message- From: Vamsee Kanakala [mailto:[EMAIL PROTECTED] Sent: Tuesday,18 January 2005 13:28 To: Struts Users Mailing List Subject: Re: JDBC Driver David Bolso

Re: JDBC Driver

2005-01-18 Thread Vamsee Kanakala
David Bolsover wrote: What is wrong with the Microsoft driver? Well, I can actually give a whole lot of reasons. One, it's extremely slow. Two, you can retrieve objects from ResultSet only in a certain order. Three, sometimes it just conks out giving strange errors. If you check for them on t

AW: How to limit the result?

2005-01-18 Thread Leon Rosenberg
Despite the honourable wish to help, How does an advice to use jstl-sql tags relates to a struts-user list? To the original question: Why don't you put exactly the same amount of databeans in your arraylist as you want to show? And where do you do it? Exact, in your action. Alternatively you cou

AW: How to limit the result?

2005-01-18 Thread Leon Rosenberg
Despite the honourable wish to help, How does an advice to use jstl-sql tags relates to a struts-user list? To the original question: Why don't you put exactly the same amount of databeans in your arraylist as you want to show? And where do you do it? Exact, in your action. Alternatively you cou

RE: How to limit the result?

2005-01-18 Thread David Bolsover
Processing ResultSets into custom beans can be a frustrating process.. You should have look at javax.servlet.jsp.jstl.sql.ResultImpl and associated classes. You will find in the jstl source distribution. Essentially, with a little effort, these classes will process a ResultSet and return a java

Next release?

2005-01-18 Thread lukas_oesterreicher
Hi! Can you tell me when (estimatedly) Struts 1.2.6 will become a release? Thanx in advance, Lukas

RE: JDBC Driver

2005-01-18 Thread Varley, Roger
> > There are a good number of drivers listed on the Sun web site > > http://servlet.java.sun.com/products/jdbc/drivers > > Product from JNetDirect and DataDirect promise much... but at > a price.. > Try http://jtds.sourceforge.net/ - it works for me and the price is right! Regards Roger

struts , passing parameter parent-child pages

2005-01-18 Thread Metin Erksan
hi i pass a value from a child popup page to another parent page.i can do this via clicking link or sending form field property.but how can i do with struts ? pages have struts forms and properties.when i try for struts form field property it does not work. sincerely

Re: How to limit the result?

2005-01-18 Thread Pavel Kolesnikov
On Tue, 18 Jan 2005 01:34:02 -0800 (PST), Manisha Sathe <[EMAIL PROTECTED]> wrote: > After long search i found out that MSSQL does not support Limit / range of > records to be fetched. what about "set rowcount" or "select top"?

RE: How to limit the result?

2005-01-18 Thread Paul McCulloch
Have a look at http://displaytag.sourceforge.net/ Paul > -Original Message- > From: Manisha Sathe [mailto:[EMAIL PROTECTED] > Sent: 18 January 2005 09:34 > To: Struts Users Mailing List > Subject: Re: How to limit the result? > > > After long search i found out that MSSQL does not suppo

Re: How to limit the result?

2005-01-18 Thread Manisha Sathe
After long search i found out that MSSQL does not support Limit / range of records to be fetched. Now i am thinking -> 1)putting each row into one databean. 2)Put databean into ArrayList 3)send this arraylist back to JSP with jstl tags i can loop through it and display. ... But how i can de

Re: HELP : Logic-Iterator with dynamic value for offset

2005-01-18 Thread sachin
Thanks Erik , > but I think the sentence means that the offset attribute can either > be a String literal ("5") or a reference to an object ("${objName}") > available to the JSP PageContext It solved the probelm with bean:define .. so that the value comes in JSP PageContext . and passing tha

Re: How to limit the result?

2005-01-18 Thread Neil
yes, if you use On Tue, 18 Jan 2005 00:24:46 -0800 (PST), Manisha Sathe <[EMAIL PROTECTED]> wrote: > I have a query which results into large data. This data i want to display in > a group of 20. After every 20 records i want to add header and footer to it. > > Is it possible to get the result

Re: Wiwit Tjahjana/HQ/FHLMC is out of the office.

2005-01-18 Thread Guillaume Cottenceau
wiwit_tjahjana 'at' freddiemac.com writes: > I will be out of the office starting 01/18/2005 and will not return until > 02/04/2005. > > I will be out on a paternity leave/vacation from Tue, Jan 18, 2005 to Wed, > Feb 2, 2005. On Thu, Feb 3, 2005, I will be working from home and could be > cont

RE: JDBC Driver

2005-01-18 Thread David Bolsover
There are a good number of drivers listed on the Sun web site http://servlet.java.sun.com/products/jdbc/drivers Product from JNetDirect and DataDirect promise much... but at a price.. db -Original Message- From: Neil Meyer [mailto:[EMAIL PROTECTED] Sent: 18 January 2005 08:45 To: Struts

Wiwit Tjahjana/HQ/FHLMC is out of the office.

2005-01-18 Thread wiwit_tjahjana
I will be out of the office starting 01/18/2005 and will not return until 02/04/2005. I will be out on a paternity leave/vacation from Tue, Jan 18, 2005 to Wed, Feb 2, 2005. On Thu, Feb 3, 2005, I will be working from home and could be contacted at this e-mail address. I will be returning t

RE: JDBC Driver

2005-01-18 Thread Neil Meyer
It's causing a lot of problems as my sites get busier. Database deadlocks and timeouts. Neil Meyer -Original Message- From: David Bolsover [mailto:[EMAIL PROTECTED] Sent: Tuesday,18 January 2005 10:43 To: Struts Users Mailing List Subject: RE: JDBC Driver What is wrong with the Micro

RE: JDBC Driver

2005-01-18 Thread David Bolsover
What is wrong with the Microsoft driver? -Original Message- From: Neil Meyer [mailto:[EMAIL PROTECTED] Sent: 18 January 2005 07:14 To: user@struts.apache.org Subject: JDBC Driver Hi All, I need a SQL 2000 JDBC driver. Which would you recommend or where can I download a decent one? (N

RE: UML and Struts

2005-01-18 Thread Mark Benussi
I would say that the action would be the first class that the User actor would invoke the execute method with. The next class would I suppose be the method of a manager that you invoke from the action and then whatever classes such as DAO's you invoke following that. Original Message Follow

Re: UML and Struts

2005-01-18 Thread Jim Barrows
On a sequence diagram? Sequence diagrams usually portray the actual classes being used. Since most of the classes you'll be diagramming are inherited, the struts classes themselves probably won't show up. On Mon, 17 Jan 2005 20:45:31 -0800, Stuart <[EMAIL PROTECTED]> wrote: > Hi, > > I am crea

How to limit the result?

2005-01-18 Thread Manisha Sathe
I have a query which results into large data. This data i want to display in a group of 20. After every 20 records i want to add header and footer to it. Is it possible to get the result set data into batch of 20 ? means can i specify start and end index of query ? regards Manisha

  1   2   >