I found the answer. It is to use the struts-el html tag library instead
of the standard html tag library, and then to refer to the variable
using the expression language syntx:
. . .
Erik Weber wrote:
I want to use c:choose to decide how to set the value of the action
parameter in an html:for
Hi Sunil,
Thank you for your interest and My problem was solved.Some of the friends in the list
have sent the solution to me...
My problem is ...
I am display the number of files ie.suppose 100 files ...100 files to poplate the
popup windows.Here i am using the nested:text So the problem is t
Hi There,
Youi don't even need to give _javascript. As when your
jsp comples, it replaces your form tag attibute name
with the value u provided under action attribute name.
So if your acton tag is like this:-
Then you can use
"document.helpActionForm.submit()" in the jsp file
to submit a form l
Title: RE: javax.servlet.ServletException: Cannot find bean dblist in sc ope request
Yes, buland is right.
-Original Message-
From: Buland Altaf [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 17, 2004 10:58 AM
To: Struts Users Mailing List
Subject: RE: javax.servlet.ServletExceptio
Hi there,
try this one:-
Hoep it will work.
Regards,
Buland
--- Sunil Sahu <[EMAIL PROTECTED]> wrote:
> Your code is right there may besome problem with
> your browser.
>
>
> -Original Message-
> From: Barnett, Brian W.
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 15, 2004 1
I want to use c:choose to decide how to set the value of the action
parameter in an html:form tag (add or update).
How exactly do I refer to the variable that is set in the c:when and
c:otherwise conditionals from within my html:action tag?
The only thing I can think of that works is something
Hi there,
There may be two solutions:
1. Sometimes this error comes if there is nothing in
the db and your collection is empty. So go and check
it and print collection data before storing it in
request object.
2. if there is some error and you are comming back to
your page, but at this time ther
Title: RE: html:submit button
U can user 'onclick' event in html:button and simply call a _javascript_ function in which u have to pass the one parameter which would be exactly the 'value' u want to pass.
-Original Message-
From: Denis Avdic [mailto:[EMAIL PROTECTED]]
Sent: Thursday
Title: RE: How to append select option to html:link
Hi cdroderick,
I think this is piece of code which will fulfill ur requirement..
function testLink(actionName)
{
Var selectValue =document.fm.chartFormat.options[doc
Title: RE: RE [OT]: onsubmit form ERROR
Your code is right there may besome problem with your browser.
-Original Message-
From: Barnett, Brian W. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 15, 2004 1:38 AM
To: 'Struts Users Mailing List'
Subject: RE [OT]: onsubmit form ERROR
Title: RE: javax.servlet.ServletException: Cannot find bean dblist in scope request
Hi patrick,
What is the package name for your bean and dao.
Please have a fresh look at package name u have specified for bean and dao.
U are accessing the page thru http://localhost:port/list.do. Am i righ
Title: RE: Re: problem Please Help me.
Hi srinivas,
What is the exact problem u r facing.
-Original Message-
From: Ajay Patil [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 30, 2004 3:14 PM
To: Srinivas Rao; [EMAIL PROTECTED]
Subject: Re: Re: problem Please Help me.
De
Title: RE: NEWBIE: how to submit a named html:form via javascript
Adam,
Name parameter in form tag is optional. If you want to submit your page then u can do it by supplying onclick event for default form.
type="com.expensys.expensyswt.struts.action.DisplayHelp" />
>
^^ thanks so much !
I am going to have a try and let see what will happen (maybe somemore
question, ^^)
Regards
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Rizwan Merchant wrote:
Hi Craig,
Thanks for the reply. I came across this solution, but does this not mean
that the user will only be able to generate one report at a time (since we
are storing the flag in the user's session)? If the user starts generating a
second report which is much smaller than
> -Original Message-
> From: Rizwan Merchant [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 16, 2004 4:06 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Intermediate loading page
>
>
>
> Hi Craig,
>
> Thanks for the reply. I came across this solution, but does
> this not mean
>
Hi Craig,
Thanks for the reply. I came across this solution, but does this not mean
that the user will only be able to generate one report at a time (since we
are storing the flag in the user's session)? If the user starts generating a
second report which is much smaller than the first then would
Hi Craig,
Thanks for the reply. I came across this solution, but does this not mean
that the user will only be able to generate one report at a time (since we
are storing the flag in the user's session)? If the user starts generating a
second report which is much smaller than the first then would
Rizwan Merchant wrote:
I am working on a web application using the Struts framework. Using a
form on a jsp page, I generate a report which is displayed in pdf on a
new screen. The report is generated through an Action class method. I
would like to display a "Please wait" screen while the repo
I'd be tempted to ignore the 'no errors after restart' as a red herring
as a first approach - I've seen these kinds of things from JBoss before,
it does seem in some instances to use different code for startup and for
hot deploy. In my experience the one that reported the errors was indeed
corr
I am working on a web application using the Struts
framework. Using a form on a jsp page, I generate a report which is displayed in
pdf on a new screen. The report is generated through an Action class method. I
would like to display a "Please wait" screen while the report is being
generate
I am working on a web application using the Struts
framework. Using a form on a jsp page, I generate a report which is displayed in
pdf on a new screen. The report is generated through an Action class method. I
would like to display a "Please wait" screen while the report is being
generate
Thanks Craig & Jason,
Yes, the string in can be queried via
this.getServlet().getServletContext().getServletContextName()
from any Struts Action.
Thanks very much.
Ivan.
-Original Message-
From: Craig McClanahan [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 5:09 PM
To: Struts
> -Original Message-
> From: Eric Dahnke [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 16, 2004 11:13 AM
> To: [EMAIL PROTECTED]
> Subject: Xtags and rtexprvalue
>
>
>
> Hello,
>
> We're using xtags and need the ability pull in different xml
> documents based
> on locale. The tld sa
Thanks for your feedback Craig, I promise I won't sue the forwardPattern, you're
probably right about there not being any money in it ;).
Thanks for your reply -- it got me to the correct solution.
So here's how I fixed it for the archives:
Basically how our apache-BEA bridge worked before was
Hello,
We're using xtags and need the ability pull in different xml documents based
on locale. The tld says that the uri attribute accepts rtexprvalue.
<% String isoLanguage = request.getLocale().getLanguage();%>
The above jsp code always produces /siteCopySource//footerCopyright.xml and
not
Sure Craig, I guess it's a good idea to look beyond the weekend..;)
Thanks for the advice!
Geeta
> -Original Message-
> From: Craig McClanahan [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 16, 2004 12:16 PM
> To: Struts Users Mailing List
> Subject: Re: About datasource
>
>
> Geeta Ram
Hi Craig
Filter, hmm.
Thanks, I'll look into that :)
Rob
-Original Message-
From: Craig McClanahan [mailto:[EMAIL PROTECTED]
Sent: Fri 16/07/2004 00:34
To: Struts Users Mailing List
Cc:
Subject: Re: calling request.getInputStream() w
Sant, Jessica wrote:
I developed my struts app on BEA where I had a URL like this:
http://host.com:7001/myApp/index.do
In our production environment, we're using an Apache front end, so the BEA stuff has
been aliased to something like this: http://host.com/BEA/myApp/index.do
Going to that first p
+1
Andrew Hill wrote:
Try here:
http://www.catb.org/~esr/faqs/smart-questions.html
ganesh gadi wrote:
Hi Friends,
i'm very happy to tell u my problems and get answers.
i need a solution how to disable "open" button on "File Download"
dialog box.i want control on it.
Pls don't say no solution.Bcox
McCormack, Chris wrote:
Maybe a change of career or invest some time reading up the technologies that appear
on your CV ? Just a thought
C'mon guys ... not everyone in the world is a native English speaker.
For those that aren't, you might have noticed that the word "urgent"
triggers negat
Geeta Ramani wrote:
Hi:
I think this is the sort of thing you may be looking for:
Context ctx = new InitialContext();
org.apache.commons.dbcp.BasicDataSource ds =
(org.apache.commons.dbcp.BasicDataSource)ctx.lookup("java:comp/env/jdbc/yourDB"));
That's definitely the sort of cod
I think Websphere Studio Application Developper (WSAD V5) does it...
I did not try it...
-Message d'origine-
De : Jim Barrows [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 16 juillet 2004 17:58
À : Struts Users Mailing List
Objet : RE: interface prototyping
> -Original Message-
>
i fixed the trouble.
Actually, you have a lot of thing to do that i had missed.
Instantiate the right ActionXXXServlet and the right DefinitionFactory with parameters.
There is a wab.xml file in which it is explained if you download tutorial with src at
Cedric DUMOULIN web site.
Microsoft Visio does a fine job for our organization.
It has a set of drag and drop GUI components to assist with prototyping.
Also it has tools for UML, flow charts, and site maps... all sorts of
goodies.
Josh Holtzman
AMERICAN DATA COMPANY
Developing and Supporting your Online Applicatio
> -Original Message-
> From: Xavier Noria [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 16, 2004 8:56 AM
> To: Struts Users Mailing List
> Subject: interface prototyping
>
>
> What do you guys use to prototype interfaces? Is there some
> visual way
> to write dumb pages with forms th
What do you guys use to prototype interfaces? Is there some visual way
to write dumb pages with forms that let you think about possible
website layouts and execution flows?
-- fxn
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I'd grab the source for Struts and step through the problem in your favorite
debugger.
Paul
> -Original Message-
> From: Lucas Gonzalez Pearson [mailto:[EMAIL PROTECTED]
> Sent: 16 July 2004 16:29
> To: Struts Users Mailing List
> Subject: Tiles problem when uploading war was [Re: Ex
Hi,
I am still trying to find the root of this problem but I don´t seem to be
able to do it.
Has anyone experienced this problem before?
copying a struts .war file to jboss´ deploy directory and then getting this
error:
javax.servlet.ServletException: TilesPlugin : Specified RequestProcessor not
I developed my struts app on BEA where I had a URL like this:
http://host.com:7001/myApp/index.do
In our production environment, we're using an Apache front end, so the BEA stuff has
been aliased to something like this: http://host.com/BEA/myApp/index.do
Going to that first page works fine, but
Fahd,
I am not sure about class definition
class TestTileController extends TilesAction implements Controller .
I guess this has to be public, then only
org.apache.struts.tiles.ComponentDefinition
can access com.usersmarts.sam.tilescontroller.TestTileController class.
Just check your class modif
Buland,
you might have to rewrite your mail to get an answer. Subjects like "Help
Require !!!" usually ensure that no one ever bothers reading your post.
Please keep in mind that everybody on this list answers voluntarily in
his/her spare time. Please do not take offence and think of this mail
Yes, i did.
Which jar shall i add to my app/lib
i got theses jars:
- commons*.
- jakarta-oro
-servlet
-struts
Did i miss any jar ?
(Additionnaly i added jboss-j2ee but it doesn't change anything
"Pingili, Madhupal" <[EMAIL PROTECTED]> wrote:
Have you updated struts-config.xml with the
That doesnt work either.
The problem comes even if I take out the following lines from header.jsp
and
System.out.println("ident = " + request.getParameter("title"));
After eliminating the abovel ines from my header, when I access any jsp
which uses header.jsp, I get the
I got this error when my xml syntax was not correct in my definitions-config
file. Check your xmls. I dont think its a struts installation problem.
-Fahd
-Original Message-
From: yakup aksu [mailto:[EMAIL PROTECTED]
Sent: Friday, July 16, 2004 6:39 PM
To: [EMAIL PROTECTED]
Subject: Tiles
Have you updated struts-config.xml with the plugin like this:
Just curious,
Reddy Pingili
> -Original Message-
> From: yakup aksu [SMTP:[EMAIL PROTECTED]
> Sent: Friday, July 16, 2004 9:39 AM
> To: [EMAIL PROTECTED]
> Subject: Tiles with definition
>
> Hi,
>
> i m new
Hi,
i m new to tiles and J2EE and i got trouble using Definitions in tiles.
I changed everything concerning component to tiles as described in the Tiles tutorial.
Should one's override the /WEB-INF/tiles-defs.xm /WEB-INF/Mytiles-defs.xm ?
Anyway i tried both solution and nothing to do, i got all
Fahd,
Have you tried changing scope="request" in following line
?
I am looking at "Struts in Action" book co-authored by Ted Husted,
" tag imports all of the Tiles context attributes
into page context: " .
So, after this, you can access the attribute named "title" through page
context.
Reddy
At 03:52 AM 7/16/2004, you wrote:
On every page of the basket the contents of the basket are shown in a
panel at the bottom of the page, and against each product is a 'delete'
hyperlink. When the user clicks on this link the product should be
removed and the page refreshed to show the modified inf
Ganesh:
Try something like this:
response.setHeader("Content-Disposition", "inline;filename=myfilename.xyz");
I believe if the extension ("xyz") is "unknown" then a "file save as" dialog will
always occur.
Also, and I mean this in the kindliest way, maybe you should be a bit more careful
when
Hi Alvin:
This question has appeared a few times, so you may benefit from searching the
archives. Short answer(s): either use tokens (like you suggested) or use a redirect
instead of a forward.
Regards,
Geeta
> -Original Message-
> From: Alvin Antony [mailto:[EMAIL PROTECTED]
> Sent:
I use a two pronged approach:
1) After a save do a redirecting forward. This means that refresh will not
resubmit the save process.
2) Use tokens so that if somehow the user manages to resubmit the save
process you can intercept this.
Paul
> -Original Message-
> From: Alvin Antony [mailto
Hi:
I think this is the sort of thing you may be looking for:
Context ctx = new InitialContext();
org.apache.commons.dbcp.BasicDataSource ds =
(org.apache.commons.dbcp.BasicDataSource)ctx.lookup("java:comp/env/jdbc/yourDB"));
Regards,
Geeta
> -Original Message-
hi friends,
how can i prevent the user from refreshing the page and repeating the save
process a second time?. Is the Transaction token is good for checking this?
thanks a lot,
Alvin
Alvin Antony
Software Engineer
Ludwi
Try here:
http://www.catb.org/~esr/faqs/smart-questions.html
ganesh gadi wrote:
Hi Friends,
i'm very happy to tell u my problems and get answers.
i need a solution how to disable "open" button on
"File Download" dialog box.i want control on it.
Pls don't say no solution.Bcox i saw that type of
dia
This is not a potential hazard because
typically in all shopping cart applications cart items are stored in HttpSession
and no other user can change the sesion of some user ( this security is
provided by Java Servlet API)
Regards,
Puneet Agarwal
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Hi Theres,
I am stucking on some issues and those are:-
___ Problem 1 __
>1. I am facing later mentioned problem of
>master-detail from on session time out.I am using
>DynaActionForms with array properties as form-bean
>property.
>
type="com.abamco.clientVerification.VerifyO
If you use this method, I would advise that you cross check the itemid to be removed,
with the user attempting to remove the item session identifier.
There is potential otherwise for a script kiddie to write a simple script that counts
from 0-n and submit's each iteration to the remove action, i
Dear,
First u need to set the hyperlink of the action(in
which u have implemented delete method logic) on the
primary key basis through which u will delete the
record and create an action forard in struts config
file(action of the class in which u have implementated
the logic to diaplay records in
Jon,
The way it is managed is, while you
paint the "delete" links in your HTML, you add a query string
like this
?itemid=xyz
and then in your action class method obtain the value of this variable
itemid ( obviously through form-bean)
and this is how single statement can
do the work
Hope this
Dear All,
Trawled through the archive with no luck, but then I couldn't work out
the best search terms for this question, so...
I'm writing a shopping basket app with the usual requirements, and using
tiles which has made things a lot less painful. However, I have this one
problem that I can'
This is more for the lists benefit than yours
I have found the (CPL licensed) eclipse profiling tool to be absolutely
excellent.
http://eclipsecolorer.sourceforge.net/index_profiler.html
Also as found using google.
http://directory.google.com/Top/Computers/Programming/Languages/Java/Developm
Or a system design? So that these last-minute issues aren't all urgent?
-Original Message-
From: McCormack, Chris [mailto:[EMAIL PROTECTED]
Sent: 16 July 2004 11:19
To: Struts Users Mailing List
Subject: RE: How to Disable "open" button on "File Download" dialogue box.
...please urgent
Maybe a change of career or invest some time reading up the technologies that appear
on your CV ? Just a thought
-Original Message-
From: ganesh gadi [mailto:[EMAIL PROTECTED]
Sent: 16 July 2004 09:52
To: [EMAIL PROTECTED]
Subject: How to Disable "open" button on "File Download" dial
Hi.
This is a very common problem, I think. And I?m quite sure Struts is not the
problem.
Probably, the best option is to use a profiler. We use JProbe and it was
very useful for us when our application had the same problems.
Regards
> -Mensaje original-
> De: Shailender Jain [mailto:[EM
Hello,
How about retrieving it from JNDI?
How about a plugIn (DAOFactory) that retrieves the DataSource via
JNDI and then initializes each DAO with the DataSource?
Regars
marco
-Original Message-
From: Koon Yue Lam [mailto:[EMAIL PROTECTED]
Sent: 16 July 2004 10:18
To: St
use the environment variable
JAVA_OPTS = -Xms 256m -Xmx 256m
ANT_OPTS = -Xms 256m -Xmx 256m
256 is the size of the memory
regards
Shiva
-Original Message-
From: Shailender Jain [mailto:[EMAIL PROTECTED]
Sent: Friday, July 16, 2004 2:12 PM
To: [EMAIL PROTECTED]
Subject: Memory
Hi, after some thinking, I have another problem, ^^
If I am using an Action (which extent the Struts' Action class), I can
get the Datasource by calling getDataSource()
But now I want to write my own data assess object which shouldn't
extent Action, I don't know what way I can get the datasource fr
Hi tehte,
go and see teh log files.there is a log folder under
tomcat root directory.I think that might help u to
find teh problem.
regards,
--- Shailender Jain <[EMAIL PROTECTED]>
wrote:
> Hai,
>
> I have developed my application using Struts 1.1 and
> Tomcat server.
>
> I am facing a frequen
Ganesh, why do you always ask your question 3 times? And your questions are
always urgent?
-Original Message-
From: ganesh gadi [mailto:[EMAIL PROTECTED]
Sent: 16 July 2004 09:52
To: [EMAIL PROTECTED]
Subject: How to Disable "open" button on "File Download" dialogue
boxplease urgent
Hi,
ganesh gadi wrote:
Hi Friends,
i'm very happy to tell u my problems and get answers.
I dont think you will get answers by sending the same email with three
different subjects within four minutes.
Manos
-
To unsubscribe, e-ma
Hi Friends,
i'm very happy to tell u my problems and get answers.
i need a solution how to disable "open" button on
"File Download" dialog box.i want control on it.
Pls don't say no solution.Bcox i saw that type of
dialogue box...Now i require that feature.
pls let me know the solution asap.
I
Hi Friends,
i'm very happy to tell u my problems and get answers.
i need a solution how to disable "open" button on
"File Download" dialog box.i want control on it.
Pls don't say no solution.Bcox i saw that type of
dialogue box...Now i require that feature.
pls let me know the solution asap.
I
Hai,
I have developed my application using Struts 1.1 and Tomcat server.
I am facing a frequent problem of "OutOfMemory" Error.
What i can do to resolve this?
Is there any way by which i can find out which part of the code is
giving this problem.
Regards,
Shailender Jain
you could use a java applet *g*
ganesh gadi wrote:
Hi Friends,
i'm very happy to tell u my problems and get answers.
i need a solution how to disable "open" button on
"File Download" dialog box.i want control on it.
Pls don't say no solution.Bcox i saw that type of
dialogue box...Now i require tha
Hi Friends,
i'm very happy to tell u my problems and get answers.
i need a solution how to disable "open" button on
"File Download" dialog box.i want control on it.
Pls don't say no solution.Bcox i saw that type of
dialogue box...Now i require that feature.
pls let me know the solution asap.
I
ok i'll try to explain.
below is the part of my definitions-config file where i declare the
controller class
my controller class is as follows
package com.sam.tilescontroller;
import java.util.*;
import java.lang.*;
import javax.servlet.ServletContext
Thanks to all for their answers,
I think I will look into doing this with java.util.Timer & TimerTask for now
and keep Spring and Quartz in mind to be looked at later. I now that it
usually takes quite a bit of time to get to terms with a new framework (for
me that is, of course) and I just can't
On Jul 16, 2004, at 7:21, [EMAIL PROTECTED] wrote:
I want to validate an attribute, the rule is that the input
should
not start with 'Test',
how to write the regular expression for this validation. Please help
me
guys.
If you validate by code you can negate that it does start that way:
79 matches
Mail list logo