Best way to check if a user has access to a database recourse

2001-12-06 Thread antony
Hi I have an application where the users have a number of messages in a database. Each user can only look at their own messages. What is the best way about ensuring a user cannot have access to anothers email. Ie, if I have a scheme like

Precompiling JSPs

2001-12-06 Thread Viet Kevin
Hello, I know that this question is not related to Struts but I want to know how to precompile all my jsps before hitting them with a Request, so that they doesn't have to be compiled when I hit them for the first time Thanks in advance. Viet Kévin - ActiVia Networks -- To unsubscribe,

Re: Producing alternating background colours in struts in atable

2001-12-06 Thread BONNET Francois-Xavier
Use RowTag : http://husted.com/struts/resources/rowtag.zip - Original Message - From: [EMAIL PROTECTED] Date: Thursday, December 6, 2001 5:55 am Subject: Producing alternating background colours in struts in a table Hi I have a list I am printing out and would like to alternate the

RE: Precompiling JSPs

2001-12-06 Thread Rajeev Singh
If weblogic server then use: C:java weblogic.jspc jsp_name -Original Message- From: Viet Kevin [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 2:00 PM To: [EMAIL PROTECTED] Subject: Precompiling JSPs Hello, I know that this question is not related to Struts but I want

Re: Precompiling JSPs

2001-12-06 Thread Viet Kevin
Thanx, but ... I want to know if possible under tomcat4.0, and if it possible to specify in the web.xml ... If weblogic server then use: C:java weblogic.jspc jsp_name -Original Message- From: Viet Kevin [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 2:00 PM

RE: AW: Want to check user is logged in every page server

2001-12-06 Thread Michael Mok
If you can using Tomcat 4, you may want to use the filter mechanism. I have not used it myself but there are a few good sample examples in the Tomcat 4 distribution. It may not address your security issue but may be effective in stopping authorised access to certain areas of the web site.

struts-config.xml question

2001-12-06 Thread Edward Q. Bridges
given the below struts config which is part of a war file named 'wizard.war', i am trying to have a url that appears in the client web-browser address bar of the sort: http://localhost:8080/wizard/logon but the only thing i can get to work is: http://localhost:8080/wizard/logon.jsp how can i

RE: struts-config.xml question

2001-12-06 Thread Jon.Ridgway
Hi Edward You will need to add a mapping into your web.xml. Jon. -Original Message- From: Edward Q. Bridges [mailto:[EMAIL PROTECTED]] Sent: 06 December 2001 09:36 To: [EMAIL PROTECTED] Subject: struts-config.xml question given the below struts config which is part of a war file

Re: Tiles component Verify Error!!!!

2001-12-06 Thread Cedric Dumoulin
Hi, It looks like a versioning error. Do you use the same struts.jar on both platform ? Cedric iT meDic wrote: Hi, I have come across a very peculiar error. I have built an application on my computer using Struts/Tiles and it works like a charm , however when i move it to another

RE: Tiles component Verify Error!!!!

2001-12-06 Thread Tom Lister
Proabably a red herring, but we had some very strange java errors here and it turned out the path didn't include java\bin\java.exe and we were running a java.exe from windows\system (microsofts I presume) What do you get for 'java -version'? :-) Regards [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

RE: struts-config.xml question

2001-12-06 Thread Edward Q. Bridges
ahh, yes. i have that too: servlet-mapping servlet-nameaction/servlet-name url-pattern/wizard/*/url-pattern /servlet-mapping where 'action' is the name of org.apache.struts.action.ActionServlet besides, isn't the name of the warfile taken as the default context for the web

RE: AW: Want to check user is logged in every page server

2001-12-06 Thread Jon.Ridgway
Hi All, The best way to check if a user is logged in, is to use what's provided for free by your web container. If you are using Tomcat you can use FORM based auth. Check the sun specs for details. Depending on your web container and your needs you may also have to manually check that the user

Re: Best way to have truly dynamic templates?

2001-12-06 Thread Cedric Dumoulin
Hello, Have you check Tiles library ? It allows to specify definitions in a centralized xml file. Combine it with Struts actions, and you will avoid the second jsp file. Cedric Kenny Grimm wrote: Hi, I'm currently working on a site in which I'd like every page accessed to follow

RE: Best way to check if a user has access to a database recourse

2001-12-06 Thread Jon.Ridgway
Hi Tony, If the user has logged in then you must have their principal (ie log in name) stored. So you don't need to have it as a request parameter visible to all. Have the Display Messages Action lookit up and just pass in messageStart and messageEnd. I think there are ways to hide the URL,

RE: Indexed tags iterate tag problems

2001-12-06 Thread Tom Klaasen (TeleRelay)
The setting of the properties is done by BeanUtils, and that is maintained by the commons project. However, if you get its source, you'll see a lot of commented-out if (debug=1) statements (I wonder why...). Un-comment-out them, do somewhere in your code BeanUtils.setDebug(1);, and you'll see the

multibox - i know is easy but i am lost!!!

2001-12-06 Thread Raul Enriquez
Hi, i know this should be very easy, and i looked at the list and i found questions like this. I copied the answer but i can not make it to work. when i use a multibox tag, inside a form and a iterate, i get always the following error : No getter method available for property test for bean

Dynamic parameter attachment to html:link tag

2001-12-06 Thread @Basebeans.com
Subject: Dynamic parameter attachment to html:link tag From: Nutshell [EMAIL PROTECTED] === Hi Does anybody knows how to attach parameter to the html:link tag dinamically? I have a link html:link page=/goThere.do?action=someValueLink/html:link. What I want to do is to set

Re: action chaining without resetting action forms

2001-12-06 Thread Ted Husted
The best solution here is to use add a switch to your bean to make its properties immutable.  private boolean immutable = false; public void setImmutable(boolean immutable) {  this.immutable = immutable; } // ... public setProperty(String property) { if (immutable) exit;

RE: Dynamic parameter attachment to html:link tag

2001-12-06 Thread Tom Lister
Hi This example, set's a URL field in a list of URL entries as a link parameter logic:iterate id=element name=listForm property=entries type=com.JJ.forms.EntryForm row:row oddColor=#99ccff evenColor=#09c0f0 td html:link href=%= element.getURL()% target=viewFrame

Re: iterate tag problems (sorry !!)

2001-12-06 Thread Eddie Fung
Dave, thanks for your help on this. 'iterate will be the death of me'.. and me also !! I've progressed further on this problem so that I am getting data to be passed to the Form. One big thing tho: Each of the beans in the Arraylist that I am iterating thru has a field which is a boolean. I

Re: Producing alternating background colours in struts inatable

2001-12-06 Thread Alvin Kutttikkat Antony
this is very interesting.But is this checking wether the iteration bean is present for an iteration greets Alvin alvin kuttikkat antony Internet und Virtuelle Hochshule Directory Universität München Leopoldstr .3 80802 München Germany Office Tel + 49.89.21025979 Office Fax +

Re: action chaining without resetting action forms

2001-12-06 Thread Volker Krebs
Hi, For the nightly build, I've suggested that we add two new methods so that one Action can invoke another, but need some people to test the idea for me. (Since I don't do this sort of thing myself.) If anyone is interested, I can post a patched JAR. But then they really, really need to

Re: action mapping as /do/* rather than *.do

2001-12-06 Thread Matt Raible
Yep, You just need to change the servlet-mapping in web.xml and any global-forwards in struts-config.xml. If you look at the documentation (see link below) you can see what I changed to facilitate the /do/* mapping - just follow the same path and change /do/ to /controller/. If you doing this

RE: Producing alternating background colours in struts in atable

2001-12-06 Thread Tom Klaasen (TeleRelay)
Any pointers as where to find this row taglib? thx, tomK -Original Message- From: Tom Lister [mailto:[EMAIL PROTECTED]] Sent: donderdag 6 december 2001 14:11 To: 'Struts Users Mailing List' Subject: RE: Producing alternating background colours in struts in atable Hi This

RE: Producing alternating background colours in struts in atable

2001-12-06 Thread Tom Lister
http://husted.com/struts/resources/rowtag.zip http://husted.com/struts/resources/rowtag.zip :-) Regards [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Advanced Banking Solutions Limited +44 (0)20 7448 9146 º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤ºº¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤ºº¤ø, ¸¸,ø¤º°'°º¤ø,¸¸,

RE: Precompiling JSPs

2001-12-06 Thread Rajeev Singh
I generally don’t use TOMCAT but I think you should look for a class jspc in tomcat server lib, you may use it for precompiling it. JSPC means JSP Compiler. Gud luk, -Original Message- From: Viet Kevin [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 2:00 PM To: [EMAIL

RE: Can a form submit to a vector?

2001-12-06 Thread Alex Colic
Hi, your right that's what I want to do. I just have to figure out how to submit the form to a vector. Alex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 4:11 PM To: Struts Users Mailing List Subject: RE: Can a form submit to a

Re: RE: Populating form in the action

2001-12-06 Thread Joey Gibson
The form passed in is a null because that Action is called the first time I type in the URL (.do), not after a form has been submited. In other words, I would like to pre-populate the form before displaying it. If you have associated the action with a form in your struts-config.xml, then

log4j log file relative path

2001-12-06 Thread Adriano Labate
Hi, How to set a relative path for the log4j log file ? I would like to set its location to : webapps\myapp\logs With an absolute path it works but the development (Tomcat) and production (Jrun) machines don't have the same directory structure and I have to change the file location before each

RE: JSPs past WEB-INF --- Please Help!

2001-12-06 Thread Dave J Dandeneau
That makes sense. This is such a common occurence that I figured there would be a better way. Thanks for the help! Dave -Original Message- From: Alexander Jesse [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 2:26 AM To: struts-user Subject: RE: JSPs past WEB-INF ---

RE: log4j log file relative path

2001-12-06 Thread Tom Klaasen (TeleRelay)
Not entirely struts related, but here it goes: The basedir for log4j seems to be $TOMCAT_HOME/logs. I guess it's something similar for jrun. So if you declare log4j.appender.RFA.File=../webapps/regbl/logs/regbl.log it should work (on Tomcat, at least). Not entirely sure, but my feeling is

RE: log4j log file relative path

2001-12-06 Thread Jon.Ridgway
Hi Adriano, Not sure if you can set a 'relative path'. If you are manually using the PropertyConfigurator consider putting the absolute path to the config file into a .properties file and access the properties file using the ResourceBundle. If you are not manually using the

Browser cache

2001-12-06 Thread Kiet Nguyen
When the browser has cache on (Never check for new version of the store page), the follow code does not submit the form. I think it is because it is a link. html:link href=javascript:cancelOrSubmit('workOrderSubmitOrder.do','Your order will be submitted for broadcast distribution. Do you want

Re: Best way to have truly dynamic templates?

2001-12-06 Thread Jerry Workman
Cedric / Kenny, Tiles is a bit of overkill to do simple header / footer / menu templates. I use the following which works quite well and avoids the need for 2 JSP files for each page. %@ taglib uri=/WEB-INF/tlds/struts-template.tld prefix=template % %@ taglib uri=/WEB-INF/tlds/struts-bean.tld

Seperate Actions For Form Init Validation (was JSPs past WEB-INF --- Please Help!)

2001-12-06 Thread Keith Bacon
My way may be no better! I have a hidden variable called formName on every form, set to a literal value. I code the same name in that forms action class. Then at top of the perform method in the action class, if the 2 values are equal I know I was started from my form being submitted so I

Re: Tomcat 3.2.3+mod_jk

2001-12-06 Thread tw . richter
Hi, I strongly recommend using Tomcat 3.3. It is excellent (better then the somewhat beta Tomcat 4.01). I used the -jkonf option and then had nothing else to do then to start Tomcat. Struts-example/ was running perfectly. There is no more JKMount in the mod_jk.conf file, only these lines:

Re: forwarding question

2001-12-06 Thread Jonathan James
Can you not just do this? return new ActionForward( mapping.getInput() ); -Jonathan - Original Message - From: Robert Parker [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 7:54 PM Subject: Re: forwarding question I can think of

RE: log4j log file relative path

2001-12-06 Thread Adriano Labate
Hi Tom, I tried your solution and I got the following error: log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: ../webapps/regbl/logs/regbl.log (The system cannot find the path specified) Then searching on the log4j maling list archive, I got two ways to deal with

RE: Can a form submit to a vector?

2001-12-06 Thread Keith Bacon
The form is 'submitted' to you action class. In your perform method you get the values out of the form bean (passed into the perform method) add them to you vector (or to them to an object representing 1 row that you add to your vector) Keith. --- Alex Colic [EMAIL PROTECTED] wrote: Hi,

General Struts Usage/Deployment Question

2001-12-06 Thread Ron Eisele
Greetings, all. This is my first post to the list, and am just looking for some simple information. First, a little background. I finally looked into Struts last week after hearing it mentioned on plenty of other Java sites. I read the install guides, the dev guides, selected pieces of the

AW: General Struts Usage/Deployment Question

2001-12-06 Thread Bol, Bernardus, VTC-CDS
Greetings all, I am in the same situation and have the same questin as Ron Eisele and I am looking forward to the responses on that question. Kind regards, Bernardus Bol -Ursprüngliche Nachricht- Von: Ron Eisele [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 6. Dezember 2001 16:27

RE: Seperate Actions For Form Init Validation (was JSPs past WEB-INF --- Please Help!)

2001-12-06 Thread Dave J Dandeneau
It seems to me that a fix to this problem would be a simple and good enhancement to struts. Perhaps struts could provide another option for the validate property in action mappings: true, false, afterInit. Or something similiar. The base Action class could then use tokens to check if it was the

RE: General Struts Usage/Deployment Question

2001-12-06 Thread Jon.Ridgway
Hi All, 1) Once Struts is installed a Struts based app will run on all platforms mentioned without change. Just deploy the war file and away you go... 2) To avoid an 'gotchas' read the stuff on Ted Husted's site (www.husted.com) Regards, Jon Ridgway. -Original Message- From: Bol,

RE: struts-config.xml question

2001-12-06 Thread Alexander Jesse
Hi, you should use a url like: http://server_name/context_name/web_xml_mapping/struts-config_mapping assuming your app is under webapps/myApp/..., your server is called myServer then the url is: http://myServer/myApp/wizard/logon at least that's how it works... Alexander Jesse -Original

Webapps question (almost Struts related)

2001-12-06 Thread Pellerin, Richard
Can I have the following hierchy : WEB-INF/images (rather than have the images folder in the same level as the WEB-INF) If yes, how can I access those images in my JSP,src= WEB-INF/images/any.gif doesn't work !!! Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Webapps question (almost Struts related)

2001-12-06 Thread Alexander Jesse
Hi, getting an image is a new request to the webserver...which is not allowed to let anybody access something below WEB-INF...therefor the image-requests should fail... regards Alexander Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday,

RE: Webapps question (almost Struts related)

2001-12-06 Thread VIAUD Cédric
According with the specification , it is not possible. In fact, all the files you put into /WEB-INF will not be served by the HTTP Server. So, when the browser make the request for image, the server refuse to serve it. Maybe you can find a way to make it work , but it doesn't go in the way it

Re: Webapps question (almost Struts related)

2001-12-06 Thread Richard Yee
Richard, You can have a servlet return the image to the browser rather than have the web server return the image directly. To get the images, you would use the servlet path and put a query parameter with the file name. Otherwise, the images are in a protected area and aren't visible to

Gobal Forward Confusion..

2001-12-06 Thread Strichartz, Beth
I am confused. If anyone can clear this up for me, I would appreciate it. I have a global forward to an action that will load my form before displaying the jps. If I put the following in another jsp: html:form action=/customerMaintenance/search or in the url type:

RE: General Struts Usage/Deployment Question

2001-12-06 Thread Reddin, Greg
1) Once Struts is installed a Struts based app will run on all platforms mentioned without change. Just deploy the war file and away you go... Unfortunately, this sort of thing is rarely non-trivial in my experience.There will usually be some amount of coding effort in porting from one

load() exception

2001-12-06 Thread Peter Gershkovich
Hi All. I have jakarta-tomcat-4.0.1 on Suse Linux 7.3 and JDK1.4. Struts examples work when catalina starts as standalone. When i link it with Apache using mod_webapp.so i get the following error recorded in log files for each struts sample application. Tomcat examples work fine. The same

RE: load() exception

2001-12-06 Thread Chappell, Simon P
Interesting. I'm getting the same error when I use Tomcat standalone. (Tomcat 4.0.1, RedHat 7.2, JDK 1.4.0beta3) I find that I can make the error go away by striping out all of my action entries out of the action-mappings. Of course, that leaves me with an app that doesn't do anything. :-(

Re: General Struts Usage/Deployment Question

2001-12-06 Thread Ted Husted
Ron Eisele wrote: Also, for anyone else who've just started up, anyone have any gotchas as it's related to new Struts-based development? There are plenty of gotchas, since many containers are still not fully-compliant, or offer features that developers do not realize and proprietary. Most

Data Missing anyone know of a way to force a browser to repostautomatically

2001-12-06 Thread Peter Pilgrim
Data Missing This document resulted from a POST operation and has expired from the cache. If you wish you can repost the form data to recreate the document by pressing the reload button. Any one know of a way of getting the browser to it the reload button automatically when there is

Mapped properties

2001-12-06 Thread Francesco Marsoni
I get an exception with bean:write name=xxx property=yyy(kkk).zzz / Something like No getter method for yyy(kkk).zzz property of bean xxx The method in my class is Object getYyy(String key). I use dev distribution that I think have mapped properties support. -- To unsubscribe, e-mail:

RE: jndi.properties and JBoss-2.4.3_Tomcat-3.2.3

2001-12-06 Thread Ajay Chitre
I put the jndi.properties in \WEB-INF\classes and that seems to work with JBoss. Is your ArticleMngr.jar in your classpath? -- Original Message -- Where do I have to put the jndi.properties or what could be else the problem for the following exception? [Service Control] Started 47 services

Re: jndi.properties and JBoss-2.4.3_Tomcat-3.2.3

2001-12-06 Thread Marcelo Caldas - CCSC
All you have to do is to put the jndi.properties available for the Server's classpath. But you have this right - He could find the Initial context factory... Make sure that your bean is available and well deployed! It seems that jBoss couldn't deploy your bean... that's why the home int. is not

Environment issue?

2001-12-06 Thread Chappell, Simon P
Do I have an environment issue when an app will run only if it is the only app in the webapp directory? The moment I copy in a WAR file, even a well behaived one like struts-blank or struts-example, then it stops working with a Cannot find ActionMappings or ActionFormBeans collection error.

RE: Reloadable Class

2001-12-06 Thread Knee, Jeff
All, For me (with Tomcat4), this doesn't seem to help... I was thinking that this was because the _ActionServlet_ wasn't new... just my _Action_ classes. Is there a way to get the ActionServlet to reset without restarting Tomcat? += Jeff Knee -Original Message- From: Robert Parker

Best practices for implementing menuing?

2001-12-06 Thread Jerome Jacobsen
I need to create a website that has menus in the header and sidebar. I see the following challenges in implementing menuing: 1) Maintaining correct menu state when user hits Back, Forward, or jumps in History. 2) Keeping the JSPs menu ignorant. Any best practices on menuing which solve the

RE: Action an overkill ??

2001-12-06 Thread Robert J. Sanford, Jr.
pardon my naivete... but couldn't the presentation of the table be a JavaScript based table with buttons (or whatever) on the column headers that handles the data sorting on the client side? that would allow you to dump the data down to the client in whatever initial order is deemed appropriate

RE: RE: Populating form in the action

2001-12-06 Thread Knee, Jeff
I've noticed that if the ActionForm's validate method returns ActionErrors then the Action's perform() won't get called, and the user gets sent to the JSP automagically. (You can get around this... I've been trying to decide the best way... ) Seems like a great FAQ question since I've seen

Question/Issue with forward specifications

2001-12-06 Thread Frank Lawlor
In my code I had accidentally typed: return mapping.findForward(succcess); (note the 3 c's) Instead of getting a runtime error my app just went nowhere? 1) why doesn't findForward() throw an exception rather than returning null? 2) more generally, I am concerned about errors that you

struts with resin exception

2001-12-06 Thread a b
Hi, I'm trying to get resin to work with an existing struts application and I'm getting the following exception, it works fine with tomcat 4.0. Any help would be appreciated 500 Servlet Exception javax.servlet.jsp.JspException: /careersite-admin/apps/employer/register/confirm/content.jsp:5:

Can't forward to a global?

2001-12-06 Thread Alex Colic
Hi, I have an action class that could get called after a users session has expired. When the action class is called I have the following code: if(session == null || session.isNew()) { return mapping.findForward(logon); } I have a global forward defined for logon.

html:base screwing mappings - please help

2001-12-06 Thread Rob Breeds
Hi Everything was going so well but now I've hit a problem which affects my whole project. I really would appreciate some help. Here's the situation: I have a form and I want to submit it using links and not buttons. I have a JavaScript function to do this: function subForm(iform, act) {

struts - weblogic service pack 10

2001-12-06 Thread John Ng
Hi, we would like to upgrade our weblogic server from sp8 to sp10. We are using wlssp8-struts.jar in our sp8 environmet to get our struts stuff working. However, it does not work for sp10. Is there any struts service packs that we need to install for sp10 to work with struts? Thanks John

Session Lost During Transition From http to https

2001-12-06 Thread David White
Please respond to [EMAIL PROTECTED] if possible due to problems with my ATT Cable Internet. Thanks.. I am trying to get my struts webapp to transition in/out of https for sending sensitive info. I want to be in https only when needed and in http the rest of the time. I have seen many web

Small addition to - RE: Struts Validator (dumb?) question

2001-12-06 Thread Sobkowski, Andrej
Just a quick addition to the message below (sorrysorrysorry): I realize that I can simply call the validate(mapping, request) directly in the Action, but this is what I'd like to avoid as it would somehow create a link between the Action and the validation process. I'd like to keep the

Re: Question/Issue with forward specifications

2001-12-06 Thread Ted Husted
Frank Lawlor wrote: 1) why doesn't findForward() throw an exception rather than returning null? Conceptually, not finding something in response to what could be a dynamic query is not an exceptional event. A SQL query returns an empty set all the time. Its up to the application to decide what

Re: Struts Validator (dumb?) question

2001-12-06 Thread David Winterfeldt
You either would need to define at least one action with validate=true and another with validate=false or perform the call to the ActionForm validates method yourself in the action. There is an example of using one action this way in the jdbc example web app that comes with the Validator.

Re: Alternate Query String( no ? or )

2001-12-06 Thread David Winterfeldt
If you can use a servlet engine that supports v2.3 (tomcat 4.0), you could use a Filter to parse out the url that was entered and extract any parameters that you encoded differently. Then you could forward the request to the actual page or servlet it should go to. David --- Phase Communcations

Populating a new form in the action and adding it into the session?

2001-12-06 Thread acorona
I have search.jsp which uses a SearchForm and a SearchAction. Once the user enters the search criteria, the SearchAction class takes the entered data from the SearchForm. The SearchAction then performs my DB query. Once I get the query results I'd like to display the results in a

RE: action chaining without resetting action forms

2001-12-06 Thread Cakalic, James P.
I'm interested (I think) in action-chaining. I'd like to use struts for development in a project just ramping up. However, I plan to _completely_ abandon JSP and use XMLC to generate the presentation. To do this I intended to split processing between a request-Action and a response-Action. The

Re: action chaining without resetting action forms

2001-12-06 Thread Ted Husted
When you forward to a JSP, the original ActionForm and ActionMapping are left alone. As it stands, when you forward to another Action, the ActionServlet uses the same processing cycle it used for the first Action. If an ActionForm is specified by the mapping, the ActionServlet will try to

Re: action chaining without resetting action forms

2001-12-06 Thread Ted Husted
Volker Krebs wrote: I'm intrested, can you please post a patched JAR. We are doing some Action chaning in our application. OK, see http://husted.com/struts/resources/invoke.zip -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 --

Re: Alternate Query String( no ? or )

2001-12-06 Thread Ted Husted
As I understand it, this works because a Web server actually tries each part of the path component, to see if it is a file. So, given /dir/dir/file/parm/parm it chants is /dir a file? (no, it's a folder) is /dir/dir a file? (no it's a folder) is /dir/dir/file a file? (why, yes, it is) and

using html:link to pass parameter to action servlet

2001-12-06 Thread antony
Hi I have a very simple question, I want pass a variable to a page, I have html:link forward=bbs paramId=page paramPropery=next -(1) and want this to expand to http://localhost:8180/testproject/bbs.do;jsessionid=EB98798BC98658698989879878page=next -(2) I do not want this value to be

Re: struts - weblogic service pack 10

2001-12-06 Thread John Ng
Have anyone tried to get the struts running under sp 10? Thanks John --- John Ng [EMAIL PROTECTED] wrote: Hi, we would like to upgrade our weblogic server from sp8 to sp10. We are using wlssp8-struts.jar in our sp8 environmet to get our struts stuff working. However, it does not work

Problem using bean:define toScope parameter

2001-12-06 Thread Rob Parker
I am having trouble with the bean:define tag, specifically the toScope parameter. Here is the situation: I set up some collections in an action class to use as select options in a form and set them as attributes on the request object. These collections contain information pulled from a

shopping cart example???

2001-12-06 Thread John McClain
Does anyone out there know of an opensource shopping cart example using struts??? John McClain 7604 Muschetto Ct. Citrus Heights, CA. 95621 [EMAIL PROTECTED] (916)728-5223

Re: shopping cart example???

2001-12-06 Thread T. Wheeler
Does anyone out there know of an opensource shopping cart example using struts??? The sonic example app from Bluestone (HP) is the largest I have seen: http://gallery.bluestone.com/Scripts/SaIsapi.dll/Gallery.class/demos/i18n/index.jsp It's big enough to give you a basic idea of how to do

jndi.properties and JBoss-2.4.3_Tomcat-3.2.3

2001-12-06 Thread storck
Where do I have to put the jndi.properties or what could be else the problem for the following exception? [Service Control] Started 47 services [Default] JBoss 2.4.3 Started in 0m:18s [Default] javax.naming.CommunicationException. Root exception is [Default] java.lang.ClassNotFoundException:

Struts Validator (dumb?) question

2001-12-06 Thread Sobkowski, Andrej
Hello All, I'm trying to use the Struts validator but it doesn't seem to be working in my - relatively common - case. I have a modify.jsp page that is displayed upon calling /modifyAction?command=init (using the DispatchAction). No validation must be performed at this point. The user then