Switch Action

2006-04-03 Thread Sahil Gupta
Hi, Can anyone tell me how to use Switch Action in my project. My project consists of more than one module and I need to forward from one to another file in different modules. Are there any good links available to get more information about it. Regards, Sahil Gupta Extn : 233 Email : [EM

Re: Servlet action is not available

2006-04-03 Thread Craig McClanahan
On 4/3/06, red phoenix <[EMAIL PROTECTED]> wrote: > > Mr Craig, >I configure a JNDI in Tomcat5.5.12 like you tell me,like follows: > > crossContext="true"> > maxActive="100" maxIdle="30" maxWait="1" username="administrator" > password="123" driverClassName="sun.jdbc.odbc.JdbcOdbcDriv

action not work

2006-04-03 Thread red phoenix
I have a submit button in A.jsp,and I want to submit to B.do from A.jsp,but when I click this submit button,it should submit to B.do and show some information on screen,but in fact it doesn't work,when I use http://localhost:8080/B.do, it can work.I don't know why it don't work from A.jsp to B.do?

Re: Servlet action is not available

2006-04-03 Thread red phoenix
Mr Craig, I configure a JNDI in Tomcat5.5.12 like you tell me,like follows: Then I call this JNDI in a JSP file,the JSP file is follows: <[EMAIL PROTECTED] <[EMAIL PROTECTED]> <[EMAIL PROTECTED]@page> import="java.sql.*"%> <[EMAIL PROTECTED] <[EMAIL PROTECTED]> import="javax.sql

Re: Some questions

2006-04-03 Thread Comain Chen
I have used Eclipse+Myeclipse to develop, and it is quite convinient, At least the build and deploy process can be done in a single step with myeclipse. Somes your change in your code does not affect dramaticly, tomcat with hot deploying will handle it withour restarting, but the othertimes you do

Some questions

2006-04-03 Thread Mário Lopes
Hi. First off, a little bit of my background. I've been developing with Java for a long time now. None of it was web based development. On this field, I've programmed with PHP, .NET, Ruby on Rails, Python, etc.. Now that I'm encharged of developing a Java/JSP/Servlets application I had to decide

Re: Support for Transfer-Encoding: gzip

2006-04-03 Thread Graham Leggett
Dion Gillard wrote: I use this filter in our web apps pretty successfully: http://sourceforge.net/projects/pjl-comp-filter/ That did the trick - thank you! Regards, Graham -- smime.p7s Description: S/MIME Cryptographic Signature

[using class.forname()]

2006-04-03 Thread temp temp
I am using class.forname() in several classes to load other classes so that my application can be configured without changing the exsisting code . I am not very clear about the issues which can come across using class loaders . I tested in my localhost where all classes reside in one

RE: Issue while migrating from 1.0 to 1.1

2006-04-03 Thread Olivier Citeau
Hi Tim, Thank you for your answer. Now I see that I was not clear and I apologize for that. We migrated a project from : WSAD 5.0 / J2EE 1.2/ JDK1.3 (Websphere 5) to RSA / J2EE 1.4 / JDK 1.4 (Websphere 6) We discovered the hard way that RSA's migration assistant suck. Our "

Struts Forward and URL prefix problem

2006-04-03 Thread Jeff Thorne
I am trying out struts action mappings and wildcards so that I can provide my dynamic content static URLs that are not based on query strings. When my action class forwards to success or failure all the URLs in the receiving .jsp page are prefix with the initial URL. For example if I submi

Re: Tomcat not starting

2006-04-03 Thread Rick Reumann
Klaus Rohwer wrote the following on 4/3/2006 5:01 AM: During startup Tomcat suddenly doesn't continue after having given out the following lines: 03.04.2006 10:46:26 org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tr

Re: [Shale] CLayForEach and var attribute

2006-04-03 Thread Gary VanMatre
>From: Hermod Opstvedt <[EMAIL PROTECTED]> > > Hi > > I have a situation that I am struggling a bit with. On a page that I have, I > have a page that displays different races and has a clayForEach tag that is > supposed render a jsfid that displays information about a classes in a race, > and

Re: using AJAX and Struts Action class how to refresh data on jsp page

2006-04-03 Thread Michael Jouravlev
On 4/3/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Frank > I dont want to update all the jsp page, only the last > name text field, > I am able to do so if i do > PrintWriter out = response.getWriter(); > out.println(last); > return null; > > but suppose, i have 10-15 fields that need to be >

Re: using AJAX and Struts Action class how to refresh data on jsp page

2006-04-03 Thread Michael Jouravlev
On 4/3/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > hi > I am trying to learn AJAX and struts together (will > use some standard solution later) > This is what i am doing, > In my jsp i have 2 text fields FirstName and LastName > when the user enters FirstName and hits enter i call a > javascri

Re: using AJAX and Struts Action class how to refresh data on jsp page

2006-04-03 Thread Michael Jouravlev
On 4/3/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Then again, if you were to return a redirecting forward, that might do the > trick. I'm actually not sure how XMLHttpRequest reacts to a redirect... > that's an interesting question :) It does not, I tried it ;-) On the other hand, there

Re: using AJAX and Struts Action class how to refresh data on jsp page

2006-04-03 Thread Ashish Kulkarni
Frank I dont want to update all the jsp page, only the last name text field, I am able to do so if i do PrintWriter out = response.getWriter(); out.println(last); return null; but suppose, i have 10-15 fields that need to be updated, how will i pass data ack to jsp Is there a way to pass java obj

[Shale] CLayForEach and var attribute

2006-04-03 Thread Hermod Opstvedt
Hi I have a situation that I am struggling a bit with. On a page that I have, I have a page that displays different races and has a clayForEach tag that is supposed render a jsfid that displays information about a classes in a race, and a dataTable on that jsfid that displays the results for each

Re: using AJAX and Struts Action class how to refresh data on jsp page

2006-04-03 Thread Frank W. Zammetti
That's true Brian, but if he doesn't have appropriate code on the client-side to handle the response, it won't do much good in this particular case. Remember he's getting the response via XMLHttpRequest. Then again, if you were to return a redirecting forward, that might do the trick. I'm actual

Re: using AJAX and Struts Action class how to refresh data on jsp page

2006-04-03 Thread Brian Long
Ashish, There's a built-in method you can use to return to the calling jsp. Try return (mapping.getInputForward()); from your Action class. hope that helps, -Brian On Mon, 2006-04-03 at 10:19 -0700, Ashish Kulkarni wrote: > hi > I am trying to learn AJAX and struts together (will > use some

Re: using AJAX and Struts Action class how to refresh data on jsp page

2006-04-03 Thread Frank W. Zammetti
On Mon, April 3, 2006 1:19 pm, Ashish Kulkarni said: > In Struts, i want to populate ActionForm, and then > refresh jsp page This is pretty much the exact opposite of what AJAX is for :) Refreshing the whole page is what your actually tring to avoid with AJAX. You can populate the form fields yo

action tag vanishing?

2006-04-03 Thread Brian Long
Greetings All. I'm migrating an existing webapp to Struts. An Action tag in my menu is getting blown away. The application is in the middle of migration, so there are some struts-enabled jsps and some vanilla jsps. On first navigation to the menu, the code works fine. After navigating to a no

using AJAX and Struts Action class how to refresh data on jsp page

2006-04-03 Thread Ashish Kulkarni
hi I am trying to learn AJAX and struts together (will use some standard solution later) This is what i am doing, In my jsp i have 2 text fields FirstName and LastName when the user enters FirstName and hits enter i call a javascript which creates XMLHttpRequest objects, and calls a Action class u

RE: Issue while migrating from 1.0 to 1.1

2006-04-03 Thread Slattery, Tim - BLS
> Hi, > while migrating my app tu Websphere 6, I choos to migrate > from Struts 1.0 to 1.1. > (According to META-INF/MANIFEST.MF file, because I am not sure). > > First when forgetting a file I had : > Error 500: Cannot find message resources under key > org.apache.struts.action.MESSA

Re: Servlet action is not available

2006-04-03 Thread Craig McClanahan
On 4/3/06, red phoenix <[EMAIL PROTECTED]> wrote: > > My Struts is 1.2.9,and tomcat is 5.5.15,and JDK is 1.5,I want to use > Struts > Datasource,my database is Microsoft Access 2000,and I have configured ODBC > datasource in windows,when I run it, it raise follows error: > type Status report > mess

RE: Error deploying struts webapp to iPlanet

2006-04-03 Thread nageshkumar.siddu
Hi David, Thanks for the reply. Yes this portion of HTML code is in side Table definition. The VO I am trying to access the properties in the tags is as follows: public class TopupMethodVO implements Serializable{ private String topumMethod=null; private ArrayList bundles=null;

Issue while migrating from 1.0 to 1.1

2006-04-03 Thread Olivier Citeau
Hi, while migrating my app tu Websphere 6, I choos to migrate from Struts 1.0 to 1.1. (According to META-INF/MANIFEST.MF file, because I am not sure). First when forgetting a file I had : Error 500: Cannot find message resources under key org.apache.struts.action.MESSAGE I solv

RE: Error deploying struts webapp to iPlanet

2006-04-03 Thread David G. Friedman
Just to nitpick, do you care that your below HTML has an opening TR, opening TD, then another opening TR and opening TD BUT NO TABLE declaration between them? Regards, David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 11:53 AM To: user

FW: Error deploying struts webapp to iPlanet

2006-04-03 Thread nageshkumar.siddu
Hi , I hope this issue can be resolved which i am struggling for a couple of days. The scenario: I have an application perfectly working in Tomcat 5.0. the same application when deployed in iPlanet is giving an error that unterminated tag. [03/Apr/2006:17:16:55] failure ( 5100): for host 10.1

Re: How to configure Struts connection pool

2006-04-03 Thread Tarun Reddy
Hi Craig, I'm very glad to recieve an e-mail from you. I keep following your interviews in www.theserverside.com . Well I didn't know that Struts DataSource concept has been deprecated. I've been using Weblogic from so many years and it's very easy to configure datasources and connection pools in W

Re: Support for Transfer-Encoding: gzip

2006-04-03 Thread Dion Gillard
I use this filter in our web apps pretty successfully: http://sourceforge.net/projects/pjl-comp-filter/ On 4/3/06, Graham Leggett <[EMAIL PROTECTED]> wrote: > > Hi all, > > I have a struts application that calls business logic from Action classes, > and displays HTML results via JSP. > > I would

Support for Transfer-Encoding: gzip

2006-04-03 Thread Graham Leggett
Hi all, I have a struts application that calls business logic from Action classes, and displays HTML results via JSP. I would like my application to compress content on the fly (on the basis of the Accept-Encoding header) using gzip. Is there a way to get Struts to do this for me? Regards, Graha

Re: Drawing of Struts web application

2006-04-03 Thread DGraham
Maybe Struts Console is what you're looking for: http://www.jamesholmes.com/struts/console/ -Dennis "Dan Jas" <[EMAIL PROTECTED]> 04/01/2006 12:02 PM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject Re: Drawing of Struts web application Exad

Validwhen

2006-04-03 Thread Julian Tillmann
Hi I tried now for several hours to fix my validwhen-example. The property time should only be validated if the checkbox (property calculatingShift) Is not checked. How can help me? Thank you so much!

Servlet action is not available

2006-04-03 Thread red phoenix
My Struts is 1.2.9,and tomcat is 5.5.15,and JDK is 1.5,I want to use Struts Datasource,my database is Microsoft Access 2000,and I have configured ODBC datasource in windows,when I run it, it raise follows error: type Status report message Servlet action is not available description The requested re

How to display Integer vector in

2006-04-03 Thread Gaet
Hello, I have a vector of Integer that I want to display in a "select" tag. When writting the following code : I got the following error : "Error 500: No getter method available for property productionYear for bean under name productionYearsVector " Does someone know how to do?

Tomcat not starting

2006-04-03 Thread Klaus Rohwer
Hello together, I have a problem with Tomcat not starting which seems related to using Struts. During startup Tomcat suddenly doesn't continue after having given out the following lines: 03.04.2006 10:46:26 org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.

"Valid when"-Example

2006-04-03 Thread Julian Tillmann
Hi, would someone be so kind to help me with the following problem: A date field should only be validated if another checkbox isn't selected. I'm not sure how to do it: Do I have to use validwhen or reiqired-if?? I cannot find any good examples or references concerning my problem. Here is my