VA 3.5.2

2001-05-15 Thread Kenneth Petersen
I'm trying to get struts to work within the Visual Age 3.5.2 test environment. But I'm not being very successful. Does anyone have any experience with this? thanks, KP

Re: Re: is it a bug of CheckboxTag

2001-05-15 Thread JeanX
Jim Richards wrote at 2001-05-15 15:52:00, Set the value to true in the ActionForm reset() method. Hi Jim, my ActionForm are in request scope. and I means those checkboxes are selected defaultly. Best regards, JeanX pacificnet.com(GZ)

newbie: Problem with ActionErrors

2001-05-15 Thread Eelco van Kuik
Dear colleague developers, We are struggling with a problem to get the struts-forms working. It might be a newbie problem, but it is still difficult to find out which newbie problem we made. ;-) I included the most important struts problems at the bottom. No FAQ/examples/etc. could solve our

Re: passing parameters from a template to a sub-template

2001-05-15 Thread Cedric Dumoulin
There is an error in your code : try to remove the ending '/' in file '/template/index.jsp' line template:put attribute=site direct=true/ -^-- error Also, you can have a look to Components/Extended Templates proposal : it provides more

RE: newbie: Problem with ActionErrors

2001-05-15 Thread Mikkel Bruun
Hi Elco, I been fooling around with struts for a couple of days mow... Let me have a shot, I have the following ActionForm class that does the validation - ActionErrors errors = new ActionErrors(); if ((name == null) || (name.length() 1))

RE: newbie: Problem with ActionErrors

2001-05-15 Thread Alexander Jesse
Hi, found the same problem... so it is not your fault only... When I tried this behaviour first I tried to use the validating ActionForm and received the same behaviour. Then I moved the validation-code to my Action class and got the correct behaviour (error-messages and form with old

RE: Comparing two dynamic values

2001-05-15 Thread Tony Karas
Well I suppose that's a point - problem is that I am not doing a submit - just doing a click via a a href so my action bean will not get called - suppose i could do some kind of javascript but it's all a little messy. From: Eelco van Kuik [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To:

Using the struts html:options tag

2001-05-15 Thread Joerg Friedrich
Hi, does anybody have some short example code on how to use a Java Bean collection with the html:options tag? Thanks! Best regards, Joerg Friedrich

libioser12.so

2001-05-15 Thread Michael Schommer
Hi, I'm trying to get an InitialContext in an ActionClass (Tomcat 3.3 - Unix) to call EJBs from an EJB-Container (J2EE-reference 1.2.1) Hashtable env = new Hashtable(); env.put (Context.INITIAL_CONTEXT_FACTORY, com.sun.enterprise.naming.SerialInitContextFactory);

Re: Hidding .jsp files

2001-05-15 Thread Scott Walter
Look into the web.xml file. Since a JSP page is a servlet, you can setup a servlet tag for the JSP page (instead of specifiying servlet-class, use jsp-file). You will then create a servlet-mapping to specify the url to listen on. scott. --- Mikkel Bruun [EMAIL PROTECTED] wrote: Hi Guys, Is

Caching Problem

2001-05-15 Thread Dinesh Chaturvedi
Hello Every body I am facing a problem ,i want My JSP Page not to take content from chache can anybody help me. Thanks Regards Dinesh Chaturvedi Programmer Analyst Nihilent Technologies Pvt Ltd. Pune 091-20-6054452 Ext 349

RE: Design Suggestion

2001-05-15 Thread Nanduri, Amarnath
Yes. Now try this. public abstract BaseActionForm extends ActionForm inplements ABCInterface , DEFInterface This will let you implement as many interfaces as you want... cheers, Amar.. -Original Message- From: Hardee, Tony [mailto:[EMAIL PROTECTED]] Sent: Monday, May 14,

RE: Hidding .jsp files

2001-05-15 Thread Mikkel Bruun
of course!! nice!! thanks!! Mikkel Bruun -Original Message- From: Scott Walter To: [EMAIL PROTECTED] Sent: 15-05-2001 14:59 Subject: Re: Hidding .jsp files Look into the web.xml file. Since a JSP page is a servlet, you can setup a servlet tag for the JSP page (instead of

RE: Hidding .jsp files

2001-05-15 Thread Nanduri, Amarnath
Will this in anyway affect the mapping in the struts-config.xml file ? -Original Message- From: Scott Walter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 9:00 AM To: [EMAIL PROTECTED] Subject: Re: Hidding .jsp files Look into the web.xml file. Since a JSP page is a servlet,

RE: Caching Problem

2001-05-15 Thread Firmin David
Hi Dinesh, Not sure if this is what you mean, but here goes: If you set the following headers into the JSPs response, the page will not be cached. Use the following scriptlet in the page to take care of this % response.addHeader(Pragma, NoCache); response.addHeader(Cache-Control, no-cache);

RE: Caching Problem

2001-05-15 Thread Nanduri, Amarnath
In your web.xml file set the following ... servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameapplication/param-name param-valueApplicationResources/param-value /init-param init-param

RE: Hidding .jsp files

2001-05-15 Thread Mikkel Bruun
No it won't... It has no impact on the struts mappings... Mikkel Bruun -Original Message- From: Nanduri, Amarnath To: '[EMAIL PROTECTED]' Sent: 15-05-2001 15:09 Subject: RE: Hidding .jsp files Will this in anyway affect the mapping in the struts-config.xml file ? -Original

Re: is it a bug of CheckboxTag

2001-05-15 Thread Jeff Trent
BTW, I found that this type of logic (forward) doesn't work if you are using templates. I needed to resort to redirects. - jeff - Original Message - From: Jim Richards [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 15, 2001 1:52 AM Subject: Re: is it a bug of CheckboxTag

Re: The template mechanism

2001-05-15 Thread Cedric Dumoulin
Check the Components / Extended Templates proposal. There are solutions for you. * Example - first solution : o Use Components dynamic templates : you define your template attributes inside your action, and insert the template definition in your jsp page.

RE: Comparing two dynamic values

2001-05-15 Thread dhay
Tony, You could make the href point to an action path, and that way you will go through the action before displaying page... Dave Tony Karas [EMAIL PROTECTED] on 05/15/2001 07:12:40 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark)

RE: Antwort: RE: VA 3.5.2

2001-05-15 Thread Noel Sebastien
Where do you specify that every URI (*.do) is redirected to the servlet ? Thanks -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: mardi 15 mai 2001 12:03 To: [EMAIL PROTECTED] Subject: Antwort: RE: VA 3.5.2 Hi Ken, list archive:

RE: Design Suggestion

2001-05-15 Thread Nanduri, Amarnath
Hi Tony, I get your point. Instead of making the ActionForm an interface (which is too difficult to do right now because a lot of projects are there in the works and deployment in which all the forms extend ActionForm). All these projects will not be compatible with new versions of the Struts

html:link with local forward

2001-05-15 Thread Greg Ritter
I have a template that I use to generate my pages, that includes a title bar with a close button on each page: ... html:link forward=closehtml:img border=0 page=/images/close.gif//html:link ... I would like to be able to specify a local forward for each action in struts-config.xml: ...

What is the current status of Components?

2001-05-15 Thread Mindaugas Idzelis
When will components be integrated with struts? Does anyone have any examples using components? Thanks! --min

Re: XML Data out of a property into an XSL Transformation by JSP-Tag

2001-05-15 Thread Jonathan
My suggestion would be that your action should forward you to a jsp page that has a custom tag in it. That tag could do 1 of 2 things: 1) search for a bean in the request which has the pre generated html result from a stylesheet transformation 2) get, process and display the transformed data

struts-template and MVC

2001-05-15 Thread Dan Miser
I originally wrote a Struts app that acted much like the struts-example. I feel it's a good separation of business logic from presentation, and that it follows the principles of MVC pretty well. Now the GUI developers are looking to integrate all of my very ugly HTML pages into a common look

RE: Antwort: RE: VA 3.5.2

2001-05-15 Thread Dan Miser
Take a look at the servlet-mapping in web.xml. servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping -- Dan Miser http://www.distribucon.com From: Noel Sebastien [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL

Html:Link

2001-05-15 Thread Shane Warne
Hello All, I would like to use the html:link which would include dynamic parameters. I need something like, a href=/myAction.do?action=readid=%= id%Hit me /a html:link paramID=target paramName=linkParams paramProperty=target paramScope=request

Re: html:link with local forward

2001-05-15 Thread Roland Huss
Greg Ritter [EMAIL PROTECTED] writes: ... html:link forward=closehtml:img border=0 page=/images/close.gif//html:link ... I would like to be able to specify a local forward for each action in struts-config.xml: How should the jsp-page know, from which action it comes from ? ...

connection pool problem (with Beta release)

2001-05-15 Thread Gogineni, Pratima
I have a very odd problem - I was hoping the symptoms sound familiar to someone on the list... I display a database table to the user in the jsp page the user can insert/delete or update into this table - this is sent to an action class that uses the struts connection pool and executes the

RE: connection pool problem (with Beta release)

2001-05-15 Thread Gogineni, Pratima
Okay another symptom - the problem persists even when i set the isolation to read_uncommitted. -Original Message- From: Gogineni, Pratima Sent: Tuesday, May 15, 2001 3:35 PM To: '[EMAIL PROTECTED]' Subject: connection pool problem (with Beta release) I have a very odd problem - I was

org.apache.struts.action.MESSAGE error with VAJ 3.5.3

2001-05-15 Thread catherine . a . strauss
I am trying to run the Hello World example from the Bluestone developer website, but I am getting the following message: Error 500 An error has occured while processing request:http://localhost:8080/HelloWorld/hello.jsp Message: Server caught unhandled exception from servlet [jsp]: Cannot find

RE: org.apache.struts.action.MESSAGE error with VAJ 3.5.3

2001-05-15 Thread Nigel Ainslie
...try moving your HelloWorldResource.properties file up a level into the /WEB_INF/classes directory. The problem seems to be that struts can't find a message tag and these are located in the HelloWorldResource.properties file which struts expects to find in the WEB_INF/classes directory

RE: What is the current status of Components?

2001-05-15 Thread Robert Taylor
-Original Message- From: Mindaugas Idzelis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 3:31 PM To: [EMAIL PROTECTED]; struts Subject: What is the current status of Components? When will components be integrated with struts? Does anyone have any examples using

Re: What is the current status of Components?

2001-05-15 Thread Mark Simms
someone in DEV gave this link: http://java.sun.com/aboutJava/communityprocess/jsr/jsr_126.html Can anyone provide a brief as to the concept as well as the problem it will be solving ?? - Original Message - From: Robert Taylor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May

Re: struts-template and MVC

2001-05-15 Thread Mark Simms
Sounds greatgo for it Dan, but try to get more info on the component specification.little seems to be known about it. - Original Message - From: Dan Miser [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 15, 2001 8:34 PM Subject: struts-template and MVC I originally

Re: struts-template and MVC

2001-05-15 Thread John Chang
should be: template:put name='action' content='/displayRoles.do?type=external' direct='true' / - Original Message - From: Dan Miser [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 15, 2001 8:34 PM Subject: struts-template and MVC I originally wrote a Struts app that

Help: java script struts + scriptlet

2001-05-15 Thread Nguyen Thanh Phong
Hello all, I'm using struts to internationalize my application. In this application I do use some Java Script to check input from the user before submitting it to the server. I have the following code that reports error: html:button property=btnInform onclick=return informInventoryLack('%=

Re: struts-template and MVC

2001-05-15 Thread Dan Miser
Can you expand on this? If you're saying that I should just change the name to 'action', then how will Struts know which section of the template to place the data in? And why direct='true'? That's been used when you want to display an actual string - not when you want to execute an action. --

Newbie Question:Servlet Exception with struts-example

2001-05-15 Thread Kevin Newman
Hi All, Platform: Windows2000 Servlet Engine: Tomcat 4.0-b3 I've resisted submitting this question, but now I'm just lost. I'm trying to get the struts-example to work. Here is what I did: 1. Placed the struts-example.war file in the webapps directory 2. Started Tomcat (Catalina) 3. Shutdown