Re: javascript and Struts

2003-04-04 Thread Stephen Smithstone
have u tried document.forms[ 0 ].submit( ) ??? On Friday 04 April 2003 12:31 pm, Oliver Reflé wrote: Hi Guys, i have a strange problem. Maybe you can help me. I would like to submit a form when a select box value has changed.Here is the code like i try it: html:form

Tiles problem

2003-04-04 Thread Stephen Smithstone
Hi all got a problem with a tiles contoller heres the controller code public class IndexTiles implements org.apache.struts.tiles.Controller { public void perform( ComponentContext comCtx , HttpServletRequest req , HttpServletResponse res , ServletContext serCtx ) {

Re: Tiles problem

2003-04-04 Thread Stephen Smithstone
else ? You should use one of insert or forward. Cedric Stephen Smithstone wrote: Hi all got a problem with a tiles contoller heres the controller code public class IndexTiles implements org.apache.struts.tiles.Controller { public void perform( ComponentContext comCtx

OJB Deployment With Sturts 1.1rc1

2003-04-01 Thread Stephen Smithstone
Any one using the ojb stuff ?? which jar files do i need to deploy with my struts app i have trouble when i include the xercesImpl.jar and xml-apis.jar in my struts app /WEB-INF/lib folder the struts actionservelet throws up some nasty java.lang.VerfiyError upon loading of tomcat any help

Re: Message resources are not loaded until an action is called.

2003-04-01 Thread Stephen Smithstone
is your ActionServlet load priority set as 1 or maybe 2 to ensure that the servlet is loaded first ? On Tuesday 01 April 2003 2:02 pm, [EMAIL PROTECTED] wrote: I am using struts 1.1rc1 TomCat 3.3. In my struts-config.xml I have the following line; message-resources parameter=messages

Re: OJB Deployment With Sturts 1.1rc1

2003-04-01 Thread Stephen Smithstone
Im running 1.4.1_01 On Tuesday 01 April 2003 3:41 pm, Guido wrote: What JDK version are you using? I had that exception when I was compiling my classes with a JDK and running them in a Tomcat using a different version. Regards, Guido. Stephen Smithstone wrote: Any one using the ojb

Re: HELP: Dispaly Date in a JSP that used Tiles

2003-03-31 Thread Stephen Smithstone
wow all that trouble for a date what i would do is create a TileAction that sets up the date variable in the tiles context and then publish that attribute on the tiles page public class TilesDate extends TileAction { public void perform( ComponentContext 1 , HttpServletRequest 2 ,

Re: HELP: Dispaly Date in a JSP that used Tiles

2003-03-31 Thread Stephen Smithstone
ah sorry missed your timer function On Tuesday 01 April 2003 8:41 am, Stephen Smithstone wrote: wow all that trouble for a date what i would do is create a TileAction that sets up the date variable in the tiles context and then publish that attribute on the tiles page public class TilesDate

Re: HELP: Dispaly Date in a JSP that used Tiles

2003-03-31 Thread Stephen Smithstone
in respect to that dont you need to implement the date text into a text box container ? On Tuesday 01 April 2003 8:43 am, Stephen Smithstone wrote: ah sorry missed your timer function On Tuesday 01 April 2003 8:41 am, Stephen Smithstone wrote: wow all that trouble for a date what i would do

Re: [OT] reusing existing user accounts in a webapp that are stor ed i n a DB table....

2003-03-28 Thread Stephen Smithstone
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html is for a tomcat setup not sure on the weblogic stuff On Friday 28 March 2003 11:06 am, Butt, Dudley wrote: does anyone know of, or able to point me in the right direction with regards to single sign on...is there any software or

Re: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Stephen Smithstone
i really feel for you using ASP in regards with how easy you could make your life if you totally dropped it and used Struts :-) On Friday 28 March 2003 11:58 am, Rachel wrote: At 15:58 28/03/2003 +0800, you wrote: :) I look forward to the weekends where I can read the struts book I just

Re: Arguments

2003-03-27 Thread Stephen Smithstone
just tell him struts rocks :-) On Thursday 27 March 2003 9:53 am, Simon Kelly wrote: There is a list of sites (somewhere) that us struts as the framework. You could show them those, some where quite impressive. Just search the archive for sites using struts. Cheers Simon -

Re: Antwort: Re: Antwort: RE: Pull-down-menue for language select at logon

2003-03-26 Thread Stephen Smithstone
session is just the name of the variable u need to use the object HttpSession session_var_name = HttpServletRequest_var_name.getSession( ); its in the stanadrar javax.servlet.http. package On Wednesday 26 March 2003 11:03 am, Manuel Lenz wrote: Hi, my IDE doesn´t know what session is! How

Re: Returning a different request-type (xml/pdf/doc/etc...) through Struts

2003-03-26 Thread Stephen Smithstone
since your writing the repsonce there and then why not try return null; On Wednesday 26 March 2003 2:57 pm, Jeremy Nix wrote: I am new to struts, and have just recently began porting our current web application over to the struts framework. A piece of our application involves creating a

Re: Exception: Cannot retrieve definition for form bean null using Fo rwardAction

2003-03-26 Thread Stephen Smithstone
for every form that you have in your app you need a form bean and then u need to add it to your action mapping that is where you are getting the null exception just create a dummy form bean with nothing in it and then add it to that action On Wednesday 26 March 2003 11:22 pm, Alonso,

Re: Catalogue Paging storing selected items

2003-03-25 Thread Stephen Smithstone
create a javabean to contain the items like a shopping cart and place that in the session scope for the user On Tuesday 25 March 2003 9:29 am, Pat Quinn wrote: Hi Guys, I have a paging catalogue of items which all works fine but i'm wondering how do i store selected items across multiple

Re: how to switch of logging with log4j at initialization

2003-03-25 Thread Stephen Smithstone
if you have the log4j.properties on the classpath in the file just add log4j.logger.org.apache.struts = warn that will stop the struts stuff On Tuesday 25 March 2003 10:58 am, Martin Monsorno wrote: Hi *, when starting my struts-enabled web-app, I get output like this , | [INFO]

Re: [ANN] New York Struts Group - Manchester UK

2003-03-25 Thread Stephen Smithstone
wow someone livesin the north west of england as well :-) if more people are interested i'd go along On Tuesday 25 March 2003 11:10 pm, David Bolsover wrote: New York a bit far for me on a regular basis Any interest in somthing similar in Manchester UK - has distinct benefit of beter beer

Re: take over an existing HttpSession

2003-03-24 Thread Stephen Smithstone
Use the servlet context to store the details in instead of the session context and the label it via a the users username or something On Monday 24 March 2003 12:40 pm, Dmitri Ilyin wrote: Hi, i'm may be out of topic. But i think there are a lot of gurus here they could help me. I have to

Re: [newbie] Finding datasource from pool in struts-config

2003-03-24 Thread Stephen Smithstone
Action.getDataSource( httpSerlvetRequestObject , logindb ); or Action.getDataSource( httpServletRequest , userdb ); that how i do it in rc1 On Monday 24 March 2003 1:00 pm, Johan Wasserman wrote: Hi, How do you connect to a specific datasource pool (as configured in strusts-config). I

Re: [newbie] findDataSource deprecated?

2003-03-24 Thread Stephen Smithstone
try getDatasource( HttpSerlvetRequest httpServletRequest , String key ); from the Action Class On Monday 24 March 2003 12:09 pm, Johan Wasserman wrote: Hi, Im just now converting to rc1.3 and find that findDataSource is deprecated. How do you find one of many datasources? FYI: -- I

Re: [newbie] findDataSource deprecated?

2003-03-24 Thread Stephen Smithstone
OK heres my actuall code for my datasources data-sources data-source key=Progress set-property value=x property=password / set-property value=y property=user / set-property value=jdbc:mysql://localhost/Portal property=url / set-property

Re: data-source problem

2003-03-21 Thread Stephen Smithstone
Are u using an Action if so try getDatasource( httpServletRequest , ds1 ); as the Action has a method for getting a datasource On Friday 21 March 2003 2:32 pm, Eugene Volynskiy wrote: Hi, I have a problem with data-source usage in Struts 1.1 When we had data-source defined in

Re: Connection Pool

2003-03-20 Thread Stephen Smithstone
Heres how i do it and it works with struts 1.1rc1 in the struts-config i have data-sources data-source key=SystemsLog set-property value=jdbc:mysql://localhost/SystemsLog property=url / set-property value=org.gjt.mm.mysql.Driver property=driverClass / set-property

Re: working with a team

2003-03-20 Thread Stephen Smithstone
Have u tried sharing the drive as a network drive with permissions on it ?? then get the jsp developer to map the network to a drive on his computer On Friday 21 March 2003 5:01 am, Dan Allen wrote: I am looking for some advice/articles on setting up my struts application so that all members

forwards with appending query string

2003-03-19 Thread Stephen Smithstone
in my jsp page im usually calling a href='link?param=value'Link/a is there something i can along the same lines with the html:link either using the forward or href attribute Ta Stephen - To unsubscribe, e-mail: [EMAIL

Re: relative path problem

2003-03-11 Thread Stephen Smithstone
try using an action that gets the relative path then pass that path to the bean maybe On Tuesday 11 March 2003 6:52 am, bobd wrote: This is a rather silly problem I have been putting off and now I really need to fix it... In my Struts app, bean classes are parsing and writing XML files

Re: struts-config.xml parse errors (can't find source)

2003-03-11 Thread Stephen Smithstone
place yout formbeans before your global-forwards On Tuesday 11 March 2003 11:23 am, Rob wrote: I'm just throwing together a demo application to refresh myself w/ struts but have run into a problem where the struts-config.xml is resulting in parsing errors, problem is I can't figure out

Re: Newbie question

2003-03-11 Thread Stephen Smithstone
id first pass it to a the action needed then do a redirect to another action that would get rid of the url for you maybe On Tuesday 11 March 2003 3:22 pm, James wrote: How can i mask the url in the browser so the user does not see the request parameters..? ie /localhost/myapp/find?id=3 - is

Re: comparing strings with tags/online reference

2003-03-11 Thread Stephen Smithstone
c:when test=${ StringVar ( eq / == ) 'string' }/ use eq or == On Tuesday 11 March 2003 4:03 pm, Curley, John wrote: Hi, All: How do you compare strings (if you can) with JSTL? I am having trouble finding a good online reference (if anyone knows of one, please let me know). I have a

Re: struts-menu

2003-03-10 Thread Stephen Smithstone
what is this struts-menu and where can i find some examples / downloads ? please On Monday 10 March 2003 3:22 pm, Raible, Matt wrote: Edgar, I'm a committer on struts-menu, so hopefully I can help you out. I believe using the location attribute vs. page attribute will strip out your

Re: Struts Sub-modules

2003-03-01 Thread Stephen Smithstone
/ -Original Message- From: Stephen Smithstone [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 10:53 AM To: Struts Users Mailing List Subject: Re: Struts Sub-modules James Mitchell or anyone ive just uploaded an example i made to www.skullboxhouse.co.uk/downloads/smt.war

Struts Sub-modules

2003-02-28 Thread Stephen Smithstone
Does any one have a spare simple war that shows off switching modules im having to many problems at the minute :/ if you could email them to [EMAIL PROTECTED] it would be great ta - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: FormFile results in BeanUtils.populate error

2003-02-28 Thread Stephen Smithstone
have u got the encrpt line in your jsp form ?? or what ever it is On Friday 28 February 2003 3:04 pm, Susan Bradeen wrote: I just got through implementing an upload function into my application, which is working perfectly, and now I am trying to incorporate the same upload functionality into

Re: Struts Sub-modules

2003-02-28 Thread Stephen Smithstone
/Struts Evangelist http://www.microsoft.com/struts/ -Original Message- From: Stephen Smithstone [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 9:45 AM To: Struts Users Mailing List Subject: Struts Sub-modules Does any one have a spare simple war that shows off

Re: FormFile results in BeanUtils.populate error

2003-02-28 Thread Stephen Smithstone
On 02/28/2003 10:11:39 AM Stephen Smithstone wrote: have u got the encrpt line in your jsp form ?? or what ever it is On Friday 28 February 2003 3:04 pm, Susan Bradeen wrote: I just got through implementing an upload function into my application, which is working perfectly, and now I am

Re: Struts Sub-modules

2003-02-28 Thread Stephen Smithstone
James Mitchell or anyone ive just uploaded an example i made to www.skullboxhouse.co.uk/downloads/smt.war it would be great if u can download and run and help me solve the problem :-) Ta Stephen - To unsubscribe, e-mail:

Re: Upload and BeanUtils problem

2003-02-27 Thread Stephen Smithstone
do u have the line html:form action=/SubmitNewDoc.do method=POST enctype=multipart/form-data in your jsp page ? On Thursday 27 February 2003 1:34 pm, Sébastien Col wrote: My purpose is to have an upload working in my application. Here my initial message : I'm trying to get the html:file

sub-applications

2003-02-23 Thread Stephen Smithstone
Ive come to a problem in my struts apps now ive decided i want to test out the sub-applications so far ive done this webapp/ module1/ WEB-INF/ struts-config.xml struts-module1.xml index.jsp now in my web.xml file ive speicifed