Re: Action Returning to previous page

2005-01-19 Thread Kishore Senji
On Wed, 19 Jan 2005 22:57:01 -0500, Brandon Mercer <[EMAIL PROTECTED]> wrote: > Will Stranathan wrote: > > > Not positive I completely understand the question, so I'll make a very > > vague response. > > Yeah, after I read it I didn't make much sense to myself either. :-P > > > > > You can: > >

Re: select multiple woes

2005-01-19 Thread Kishore Senji
Did you take a look at the html source (with String[])? It should have multiple="multiple" in the On Wed, 19 Jan 2005 20:54:05 -0600, Will Stranathan <[EMAIL PROTECTED]> wrote: > I promise I google'd first > > I'm trying to use a multiple-select select box, for example: > > > One > Two >

Re: Action Returning to previous page

2005-01-19 Thread Dakota Jack
> > > 2) Specify a for the Action that sends the user back to > > from whence they came. > > I don't think I can do this because they may come from a number of pages. > You can specify a dynamic ActionForward return in your Action class execute(...) method. Not sure why this presents any di

Problem with html:radio when disabled is true

2005-01-19 Thread Néstor Boscán
Hi I'm working with struts and action forms. I have a form with several fields and some of them are radio buttons. In some cases I want the radio buttons to be disabled so I put the html:radio tag like this: The problem is that if I submit the form and validation fails the form is reloaded

Re: Post -> Redirect -> Get

2005-01-19 Thread Matthew Ryan
HI Craig, Thanks for the reply. Recently I had a read of these articles on theServerSide by Michael Jouravlev, titled 'Redirect After Post' and 'Redirect After Post 2'. http://www.theserverside.com/articles/content/RedirectAfterPost/article.html http://www.theserverside.com/articles/article.tss

Re: Session Strategy

2005-01-19 Thread Frank W. Zammetti
That's an interesting view of JSPs. I've always thought of WEB-INF as configuration and support files only. In that mindset, a JSP wouldn't fit because it is a piece of the application itself, not configuration and not a support file, like JARs would be for instance. In any case, I'm not tryi

Validator question

2005-01-19 Thread Curtis Taylor
Hello, Here's (what I hope to be) a simple question: What causes the tag to fail & interfere with the http response by writing raw text to it? I've seen only 2 posts regarding this issue, but I'm relatively certain there must be more... Any insights or clarifying questions more than welcomed,

Re: Session Strategy

2005-01-19 Thread Andrew Hill
Id support the filter suggestion, though for myself I generally do the check in the RequestProcessor, as Ive usually overrideen it to perform other evil anyhow, and Im lazy to make a filter. If you dont keep your JSP under WEB-INF (IMHO thats where they belong because they are 'code & config' ,

Re: Post -> Redirect -> Get

2005-01-19 Thread Craig McClanahan
On Thu, 20 Jan 2005 13:27:59 +1000, Matthew Ryan <[EMAIL PROTECTED]> wrote: > Want to ask if many people implement something of a PRG in the handling of > Actions (and forwards)? It is, of course, easy to implement this ... just set redirect="true" on your forwards and you get the PRG result. But

Re: Session Strategy

2005-01-19 Thread Frank W. Zammetti
If the user clicks a button, you are either going to (a) go directly to a JSP, which is generally not a good idea in a Struts-based application anyway (or any servlet-based application for that matter) or (b) go to an Action, as you probably should be doing. In either case, choice 1 is what I

Re: Action Returning to previous page

2005-01-19 Thread Brandon Mercer
Will Stranathan wrote: Not positive I completely understand the question, so I'll make a very vague response. Yeah, after I read it I didn't make much sense to myself either. :-P You can: 1) Use the input attribute of an Action to specify the page that fed it - if the validate() method on the

RE: Session Strategy

2005-01-19 Thread David G. Friedman
I'll suggest option #3: Hide all JSP's under /WEB-INF/pages (or something like that) so you need actions (or ForwardActions) to internally get to the JSP pages. Then, you can modify the RequestProcessor.processRoles() method to perform your security check for the session scope's userID object or

Session Strategy

2005-01-19 Thread Jim Douglas
To all, I have a web application that sets a session attribute with userID and a timeout in the config file that times out after 5 minutes in case the user walks away. I am trying to figure out the best strategy to deal with cases where the user comes back after 5 minutes and clicks on a butto

Post -> Redirect -> Get

2005-01-19 Thread Matthew Ryan
Want to ask if many people implement something of a PRG in the handling of Actions (and forwards)? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Action Returning to previous page

2005-01-19 Thread Will Stranathan
Not positive I completely understand the question, so I'll make a very vague response. You can: 1) Use the input attribute of an Action to specify the page that fed it - if the validate() method on the ActionForm() returns a non-empty ActionErrors, the user will go back there. 2) Specify a for

Action Returning to previous page

2005-01-19 Thread Brandon Mercer
Is there a way to have an action return to the page that it was submitted from? This is what I have and what I'd like to do: I've got a page that has a template in it for looking up account numbers. This template goes in EVERY page in my application. I also have other pages that perform spe

select multiple woes

2005-01-19 Thread Will Stranathan
I promise I google'd first I'm trying to use a multiple-select select box, for example: One Two Three Four And I've tried backing my form bean with String[] AND with an ArrayList. When I try to use a String[] as the backing, the form displays, but when I submit, I get an argument type mism

Re: Help with logic tags, and commas please.

2005-01-19 Thread Kishore Senji
On Wed, 19 Jan 2005 18:25:55 -0800, Kishore Senji <[EMAIL PROTECTED]> wrote: > On Wed, 19 Jan 2005 18:49:52 -0600, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > I need to know an additional question: > > You sent me: > > > > > varStatus="status"> > > > > I need to know if this would be correc

Validation problem - for a form with multiple names

2005-01-19 Thread Manisha Sathe
I have a form whose fields are from an dynamic customer array. I display Customer name and giving i/p field for Amount to enter. The JSP might contain 2-3 text fields called amt against different customers (I am identifying it with IDs) My form bean is something like this, public class Ad

Re: Help with logic tags, and commas please.

2005-01-19 Thread Kishore Senji
On Wed, 19 Jan 2005 18:49:52 -0600, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I need to know an additional question: > You sent me: > > varStatus="status"> > > I need to know if this would be correct as well, where > creditApplicationListDto.businessLine is a Boolean: > > varStatus="stat

RE: getting html:textarea multiliple values

2005-01-19 Thread David G. Friedman
All right, I'll bite, what is a textarea with multiple items selected? The html:textarea is a text input box. Are you thinking about another html: tag which allows multiple selections, like html:select, html:option, and html:options? Regards, David -Original Message- From: Sudheer [mail

[Fwd: Re: ActionForm with ArrayList - Validation Problem]

2005-01-19 Thread Robert Taylor
This was a reply directly to me which I'm forwarding to the list so future users can leverage the solutions provided in this message. original message --- Robert, It is hard to find in the archives, but while I was reading the other messages posted lately I found someone having the same proble

RE: getting html:textarea multiliple values

2005-01-19 Thread Sudheer
No, single textarea with multiple item selected. I want to get the selected items. Thank you -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 11:02 PM To: Struts Users Mailing List Subject: RE: getting html:textarea multiliple values

Re: ActionForm with ArrayList - Validation Problem

2005-01-19 Thread Robert Taylor
This is a common and well documented idiom, but can be hard to find in the archives ;) The problem is that to display the form with the select list, you have to prepare the select list before displaying the page. When the user submits the form and validation fails, Struts will forward to the input

ActionForm with ArrayList - Validation Problem

2005-01-19 Thread Bernard Willemot
Hi, Not sure it is the best practice... I have a for to edit a user called UserForm. This form contains a popup () with Customers. I didn¹t find an easier way to include the data of the popup in the UserForm: Public class UserForm extends ActionForm { protected ArrayList customer_p

RE: Help with logic tags, and commas please.

2005-01-19 Thread Mick.Knutson
I need to know an additional question: You sent me: I need to know if this would be correct as well, where creditApplicationListDto.businessLine is a Boolean: Mick Knutson Wells Fargo Business Direct (415) 222-1020 "This message may contain confidential and/or privilege

Re: Referencing the Local DTD rather than the http:// one

2005-01-19 Thread Tim
David, I've tried that option before of course, and I re-did it again just to make sure and still not solving it. I've used the absolute path F:/Projects... and changed the / with \\ and all did not work. - Original Message - From: "David G. Friedman" <[EMAIL PROTECTED]> To: "Struts User

RE: Referencing the Local DTD rather than the http:// one

2005-01-19 Thread David G. Friedman
Tim, I thought you were supposed to take out the "-//Apache " part when using a SYSTEM local url AND that using dot-dot-slash "../" notation in a TLD was a bad idea. Have you already tried it with those two changes at the same time? Regards, -David -Original Message- From: Tim [mail

Referencing the Local DTD rather than the http:// one

2005-01-19 Thread Tim
Hi all, This might look trivial, but took enough time and effort searching for the answer I am using struts tiles, and build the entire application without problems and works great. until I changed the reference to the dtd file in the tiles-definition.xml file from the original: http://jakarta

[OT] job opportunities on Struts

2005-01-19 Thread t t
Hi, Thank you all who have taken a look at www.sportslovers.net and those who answered my questions when I was developing this website. This email list is so helpful. Right now, I am looking for a job. Is there anyone who can introduce me to some companies or introduce some companies to me?

RE: Welcome to sportslovers.net which is powered by Struts!

2005-01-19 Thread t t
Since I only have the names of states/provinces of those coutries for now. T.T. Huw Richards <[EMAIL PROTECTED]> wrote: Interesting choice of countries on your registration page. -Original Message- From: t t [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 9:58 AM To: Struts

Re: Welcome to sportslovers.net which is powered by Struts!

2005-01-19 Thread t t
Thanks. I will. Erik Weber <[EMAIL PROTECTED]> wrote:You learn quickly. I like your idea of keeping the design simple as Google does (not counting gmail I guess). Keep up the good work. Erik t t wrote: >Hi, all, >I just updated www.sportslovers.net using tiles. Take a look. Any comments or

Re: need help precompiling jsps

2005-01-19 Thread Pavel Kolesnikov
On Wed, 19 Jan 2005 15:06:27 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm using 4.1 and got the impression that the jasper.bat in the bin > directory does the compile. Is this incorrect? Not work well? I've never tried it with 4.1, I just know the Tomcat 5 solution I've sent is wor

RE: need help precompiling jsps

2005-01-19 Thread bill
I'm using 4.1 and got the impression that the jasper.bat in the bin directory does the compile. Is this incorrect? Not work well? thanks bp -Original Message- From: Pavel Kolesnikov [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 2:07 PM To: Struts Users Mailing List Subject

Re: url in address bar

2005-01-19 Thread Charles A Jordan
I am using frames. What should I look for to correct the problem? > Delivered-To: [EMAIL PROTECTED] > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > List-Unsubscribe: > List-Subscribe: > List-Help: > List-Pos

RE: open new window form struts action..java script variable

2005-01-19 Thread David G. Friedman
Why not set the window name to something specific such as mysite_com_popup and then use that name as a target in the future? Regards, David -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 2:28 PM To: Struts Users Mailing List Subject: R

Re: Getting the most out of users

2005-01-19 Thread Jim Barrows
On Wed, 12 Jan 2005 22:59:16 +0800, Irfandhy Franciscus <[EMAIL PROTECTED]> wrote: > Dear All, > > I am a new developer / IT Consultant. In my work I often need to gather > requirement from the end users. I am trying to improve my requirement > gathering techniques. Are there any books or websites

Re: url in address bar

2005-01-19 Thread Kishore Senji
Just wondering if you are maintaining the URL in the address bar constant using HTML frames (and not using some sort of configuration. Also wondering what the configuration can be?). If you are infact using frames, then your application should do some sort of state (client state) management. It sho

Re: open new window form struts action..java script variable

2005-01-19 Thread Ashish Kulkarni
Hi thanx guys for the clarification, here is a very intresting problem with defining target and opening new window, suppose you open a new window using java script in mypage.jsp your code will be like below in mypage.jsp var TheNewWin; if(!TheNewWin || TheNewWin.closed) { TheNewWin = window.open(

Re: need help precompiling jsps

2005-01-19 Thread Pavel Kolesnikov
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html#Web%20Application%20Compilation (tomcat 5 is required) pavel On Wed, 19 Jan 2005 13:40:24 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I can not find any docs on how to precompile my jsps. I've seen some > references and

Re: open new window form struts action

2005-01-19 Thread fzlists
Geez, I wish I'd have known that before! So are you saying that if the browser doesn't recognize the target as one of the predefined types, it will assume it should open a new window named according to the target value? That's cool, and I didn't know it. It would have saved me some trouble a

Re: open new window form struts action

2005-01-19 Thread PA
On Jan 19, 2005, at 19:05, [EMAIL PROTECTED] wrote: For my own edification, can you expand on the ability to "...define whatever target you like"? I've never heard that before, I'd be interested to know more. I'm wondering specifically since the browser wouldn't know what anything other than t

need help precompiling jsps

2005-01-19 Thread bill
I can not find any docs on how to precompile my jsps. I've seen some references and I've figured out that I want to run jasper.bat which runs jsp.bat but I'm stuck there. If I go to the tomcat bin directory and run jasper jspc --webapp "..\webapps\dgjobs" I get: Exception in thread "main" jav

Re: Message Resources not displayed

2005-01-19 Thread Kishore Senji
I would debug this problem in the following ways: * Verify if you are saving the "errors" to the request * Make sure you are using "saveErrors" and not "saveMessages" * Write a "StrutsTestCase" or a similiar testcase to verify the ActionErrors * Have a dump of the request and see that the ActionEr

[GOOD] LazyDynaBean works terrific

2005-01-19 Thread Pilgrim, Peter
http://www.niallp.pwp.blueyonder.co.uk/lazydynabean.html http://www.niallp.pwp.blueyonder.co.uk/lazyactionform.html Niall These `LazyDynaBean' and `LazyActionForm' classes really are fantastic. Just had a chance to crank out a simple Struts web app for a client. I copied and renamed, then edit

Re: open new window form struts action

2005-01-19 Thread fzlists
For my own edification, can you expand on the ability to "...define whatever target you like"? I've never heard that before, I'd be interested to know more. I'm wondering specifically since the browser wouldn't know what anything other than the defined targets you referenced meant, how would y

Re: ActionMessages

2005-01-19 Thread Scott Piker
How dynamic do you need the messages to be? Can't you just use argument substitution in your messages? e.g.: error.message="{0} must be between {1} and {2}." new ActionMessage("error.message", fieldName, minVal, maxVal); >>> [EMAIL PROTECTED] 1/18/2005 6:07:34 PM >>> Anyone know how to pas

Re: ActionMessages

2005-01-19 Thread Scott Piker
How dynamic do you need the messages to be? Can't you just use argument substitution in your messages? e.g.: error.message="{0} must be between {1} and {2}." new ActionMessage("error.message", fieldName, minVal, maxVal); >>> [EMAIL PROTECTED] 1/18/2005 6:07:34 PM >>> Anyone know how to pas

Re: NullPointerException, how to determine cause?

2005-01-19 Thread fzlists
The two lines I think you want to validate first are: String sqlQuery = ((ExecuteQueryForm) form).getSQLQuery(); and session.setAttribute("query",form); Since they are not within your catch, they could cause problems. If your form is null, as someone else said, you'd be in trouble. Also, i

RE: Welcome to sportslovers.net which is powered by Struts!

2005-01-19 Thread Huw Richards
Interesting choice of countries on your registration page. -Original Message- From: t t [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 9:58 AM To: Struts Users Mailing List Subject: Welcome to sportslovers.net which is powered by Struts! Hi, all, I just updated www.sportslo

RE: NullPointerException, how to determine cause?

2005-01-19 Thread Andy Dailey
Stack trace will give the line numbers if you compile with debug="on" in the ant javac task command or javac -g if command line compiling. > -Original Message- > From: Alex Kravets [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 19, 2005 12:47 PM > To: Struts Users Mailing List

Re: open new window form struts action

2005-01-19 Thread PA
On Jan 19, 2005, at 18:56, [EMAIL PROTECTED] wrote: (1) Submit a form to _blank, as you said (actually, I think it's _new, but my memory sucks so I'm not sure) Actually, you can define whatever target you like. There are a couple of "standard" ones though: •_blank - the target URL

Re: open new window form struts action

2005-01-19 Thread fzlists
This should probably be an answer on the Wiki since I see this asked quite a bit... No, you cannot open a new window from an Action. Not directly anyway. Opening a window is strictly a client-side activity. Therefore, you have two choices: (1) Submit a form to _blank, as you said (actually,

Re: url in address bar

2005-01-19 Thread Charles A Jordan
I am using tomcat 4.1.30 > "Vijaya S" writes: > > > What is the tomcat version you are using. if it is 5.x then automatically > > all the applications under webapps context are created provided you followed > > the folder structure. If it is a earlier version, then you can manually add > > the c

Re: Pre populate form missing values from nested object

2005-01-19 Thread Hubert Rabago
> So the question is this - how do I retain values of nested properties that > aren't required to be (or cannot be) represented in the jsp? The only values that you'll get when the form is submitted are the values that the form has. If you have values that you want to submit with the form, but do

RE: How to define taglib within JSP file ?

2005-01-19 Thread Chaikin, Yaakov Y.
PC, What you mean by attaching the file locally is just placing your .jar file into a directory on your server that becomes part of your classpath. This has nothing to do with how you declare a tag library inside the JSP. It only lets the server load the appropriate class files that are needed to

open new window form struts action

2005-01-19 Thread Ashish Kulkarni
Hi can we open a new window from action class? i dont want to use as i want to be able to open this new window from any form( i have a menu option which can be executed from any page of my website) Basically i have a java script which looks like this TheNewWin = window.open(url, '', config='heigh

Re: NullPointerException, how to determine cause?

2005-01-19 Thread Alex Kravets
I am sure this part works, because if comment out try block everything works fine. But If the cause of exception is the code in try block, how come catch does not work? Pavel Kolesnikov wrote: I guess the only plase where NPE may occure is the line: String sqlQuery = ((ExecuteQueryForm)

Re: Welcome to sportslovers.net which is powered by Struts!

2005-01-19 Thread Erik Weber
You learn quickly. I like your idea of keeping the design simple as Google does (not counting gmail I guess). Keep up the good work. Erik t t wrote: Hi, all, I just updated www.sportslovers.net using tiles. Take a look. Any comments or suggestions will be appreciated! T.T. --

Re: url in address bar

2005-01-19 Thread Guillaume Cottenceau
"Vijaya S" writes: > What is the tomcat version you are using. if it is 5.x then automatically > all the applications under webapps context are created provided you followed > the folder structure. If it is a earlier version, then you can manually add > the context in server.xml located in \conf\

Re: NullPointerException, how to determine cause?

2005-01-19 Thread Pavel Kolesnikov
I guess the only plase where NPE may occure is the line: String sqlQuery = ((ExecuteQueryForm) form).getSQLQuery(); Are you sure there's a form definition available for this action? It means, is there a "name" attribute defined in an appropriate element in your struts-config.xml? Pavel

format attribute of the Bean:Write tag

2005-01-19 Thread gdeschen
Hi, 1. I'd like to find some documentation on the possible values for format attribute of the Bean:Write tag. 2. What I'd like to do is to convert to lowercase the property value during a Bean:Write. TIA, Glenn

NullPointerException, how to determine cause?

2005-01-19 Thread Alex Kravets
I am trying to connect to a database in Action Class and set return data into a vector. Then vector is set into session and session is read from forwarded page. However, I am getting NullPointerException. Now I put the part of the code that I think might generate an exception into try block, bu

RE: getting html:textarea multiliple values

2005-01-19 Thread David G. Friedman
Sudheer, Textareas are single fields, not like pulldowns which could have multiple items selected (or checkboxes, etc.). Are you saying you have many html:textarea tags with the same property name for different purposes? -David, very confused by your question -Original Message- From: Su

RE: running ant

2005-01-19 Thread David G. Friedman
Alex, Is there any possibility that your ant build file specifies a different set of classpath components for the JavaDoc building section? If servlet jar isn't in your CLASSPATH environmental variable then this idea could explain the issue of java class compilation while JavaDoc has the complati

Getting the most out of users

2005-01-19 Thread Irfandhy Franciscus
Dear All, I am a new developer / IT Consultant. In my work I often need to gather requirement from the end users. I am trying to improve my requirement gathering techniques. Are there any books or websites that you guys can suggest to me ? Your help is greatly appreciated. Regards, Zainul Irfan

Re: HTTP Status 404 - Servlet action is not available

2005-01-19 Thread Kishore Senji
May be you are missing commons-dbcp.jar assuming your DataSource is a commons-dbcp DataSource. On Wed, 19 Jan 2005 13:49:17 +0530, Kalluru Uma. Maheswar <[EMAIL PROTECTED]> wrote: > Hi Vijaya, > That's all fine. I figured out the problem and its because I am > connectiong to mysql in struts-confi

Re: running ant

2005-01-19 Thread Alex Kravets
but then how can compilation step succeed? David G. Friedman wrote: Sounds like you don't have servet.jar or servlet-api.jar (Tomcat 5.X name for that jar) in your classpath. Regards, David -Original Message- From: Alex Kravets [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 10:

getting html:textarea multiliple values

2005-01-19 Thread Sudheer
Hi, How to retrieve multiple values selected for a html control like textarea from the form ? Thank you. Sudheer

RE: running ant

2005-01-19 Thread David G. Friedman
Sounds like you don't have servet.jar or servlet-api.jar (Tomcat 5.X name for that jar) in your classpath. Regards, David -Original Message- From: Alex Kravets [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 10:47 AM To: Struts Users Mailing List Subject: running ant I am bu

running ant

2005-01-19 Thread Alex Kravets
I am building my application using Ant. It seems to be compiling but fails at step to build javadoc. Will this impact running of the application (I think not)? Here is the output of running Ant: Buildfile: build.xml clean: [delete] Deleting directory /export/home/jakarta-tomcat-5.5.4/webapps/

RE: url in address bar

2005-01-19 Thread Vijaya S
What is the tomcat version you are using. if it is 5.x then automatically all the applications under webapps context are created provided you followed the folder structure. If it is a earlier version, then you can manually add the context in server.xml located in \conf\ folder. Vijaya -Origina

RE: Connection Pool best practice

2005-01-19 Thread David G. Friedman
Uma, Do you make a new pool for every request? That takes up a lot of resources. Are you positive you are shutting down the pool and the connection when you are done with them? Ideally, you setup your pool once, store it in serlet or application context, then use that on instance to hand you off

Re: Message Resources not displayed

2005-01-19 Thread eid4k
Thanks for your attention James, I have found the cause of the problem. iPlanet seems to not load the classes inside {approot}/WEB-INF/lib unless the jar files are mentioned on the classpath. Since I have done this now it works. Thought just to let you know. "James Mitchell" <[EMAIL PROTECTE

[ANN] Struts/JSF London Networking / BOF VII / Friday 28 Jan 2005 @ 19:15 / Kettners Restuarant

2005-01-19 Thread Pilgrim, Peter
The Seventh Struts/JSF London Networking BOF is taking place on 28 January 2005 at 19:15 at Kettners Restaurant in SOHO, West End, London. See all you there! 29 Romilly Street, London, W1D 5HP Telephone: 0871 223 8103 Nearest Tube: Leicester Square [3 minutes] (or Picadilly Circus [5 minut

RE: Marking servlet action as unavailable

2005-01-19 Thread David G. Friedman
If you are sure you have copied the appropriate JDBC connection JAR for your webapp onto the new server, then are you POSITIVE your database allows connections from that new server using the db username and db password specified in the DATA_SOURCE. I've been in plenty of scenarios where the same s

Re: url in address bar

2005-01-19 Thread Charles A Jordan
How do I tell? > Delivered-To: [EMAIL PROTECTED] > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > List-Unsubscribe: > List-Subscribe: > List-Help: > List-Post: > List-Id: "Stru

Re: Message Resources not displayed

2005-01-19 Thread James Mitchell
Then it sounds like packaging issue (without knowing more about what you are doing). -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: <[EMAIL PROTECTED]> To: ""Struts Users Mailing List"" Sent: Wednesday,

Re: url in address bar

2005-01-19 Thread Jim Barrows
On Wed, 19 Jan 2005 09:55:36 -0500 (EST), Charles A Jordan <[EMAIL PROTECTED]> wrote: > Hello All, > This may not be the proper area for this question, but I thought I'd > try anyway. > I have set something in my web server, tomcat, or struts configuration so > only my domain name (my.company.com)

Re: Struts & Security

2005-01-19 Thread Jim Barrows
On Wed, 19 Jan 2005 21:54:48 +0900, Sylvain ~ <[EMAIL PROTECTED]> wrote: > I'm working on a simple application which requires very simple > security as given there is only 3 kind of users : anonymous, users and > admin. > > For portability issues, I don't want to use Tomcat's security system. Tom

Welcome to sportslovers.net which is powered by Struts!

2005-01-19 Thread t t
Hi, all, I just updated www.sportslovers.net using tiles. Take a look. Any comments or suggestions will be appreciated! T.T. - Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. Learn more.

url in address bar

2005-01-19 Thread Charles A Jordan
Hello All, This may not be the proper area for this question, but I thought I'd try anyway. I have set something in my web server, tomcat, or struts configuration so only my domain name (my.company.com) displays in the address bar of my browser no matter what page I'm on. So now when I press reload

Re: Struts & Security

2005-01-19 Thread Joe Germuska
In part for the reason you specified, where the response has already been committed in tiles, I prefer to move that kind of logic back into the pre-view stages of request processing. In Struts 1.2.x, you could extend the TilesRequestProcessor and change the implementation of "processRoles" so t

R: How to define taglib within JSP file ?

2005-01-19 Thread Amleto Di Salle
Furthermore if you are using JSP1.1 &JSTL1.0 the correct uri is for example http://java.sun.com/jstl/core prefix: c But I am not sure. BR /Amleto > -Messaggio originale- > Da: Amleto Di Salle [mailto:[EMAIL PROTECTED] > Inviato: mercoledì 19 gennaio 2005 15.29 > A: 'Struts Users Mailin

Re: Message Resources not displayed

2005-01-19 Thread eid4k
James, the taglib for is declared on the page. I can run the application on iPlanet and it works just as on Tomcat, but Error messages are not displayed. Karim "James Mitchell" <[EMAIL PROTECTED]> wrote: > >I was reacting to this... > >> It is there because Tomcat does display the messages.

Re: How to define taglib within JSP file ?

2005-01-19 Thread PC Leung
I have attached the library locally. Can I define it locally in JSP file? On Wed, 19 Jan 2005 09:29:20 -0500, James Mitchell <[EMAIL PROTECTED]> wrote: > Try it like this: > > <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c"%> > > -- > James Mitchell > Software Engineer / Open Source

Re: How to define taglib within JSP file ?

2005-01-19 Thread James Mitchell
Try it like this: <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c"%> -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "PC Leung" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday,

R: How to define taglib within JSP file ?

2005-01-19 Thread Amleto Di Salle
Hi, If you are using JSP2.0 & and JSTL1.1 in your jsp you can use JSTL in the following way: core http://java.sun.com/jsp/jstl/core c XML processing http://java.sun.com/jsp/jstl/xml x I18N capable formatting http://java.sun.com/jsp/jstl/fmt fmt relational db access (SQL) http://java.sun.com/js

Re: Message Resources not displayed

2005-01-19 Thread James Mitchell
I was reacting to this... It is there because Tomcat does display the messages. ...see, I know better. In my experience on this list (over 3 years now), people who say things like "it works on my machine, so it should work on the server" are jumping to a few assumptions. Technically I think the

How to define taglib within JSP file ?

2005-01-19 Thread PC Leung
I have attached standard.jar and jstl.jar within my project under /WEB-INF/lib How to define it in JSP file using local jar file? I have tried the following but in vain. <% taglib uri="/WEB-INF/lib/standard.jar"> OR <% taglib uri="org.apache.taglibs.standard.tag"> I just want to use Core pre

Re: Message Resources not displayed

2005-01-19 Thread eid4k
Sorry James, I thought you wanted to know if the file is there. I package the application as a war file with Websphere Studio and deploy it as a war file via the iPlanet interface. I have also packaged the war file on the comand line with the jar toll. Any idea "James Mitchell" <[EMAIL P

Re: Message Resources not displayed

2005-01-19 Thread James Mitchell
That's not what I was asking. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: <[EMAIL PROTECTED]> To: ""Struts Users Mailing List"" Sent: Wednesday, January 19, 2005 8:42 AM Subject: Re: Message Resources n

Re: Message Resources not displayed

2005-01-19 Thread eid4k
It is there because Tomcat does display the messages. "James Mitchell" <[EMAIL PROTECTED]> wrote: >How are you deploying your app?  Packaged with Ant? > >Many times, people forget to have resources copied during the build process. >This is automatically done for us with most IDEs, but Ant won'

RE: Marking servlet action as unavailable

2005-01-19 Thread Kalluru Uma. Maheswar
But it's a working struts-config.xml file in my local machine. The same database connection applies in the server too. Uma -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 6:53 PM To: Struts Users Mailing List Subject: Re: Marking servl

Re: Message Resources not displayed

2005-01-19 Thread James Mitchell
How are you deploying your app? Packaged with Ant? Many times, people forget to have resources copied during the build process. This is automatically done for us with most IDEs, but Ant won't do it unless you tell it to. Open your .war and make sure it is there under /WEB-INF/classes/org/app/r

Message Resources not displayed

2005-01-19 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.

RE: [OT] Struts London Networking / Seasons Greeting / BOF VII / Friday 28 Jan 2005 @ 19:15 / Planning

2005-01-19 Thread Pilgrim, Peter
> -Original Message- > From: Pilgrim, Peter > Struts JSF London Networking Here are the details of Sun's Presentation on 28th January 2005 at Lunchtime. = "J2SE 5.0 Update - The Roar of the Tiger!" When: Friday January 28 2005 12:00-14:00 Where: Davinci Theatre, CBC, ground floor

Re: Struts & Security

2005-01-19 Thread Larry Meadors
On Wed, 19 Jan 2005 21:54:48 +0900, Sylvain ~ <[EMAIL PROTECTED]> wrote: > I'm working on a simple application which requires very simple > security as given there is only 3 kind of users : anonymous, users and > admin. > > For portability issues, I don't want to use Tomcat's security system. Ple

Re: Marking servlet action as unavailable

2005-01-19 Thread James Mitchell
Here's 2 suggestions off the top of my head: - invalid syntax for the ds definition - you failed to provide the specified jdbc driver -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Kalluru Uma. Maheswar"

Marking servlet action as unavailable

2005-01-19 Thread Kalluru Uma. Maheswar
Hi, I get the following error 2005-01-18 08:02:32 StandardContext[]Marking servlet action as unavailable 2005-01-18 08:02:33 StandardContext[]Servlet threw load() exception javax.servlet.UnavailableException: Initializing application data source org.apache.struts.action.DATA_SOURCE at org

  1   2   >