RE: HTTP Status 404 - Servlet action is not available

2005-01-19 Thread Kalluru Uma. Maheswar
Hi Vijaya, That's all fine. I figured out the problem and its because I am connectiong to mysql in struts-config.xml file I am getting this error. If I remove db connection everything is working fine. But with db connection, I get the following error 2005-01-18 08:02:32 StandardContext[]Marking se

Re: Displaying images with dynamic names

2005-01-19 Thread Guillaume Cottenceau
Dakota Jack writes: > 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 src=''>. Whatever you do, it has to Why not ? -- Guillaume Cottencea

ActionMessages

2005-01-19 Thread dangmp
Return Receipt Your ActionMessages document :

ActionMessages

2005-01-19 Thread dangmp
Return Receipt Your ActionMessages document :

RE: ActionMessages

2005-01-19 Thread dangmp
Return Receipt Your RE: ActionMessages document :

how to get "field" errors in Struts 1.2.6 using tag-libs

2005-01-19 Thread Paulo Alvim
Hi! I need to extend several struts-el fields based on errors but all my validation messages are stored in global scope. I've tried to get (in my tag-lib extension): ActionMessages errors = RequestUtils.getActionMessages(pageContext,this.property); or ActionMessages errors = TagU

Connection Pool best practice

2005-01-19 Thread Kalluru Uma. Maheswar
Hi, I am using org.apache.commons.dbcp.BasicDataSource to implement a connection pooling and this is my class. import javax.sql.DataSource; import org.apache.commons.dbcp.BasicDataSource; public class DBPool { public DataSource getDataSource() {

Re: Connection Pool best practice

2005-01-19 Thread Vamsee Kanakala
Kalluru Uma. Maheswar wrote: Hi, I am using org.apache.commons.dbcp.BasicDataSource to implement a connection pooling and this is my class. If you're using Tomcat, you're better-off using JNDI Datasource: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html#Databas

Re: Connection Pool best practice

2005-01-19 Thread Pavel Kolesnikov
On Wed, 19 Jan 2005 15:52:20 +0530, Kalluru Uma. Maheswar <[EMAIL PROTECTED]> wrote: > And in the classes where I need database connection, I am saying > > DBPool dbPool = new DBPool(); > > dbPool.getDataSource(); > > By doing this, my application is getting slower. Initially I configured > db

R: Connection Pool best practice

2005-01-19 Thread Amleto Di Salle
Hi, In order to use JNDI you can do the following steps: 1) create a context.xml file inside the meta-inf directory inside your war file: maxWait 5000 maxActive 100 password manager url jdbc:oracle:thin:@127.

RE: Connection Pool best practice

2005-01-19 Thread Kalluru Uma. Maheswar
Hi Pavel, I used the db connection in struts-config.xml file initially but due to some reasons my app is not working, so I thought of configuring connection pool myself. So this is what I have done. Please tell me if there is a better way of doing this and if so how? Uma -Original Message--

RE: Connection Pool best practice

2005-01-19 Thread Kalluru Uma. Maheswar
Hi, I am looking for an example using org.apache.commons.dbcp.BasicDataSource and more over, I cant use a .war file to deploy my app (there are some problems) Uma -Original Message- From: Amleto Di Salle [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 4:29 PM To: 'Struts Use

Re: Connection Pool best practice

2005-01-19 Thread Pavel Kolesnikov
On Wed, 19 Jan 2005 16:43:25 +0530, Kalluru Uma. Maheswar <[EMAIL PROTECTED]> wrote: > Hi, > I am looking for an example using org.apache.commons.dbcp.BasicDataSource and > more over, I cant use a .war file to deploy my app (there are some problems) If I understand you right, you need to set up y

Struts & Security

2005-01-19 Thread Sylvain ~
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. I think using JAAS or securityFilter for a such simple application would create more p

Pre populate form missing values from nested object

2005-01-19 Thread Conrad CRAMPTON PSE 52704
Hi, The list archive search doesn't appear to work to forgive me if this is a simple and already answered topic.   I have an actionform that has an object as a property - Premises premises, and a jsp that uses . When I use createPremises.jsp all is ok and the values for premises get through to my

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

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"

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: [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

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: 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

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 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: 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
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

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 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

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: 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,

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: 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.

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: 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

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

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.

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

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: 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 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: 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

[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: 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

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: 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

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: 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

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 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:

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

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: 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

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

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

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

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

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: 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: 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)

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: 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

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: 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: 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: 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: 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: 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 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: 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: 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

[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: 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

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: 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

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: 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..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: 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: 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: 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: 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: 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: 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: 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: 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

[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?

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

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

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: 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

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: 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

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

[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 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

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

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: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

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

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

  1   2   >