Re: Re: Database connectivity

2004-08-10 Thread vineesh . kumar
my database connection class looks like package com.c2rmnet.struts.database; import org.apache.struts.action.Action; import javax.servlet.http.HttpServletRequest; import java.sql.SQLException; import java.sql.Connection; import java.sql.Statement; import javax.sql.DataSource; import java.sql.Re

Re: using tiles with dynamic links

2004-08-10 Thread Michael McGrady
At 05:16 PM 8/10/2004, you wrote: Haven't done it myself but if your using Tomcat, then you should be able to do it without Apache: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/cgi-howto.html Niall To quote Vic Chekvenich "You can get very dynamic w/ tiles, and use tilesaction for each tilee an

Re: Multiple image tags

2004-08-10 Thread Michael McGrady
You are over-thinking this, I think. If you are to get the information from the image tag, then you have to read the information. That is the bottom line. You don't need any hidden fields. They are just as hard to read. If you can read the request values, then you can do it easily with thi

Re: using tiles with dynamic links

2004-08-10 Thread Michael McGrady
At 04:59 PM 8/10/2004, you wrote: On 11/8/04 0:33, "Michael McGrady" <[EMAIL PROTECTED]> wrote: > You soccer types are a trip. It's called football, old boy. Ireland: soccer. England: football. And we (well, some of us) have vast amounts of mod_perl code that it would be shameful to throw away. E

Re: using tiles with dynamic links

2004-08-10 Thread Michael McGrady
At 04:32 PM 8/10/2004, you wrote: On 11/8/04 0:19, "Jim Barrows" <[EMAIL PROTECTED]> wrote: > There isn't one. Exactly. Michael's answer was not only curt, it was incorrect. I don't see what makes you think it was incorrect. You think that the path is restricted? If so, then I am wrong, but I t

Re: Should every Action have an associated form?

2004-08-10 Thread Michael McGrady
I have lots of actions without forms. They are useful when you don't have forms. LOL Seriously, that is the reason. Michael At 07:51 PM 8/10/2004, you wrote: Hey everyone! I hope to not get flamed, but it's getting late here and I'm tired of looking through the archives. Should every Action

Re: Should every Action have an associated form?

2004-08-10 Thread Craig McClanahan
On Tue, 10 Aug 2004 22:00:08 -0500, Vic Cekvenich <[EMAIL PROTECTED]> wrote: > Matthew J. Vincent wrote: > > Hey everyone! > > > > I hope to not get flamed, but it's getting late here and I'm tired of > > looking through the archives. Should every Action have an associated > > ActionForm? > No.

Re: Importing context with Struts

2004-08-10 Thread Leandro Melo
Well guys, i'm just a beginner here, so i couldn't some points. I'll expose my situation in details, so maybe you show me how to accomplish that... Here's the base definition of my pages:

RE: using tiles with dynamic links

2004-08-10 Thread David Friedman
Well, why not use the pre-existing Jakarta Scrape taglib in your tile piece? To substitute in specific urls, you could use a tilesAction to set the included Tile which would probably require a hard-coded URL within each specific tile. Or, if your server supports EL, you could probably just insert

Re: Multiple image tags

2004-08-10 Thread Leandro Melo
Hi Michael, please correct me if i'm wrong, but none of those solutions would work nicely in my case. The problem is that both solutions in a higher level focus on getting the parameter and checking it out to see its value. In my case, i got a MyLookupDispatchAction that receives all the request

Re: Should every Action have an associated form?

2004-08-10 Thread jthompson
You don't need a form with an action. I have an action called 'HomeAction' - it's job is to decide where to direct a user based on their allowable actions. It's configured like this in struts-config: ie 'HomeAction' gets called using the url path '/home'. HomeAction

Re: Should every Action have an associated form?

2004-08-10 Thread Vic Cekvenich
Matthew J. Vincent wrote: Hey everyone! I hope to not get flamed, but it's getting late here and I'm tired of looking through the archives. Should every Action have an associated ActionForm? No. Only updateable actions need a formbean. Is it a bad idea to read a parameter directly from the req

Should every Action have an associated form?

2004-08-10 Thread Matthew J. Vincent
Hey everyone! I hope to not get flamed, but it's getting late here and I'm tired of looking through the archives. Should every Action have an associated ActionForm? Is it a bad idea to read a parameter directly from the request in the Action? I have a page where I need to show details for a

RE: Taglibs generating lots of warning messages

2004-08-10 Thread Andy Schmidgall
Does anyone know anything about this? This is generating HUGE catalina.out files, and I would really like to use log4j to catch these rather than having to build and/or configure yet another app just to rotate this one file... Thanks, Andy -Original Message- From: Andy Schmidgall Sent: W

Re: Struts, checkbox and optionally displaytag

2004-08-10 Thread lixin chu
thanks ! --- Koon Yue Lam <[EMAIL PROTECTED]> wrote: > Hi ! > > From your question, I guess that you need a multiple > of checkboxes, so > you need instead of > > for your reference: > http://struts.apache.org/userGuide/struts-html.html#multibox > > and a wonderful example: > http://j2ee.lagn

Re: Importing context with Struts

2004-08-10 Thread Vic Cekvenich
You can get very dynamic w/ tiles, and use tilesaction for each tilee and put in scope what the tiles defnitions need to render, so each request is dynamycaly assembled. Rember that you can use tiles-el or el anywhere in servlet 2.4 (If you want to use extrnal or non "jsp" source, check out site

Re: using tiles with dynamic links

2004-08-10 Thread Niall Pemberton
Haven't done it myself but if your using Tomcat, then you should be able to do it without Apache: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/cgi-howto.html Niall - Original Message - From: "Jim Barrows" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent:

RE: using tiles with dynamic links

2004-08-10 Thread Jim Barrows
> -Original Message- > From: David Stevenson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 5:00 PM > To: Struts Users Mailing List > Subject: Re: using tiles with dynamic links > > > On 11/8/04 0:33, "Michael McGrady" <[EMAIL PROTECTED]> wrote: > > > You soccer types are a

Re: using tiles with dynamic links

2004-08-10 Thread David Stevenson
On 11/8/04 0:33, "Michael McGrady" <[EMAIL PROTECTED]> wrote: > You soccer types are a trip. It's called football, old boy. And we (well, some of us) have vast amounts of mod_perl code that it would be shameful to throw away.

RE: using tiles with dynamic links

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 4:33 PM > To: Struts Users Mailing List > Subject: Re: using tiles with dynamic links > > > At 04:12 PM 8/10/2004, you wrote: > >But he used the keyword 'dynamic'. So presumably it's

Re: using tiles with dynamic links

2004-08-10 Thread Michael McGrady
At 04:12 PM 8/10/2004, you wrote: But he used the keyword 'dynamic'. So presumably it's more than a static file that he wants to include. He said "I wish to make some of my tiles return content from web pages outside my site i.e. kind of like using frames. can this be done with tiles?" Does thi

Re: using tiles with dynamic links

2004-08-10 Thread David Stevenson
On 11/8/04 0:19, "Jim Barrows" <[EMAIL PROTECTED]> wrote: > There isn't one. Exactly. Michael's answer was not only curt, it was incorrect. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

RE: using tiles with dynamic links

2004-08-10 Thread Jim Barrows
> -Original Message- > From: David Stevenson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 4:13 PM > To: Struts Users Mailing List > Subject: Re: using tiles with dynamic links > > > On 10/8/04 23:46, "Michael McGrady" <[EMAIL PROTECTED]> wrote: > > > Be sure to use a link

RE: Importing context with Struts

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 3:51 PM > To: Struts Users Mailing List > Subject: RE: Importing context with Struts > > > I thought that digester actually created classes out of this > stuff, Jim. No? Not quite.

Re: using tiles with dynamic links

2004-08-10 Thread David Stevenson
On 10/8/04 23:46, "Michael McGrady" <[EMAIL PROTECTED]> wrote: > Be sure to use a link which actually addresses the files you want to > include. But he used the keyword 'dynamic'. So presumably it's more than a static file that he wants to include. Me - I'd link to use the output of a mod_perl s

Re: Servlet help for a Struts programmer

2004-08-10 Thread joe a.
np! what are cognizantorees? On Tue, 10 Aug 2004 14:54:11 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: > At 02:21 PM 8/10/2004, you wrote: > >Have any of you guys read Jakarta Struts Live by Hightower? Its > >available for free here in pdf form: > >http://www.theserverside.com/books/sourceb

RE: Importing context with Struts

2004-08-10 Thread Michael McGrady
I thought that digester actually created classes out of this stuff, Jim. No? At 03:23 PM 8/10/2004, you wrote: > -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 3:14 PM > To: Struts Users Mailing List > Subject: RE: Importing context w

Re: using tiles with dynamic links

2004-08-10 Thread Michael McGrady
At 03:46 PM 8/10/2004, you wrote: Be sure to use a link which actually addresses the files you want to include. Better? LOL Well, not really a link, but you get the idea. Whatever connection you have to the files, be sure it is sufficient, and, real, okay? LOL That should about do it for t

Re: using tiles with dynamic links

2004-08-10 Thread Michael McGrady
At 03:37 PM 8/10/2004, you wrote: On 10/8/04 20:18, "Michael McGrady" <[EMAIL PROTECTED]> wrote: > Yes. Woah there, go steady with the heavy science. Perhaps you could pr?is an answer for the guy? It didn't need to be as long as 'Yes', when 'Y' might well have been sufficient. Okay. I will add t

Re: using tiles with dynamic links

2004-08-10 Thread David Stevenson
On 10/8/04 20:18, "Michael McGrady" <[EMAIL PROTECTED]> wrote: > Yes. Woah there, go steady with the heavy science. Perhaps you could précis an answer for the guy? It didn't need to be as long as 'Yes', when 'Y' might well have been sufficient.

RE: Importing context with Struts

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 3:14 PM > To: Struts Users Mailing List > Subject: RE: Importing context with Struts > > > At 03:00 PM 8/10/2004, you wrote: > >Not class no, scope yes. > > The "extension" is not re

RE: Importing context with Struts

2004-08-10 Thread Michael McGrady
At 03:00 PM 8/10/2004, you wrote: Not class no, scope yes. The "extension" is not real? Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: java.net.ConnectException: Connection refused

2004-08-10 Thread Martin Gainty
Sounds like you may have a different classloader best to use the class loader that the DriverManangerConnectionFactory uses e.g. Class.forName("com.mysql.jdbc.Driver", true, DriverManagerConnectionFactory.class.getClassLoader()); Let me know how you make out, Martin Gainty From: "Jim Barrows" <[

RE: Importing context with Struts

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 2:58 PM > To: Struts Users Mailing List > Subject: RE: Importing context with Struts > > > At 02:53 PM 8/10/2004, you wrote: > > > > Is there a way to do that? > > > > > >Are all the

RE: Importing context with Struts

2004-08-10 Thread Michael McGrady
At 02:53 PM 8/10/2004, you wrote: > Is there a way to do that? Are all these pages being displayed at the same time? In that case all vars are probalby in request scope, if not session. Other then that... I don't think so. I do much the same thing, using tiles to tie it all together for display

Distributable Web Application Question

2004-08-10 Thread Jones, Marty B.
Is anyone using Struts in a distributed Web application? If so, are there any gotchas that you have run accross using Struts in a distributed Web Application? Thanks, Marty Jones - To unsubscribe, e-mail: [EMAIL PROT

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 02:21 PM 8/10/2004, you wrote: Have any of you guys read Jakarta Struts Live by Hightower? Its available for free here in pdf form: http://www.theserverside.com/books/sourcebeat/JakartaStrutsLive/index.tss Thanx! I also highly recommend as a beginning The Struts Framework by Sue Spielman. Te

RE: Importing context with Struts

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Leandro Melo [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 2:50 PM > To: struts jakarta > Subject: Importing context with Struts > > > Suppose i got scattered pieces of code, wich includes > a lot of Struts tags. > These pieces are separate file

Importing context with Struts

2004-08-10 Thread Leandro Melo
Suppose i got scattered pieces of code, wich includes a lot of Struts tags. These pieces are separate files, and i need to accesss some struts attributes (or beans) from these other files for each request. A nice example would be the html: error tag. In my case, it's located outside of the file th

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 02:16 PM 8/10/2004, you wrote: hides a lot of plumbing that if you're not aware, can make life difficult to understand/accomplish what you need to do I can still remember my Grandmama asking me where the key making a space on the typewriter was. She was looking for a key saying "space". In m

Re: Servlet help for a Struts programmer

2004-08-10 Thread joe a.
Have any of you guys read Jakarta Struts Live by Hightower? Its available for free here in pdf form: http://www.theserverside.com/books/sourcebeat/JakartaStrutsLive/index.tss Has a good tutorial (holy crap i just sneezed and shook my entire desk causing the cd case to fall off my monitor) chapter

Re: Servlet help for a Struts programmer

2004-08-10 Thread Woodchuck
imo this is true, a beginner can build a simple web app using Struts (without any prior servlet experience) i am living proof, as i started with Struts directly. HOWEVER, because real-world apps are never basic/simple, and because Struts is really a facade on top of the java-based web app parad

RE: java.net.ConnectException: Connection refused

2004-08-10 Thread Shilpa Nalgonda
All the below 4 are working on my Linux box but still i have the same problem networking on the linux box is up and running? mysql is up and running? netstat --listen shows the 3306 port for mysql open and listening? Can you get the mysql admin tools to connect from commandline? -Original

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 02:06 PM 8/10/2004, you wrote: I find this to be a good tutorial also. http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/ HTH Pritpal Dhaliwal This is an early version of the Core book,which is online for free. http://www.coreservlets.com/ Michael --

Re: Multiple image tags

2004-08-10 Thread Michael McGrady
At 12:55 PM 8/10/2004, you wrote: Hi, this is a big question, so probably for only the patient ones... All the solutions with the image tag are based on transforming the parameter name in the tag to a value. The name\value pair, e.g. button.submit.x=9, is useful only for the name, i.e. for "but

RE: Servlet help for a Struts programmer

2004-08-10 Thread Dhaliwal, Pritpal (HQP)
I find this to be a good tutorial also. http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/ HTH Pritpal Dhaliwal -Original Message- From: Denis Avdic [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 11:55 AM To: Struts Users Mailing List Subject: Servlet help for a Struts prog

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:51 PM 8/10/2004, you wrote: updating and maintaining a pure Servlet application. What is the application like, Denis? What do you mean when you say it is "pure Servlet"? Is it without JSP pages, etc.? That would be surprising to me. Michael

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:45 PM 8/10/2004, you wrote: JSP's are basically inverted servlets, and were created because of the amount of pain involved in spitting out what was bascially boilerplate html. We used helper classes back then to do with Servlets essentially (in principle) what is done with JSP today. In f

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Denis Avdic [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 11:55 AM > To: Struts Users Mailing List > Subject: Servlet help for a Struts programmer > > > I have an strange request: > > While I am very familiar with Struts (I've worked almost exc

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:57 PM 8/10/2004, you wrote: It is *entirely* possible that there are webapps still running out there that are done completely with Servlets. No JSP, no Struts, nothing but (IIRC) out.println( "bunch of html here"); Struts did not always exist, and since JSP's get compiled into Servlet code,

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 1:38 PM > To: Struts Users Mailing List > Subject: Re: Servlet help for a Struts programmer > > > At 01:27 PM 8/10/2004, you wrote: > >The OP has an existing application > >that doesn

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:33 PM 8/10/2004, you wrote: Try it yourself no JSP's. No struts, and basic CRUD operations on an address book. Now today, you would probably be smart. You would have a CRUD servlet for the "actions", that would redirect to a servlet for generating HTML. That's 4 serlvets handling C

RE: java.net.ConnectException: Connection refused

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 1:29 PM > To: Struts Users Mailing List > Subject: RE: java.net.ConnectException: Connection refused > > > No there is no firewall on Linux box. Okay I'm going to down a mental list

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:27 PM 8/10/2004, you wrote: The OP has an existing application that doesn't use Struts. Oh, I see what you mean, Wendy. I assume that the "OP", whatever that is (client?), does not have a Servlet application that fails to use standard decoupling techniques, and even if it did, he would wan

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 1:22 PM > To: Struts Users Mailing List > Subject: Re: Servlet help for a Struts programmer > > > At 12:57 PM 8/10/2004, you wrote: > >Yes, Struts is based on Servlets, but you don't

RE: java.net.ConnectException: Connection refused

2004-08-10 Thread Shilpa Nalgonda
No there is no firewall on Linux box. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 4:24 PM To: Struts Users Mailing List Subject: RE: java.net.ConnectException: Connection refused > -Original Message- > From: Shilpa Nalgonda [mai

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:27 PM 8/10/2004, you wrote: The name calling is getting tiresome. Name calling? If I called anyone a name, I apologize. Do you mean referring to people by their names? Whatever, if you are talking to me, I certainly did not intend to offend anyone and am merely enjoying a conversation

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:26 PM 8/10/2004, you wrote: No it's not. Trust me It's not even remotely close to servlet development... it uses only one servlet. Servlet development uses lots of servlets. Each one lovingly crafted by hand. Decoupling concerns for architectural and design purposes does not change

Re: Servlet help for a Struts programmer

2004-08-10 Thread Wendy Smoak
From: "Michael McGrady" <[EMAIL PROTECTED]> > A webapp completely in servlets? No helper classes? No decoupling from > Servlets at all? I doubt it! But, if so, it is nuts, as I said, and > certainly not the question here. I assume that he would like to do > something that does not resemble the

Struts1.1 + Tiles on Resin 2.1.14

2004-08-10 Thread dyp
Hello all!! 1. I've got a huge problem - i wrote an app that utilizes "subj", tested it on bunch of app-servers in local environment and finally (happily) deployed it to my ISP. ..App don't work there!!! All of the Struts1.1 (either with Tiles or nor) examles don't. I' m confused.. 2. my index.jsp

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:22 PM 8/10/2004, you wrote: Guess what don't doubt it. I did it. I wrote them. I hated it. It was painful. It was complex. It was ugly. In fact if you see a url that includes something like /servlet/blah you are probably looking at a website done entirely in servlets. Granite, a

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 1:19 PM > To: Struts Users Mailing List > Subject: Re: Servlet help for a Struts programmer > > > At 01:12 PM 8/10/2004, you wrote: > >I havent't seen any comprehensive documentation

RE: java.net.ConnectException: Connection refused

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 1:13 PM > To: Struts Users Mailing List > Subject: RE: java.net.ConnectException: Connection refused > > > Hi Jim, > I have tried all different options for the jdbc url, but > everyt

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 1:12 PM > To: Struts Users Mailing List > Subject: Re: Servlet help for a Struts programmer > > > At 12:57 PM 8/10/2004, you wrote: > >From: "Michael McGrady" <[EMAIL PROTECTED]> > >

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:57 PM 8/10/2004, you wrote: Yes, Struts is based on Servlets, but you don't have to know anything about Servlets to make a useful Struts webapp. I wonder if this is true. I cannot imagine that it could be. Maybe it is. I am beginning to think so. ///;-) Michael

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 12:57 PM > To: Struts Users Mailing List > Subject: Re: Servlet help for a Struts programmer > > > From: "Michael McGrady" <[EMAIL PROTECTED]> > > > There is no project that is "just ser

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Denis Avdic [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 12:52 PM > To: Struts Users Mailing List > Subject: Re: Servlet help for a Struts programmer > > > I am sure that in a week or two that might be apparent to me. However > right now I am

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:12 PM 8/10/2004, you wrote: I havent't seen any comprehensive documentation on development with servlet/JSP vs Struts development. Geesch! Struts IS basic Servlet development at the highest level. Michael - To unsubscribe,

Re: Servlet help for a Struts programmer

2004-08-10 Thread joe a.
This is probably the first struts mailing list thread I've browsed through, dear god you guys confuse me :) -Joe On Tue, 10 Aug 2004 13:11:34 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: > At 12:57 PM 8/10/2004, you wrote: > >From: "Michael McGrady" <[EMAIL PROTECTED]> > > > > > There is no

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:06 PM 8/10/2004, you wrote: But comparing Struts to Servlets makes no sense. SUre it does... as he says later.. how do I forward to a completed action... Since in servlets there is no action. The only forward there is, is a real forward, not a struts style forward. Not to mention that

RE: java.net.ConnectException: Connection refused

2004-08-10 Thread Shilpa Nalgonda
Hi Jim, I have tried all different options for the jdbc url, but everything leads to same error, :java.net.ConnectException: Connection refused -- i tried to get connection from DriverManager.getConnection() instead from datasource and even that doen't work. I was able to use the same configuratio

Re: Servlet help for a Struts programmer

2004-08-10 Thread henrik . bentel
Feel your pain! I havent't seen any comprehensive documentation on development with servlet/JSP vs Struts development. Nobody really writes about basic servlet development anymore. It's soo "old school". I'd look for older articles (at www.servlets.com, onjava.com, javaworld.com, etc.) for exa

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:57 PM 8/10/2004, you wrote: From: "Michael McGrady" <[EMAIL PROTECTED]> > There is no project that is "just servlets" unless it is nuts. It is *entirely* possible that there are webapps still running out there that are done completely with Servlets. No JSP, no Struts, nothing but (IIRC) out.

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 12:41 PM > To: Struts Users Mailing List > Subject: RE: Servlet help for a Struts programmer > > > At 12:29 PM 8/10/2004, you wrote: > >Nope.. you misunderstood his question. First h

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:51 PM 8/10/2004, you wrote: I am sure that in a week or two that might be apparent to me. However right now I am exposed to everything that ActionServlet and MultipartRequestWrapper hid from view. Using Struts in my programming, the controller part of the MVC was hidden. For example, one of

Re: Servlet help for a Struts programmer

2004-08-10 Thread Wendy Smoak
From: "Michael McGrady" <[EMAIL PROTECTED]> > There is no project that is "just servlets" unless it is nuts. It is *entirely* possible that there are webapps still running out there that are done completely with Servlets. No JSP, no Struts, nothing but (IIRC) out.println( "bunch of html here");

Multiple image tags

2004-08-10 Thread Leandro Melo
Hi, this is a big question, so probably for only the patient ones... I'm beeing a very purist on MVC in my application, so i got a .jsf that is called HTMLbuttons.jsf, wich looks like this. code: <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> <%@ taglib uri="/WEB-INF/struts-html.

Re: Servlet help for a Struts programmer

2004-08-10 Thread Denis Avdic
I am sure that in a week or two that might be apparent to me. However right now I am exposed to everything that ActionServlet and MultipartRequestWrapper hid from view. Using Struts in my programming, the controller part of the MVC was hidden. For example, one of the first questions I had was: H

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:40 PM 8/10/2004, you wrote: Jim is correct. :) About what the gentleman meant? I doubt that. If so, they are both confused. LOL I doubt that Jim is. ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:29 PM 8/10/2004, you wrote: Nope.. you misunderstood his question. First he started on struts. Every project he's worked on. Now, PHB wants him to work on another project, which is just servlets. He's never done any servlet programming, so he wants to know what differences there are et

Re: Servlet help for a Struts programmer

2004-08-10 Thread Denis Avdic
Jim is correct. :) On Tue, 10 Aug 2004 12:29:23 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Michael McGrady [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, August 10, 2004 12:25 PM > > To: Struts Users Mailing List > > Subject: RE: Servlet help for a

Re: html:file using an image button

2004-08-10 Thread Ovidiu EFTIMIE
I'm using html:file and it works just fine . In my previous reply I made a copy&paste from the generated html. The most important lines are these 2 document.forms[0].btnFichier.click(); document.forms[0].nomFichier.value=document.form["frmFichier"].btnFichier.value; On Tue, 10 Aug 2004 12:21

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 12:25 PM > To: Struts Users Mailing List > Subject: RE: Servlet help for a Struts programmer > > > At 12:17 PM 8/10/2004, you wrote: > >WEB-INF/web.xml > > > >You can take a glance th

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:17 PM 8/10/2004, you wrote: WEB-INF/web.xml You can take a glance there and see what servlets are mapped to where. Servlet programming is not that much different. You just end up doing a lot of manual labor to get your parameters and such. Instead of doing thing like, myForm.getPersonName()

Re: html:file using an image button

2004-08-10 Thread Michael McGrady
At 10:14 AM 8/10/2004, you wrote: Use something like this function getNomFichier(){ document.forms[0].btnFichier.click(); document.forms[0].nomFichier.value=document.form["frmFichier"].btnFichier.value; } Will this work with ?

Re: using tiles with dynamic links

2004-08-10 Thread Michael McGrady
Yes. At 10:17 AM 8/10/2004, you wrote: I wish to make some of my tiles return content from web pages outside my site i.e. kind of like using frames. can this be done with tiles? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Servlet help for a Struts programmer

2004-08-10 Thread Dhaliwal, Pritpal (HQP)
WEB-INF/web.xml You can take a glance there and see what servlets are mapped to where. Servlet programming is not that much different. You just end up doing a lot of manual labor to get your parameters and such. Instead of doing thing like, myForm.getPersonName(); You will do something like r

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
Struts is in a sense "pure servlet technology". Very pure: only one servlet extends HttpServlet and only one servlet implements HttpServlet, viz. ActionServlet and MultipartRequestWrapper. I would suggest you get a copy of a good book on Servlets like Jason Hunter's, cf. www.servlets.com. Mic

custom transactions

2004-08-10 Thread Woodchuck
hihi, this is my scenario: - container managed pooling (Tomcat 4.1.24) - jdbc (PreparedStatement objects) - wrapping my own transactions by autoCommit(false), and issuing commit() manually i'm running into a table-lock situation after DELETE statements. i'm using the same Connection object fo

Servlet help for a Struts programmer

2004-08-10 Thread Denis Avdic
I have an strange request: While I am very familiar with Struts (I've worked almost exclusively in Struts for last 2 years, right after college), I have only basic knowledge of actual Servlet programming. Now I am faced with a task of updating and maintaining a pure Servlet application. Does any

RE: missing reload method on ActionServlet

2004-08-10 Thread Andy Dailey
Thanks. I had been searching for 2 hours for something regarding this. -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 2:34 PM To: Struts Users Mailing List Subject: Re: missing reload method on ActionServlet Reload is no longer support

Re: help with multiple submit buttons

2004-08-10 Thread Michael McGrady
At 05:22 AM 8/10/2004, you wrote: Thanks, that goes some way...but not all the way though. A common situation where a dynamic page displays 0n items with different identifiers. For example, an item list is fetched from database, and page contains delete buttons for items 23, 67, 101 and 128.

Re: missing reload method on ActionServlet

2004-08-10 Thread Hubert Rabago
Reload is no longer supported. http://struts.apache.org/faqs/newbie.html#reload --- Andy Dailey <[EMAIL PROTECTED]> wrote: > I am currently in process of upgrading to version 1.1, an application > that was build on version 1.0.2. Right now it seems that I am stuck. I > have extended the ActionS

missing reload method on ActionServlet

2004-08-10 Thread Andy Dailey
I am currently in process of upgrading to version 1.1, an application that was build on version 1.0.2. Right now it seems that I am stuck. I have extended the ActionServlet class and have invoked the reload() method. This worked with 1.0.2. But in 1.1, the method is totally missing. So my appl

RE: java.net.ConnectException: Connection refused

2004-08-10 Thread Shilpa Nalgonda
Unfortunately I'm not at home, which is where my MySQL implementation is, so I can't show you what I'm doing for another 7-8 hours :( On the other hand the MySQL folk have some great documentation and help forums that could probably help you more, if no one else has any solutions for you here.

using tiles with dynamic links

2004-08-10 Thread teknokrat
I wish to make some of my tiles return content from web pages outside my site i.e. kind of like using frames. can this be done with tiles? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: java.net.ConnectException: Connection refused

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 10:10 AM > To: Struts Users Mailing List > Subject: RE: java.net.ConnectException: Connection refused > > > > This is a well known problem regarding MySQL and Linux. One > of two h

Re: html:file using an image button

2004-08-10 Thread Ovidiu EFTIMIE
Use something like this function getNomFichier(){ document.forms[0].btnFichier.click(); document.forms[0].nomFichier.value=document.form["frmFichier"].btnFichier.value; } Ovidiu On Tue, 10 Aug 2004 08:27:49 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: > At 07:41 AM 8/10/20

RE: java.net.ConnectException: Connection refused

2004-08-10 Thread Shilpa Nalgonda
This is a well known problem regarding MySQL and Linux. One of two has a screwy implementation of resolving host names. WHich one depends on who you talk to. Known solutions include using 127.0.0.1. You will also have issues with authenticating to the server if you limit mysql logins by server

Re: TagLib

2004-08-10 Thread Craig McClanahan
On Tue, 10 Aug 2004 10:44:34 -0400, Seaman, Sloan <[EMAIL PROTECTED]> wrote: > This isn't a struts specific question (more towards tag-libs) but I figure > it is worth asking: > > Why does org.apache.taglivs.standard.tag.common.sql.DataSourceUtil assume > that the datasource is within java:comp/en

  1   2   >