Is there a way of providing the action input in a
dynamic fashion? In other words, if I had the same
action being submitted from multiple pages/forms, how
would I go back to the page/form I came from?
I create distinct mapping for each page/form on which the action can be
reached.
Each
Hi all,
I like to create a portal where I will display multiple Portlets.
If the portal page (a Action) is called, I like to call multiple Actions, one for
every Portlet, and then return the complete page to the client.
I think it should work this way:
RequestDispatcher dispatcher =
Hi,
Answering my own question :-\
bean:define id=enddate name=reportForm property='%=
endDateIndexed[ + 0 + ] %'/
html:text property=endDate styleClass=dropdown maxlength=10
size=12 value=%=enddate.toString()%
This seems to work.
Mohan
-Original
You should be able to validate with StrutsTestCase since it uses cactus.
You have access to the request through cactus, the ActionErrors is stored
at Globals.ERROR_KEY or returned from your validate. So, you can manually
instantiate ActionErrors. You can manually instantiate a mapping, although
Actually, I can. I just wonder why it is needed in th XML file rather than
specify it in the DTD and forget about it. Quite cleaner I think.
However, I have been investigating further and as far as I understood there
is no way specifying a CDATA section for an XML element (i.e. unparsed
Hi,
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topicf=18t=
001085
Would anybody know something about this. What is actually written in
session.ser across tomcat shutdown and restart ?
I have been searching on the internet about this. How to prevent this ? Why
is this
I've been able to display a collection of beans using the html:select
tag in conjunction with with the html:optionsCollection tag but I am
stuck with a problem. I get complains from struts that it has a type
mismatch when it tries to set my attribute for the html:select field.
I have public
Greetings
May be this is not a right place to post this message, but I couldn't
get proper documentation for it.
I need to configure iplanet web server 4.1 to run with tomcat 4.1.18
both on Solaris 8.
Can anyone tell me where I can get the document for configuring iplanet.
If you have done
Hi,
When I created my portal I used sized iframe.
It is maybe not the better way because of the multiple http
requests on first connection (1 for the frameset and 1 for
each portlet), but the portlets are able to live their
life in the way they want and do not interfere with the
others.
It is
The only way I found was to do the following:
Turn on validate.
Don't return the errors generated, put them in the request under the
Globals.ERRORS_KEY. This way, the ActionServlet will not return immediately
to prior page but the ErrorsTag will still know where to find the errors.
Save the
Hi
i have a hashtable in which i has been used the arraylist as the value and string as a
key.
Hashtable artists=new Hashtable();
ArrayList titles=new ArrayList();
String cast=Pahwa;
titles.add(new A(shashi,bhushan));
titles.add(new A(vijay,kumar));
artists.put(cast,titles);
cast=Dua;
I do test in my RequestProcessor class and if an error occurs I add
an error
and do:
return new ActionForward(_mapping.getInput());
this implies to define an input for each ActionMapping, isn't it ?
action path=/login name=loginForm
Hey Pen,
if you could post the JSP code, maybe I could give you a hint.
Regards,
Bernhard
-Ursprüngliche Nachricht-
Von: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 27. Februar 2003 10:21
An: Struts Users Mailing List
Betreff: Question about html:select (again)
Hey Bernhard thanks.
Here it goes.
Hirschmann, Bernhard wrote:
Hey Pen,
if you could post the JSP code, maybe I could give you a hint.
Regards,
Bernhard
-Ursprüngliche Nachricht-
Von: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 27. Februar 2003 10:21
An: Struts Users
Pen:
I guess you havnt defined the type for the collecting object properly as
per the bean object in collection.
try using, LabelValueBean to setup ur collection.
the bean is the value what option will put in selection property.
u need to have same type for bean and the collecting property.
Thanks James,Chetan, Brian.
These are extermely useful.
Thanks again
Cheers
Puneet
- Original Message -
From: Brian Holzer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 3:53 PM
Subject: Re: Best way to understand Struts
Sorry about that, I meant to add
Hi Emmanuel,
you are right, IFrames are great but they will only work with IE (that is still true,
or?). I like my application to work under mozilla, Konquerer, Opera, ...
Regards,
alex
__
E-Mails verschicken und auf
Is anyone familiar with the consequenses if an ActionForm is not
serializable?
Is anyone familiar with how to determine which element of an ActionForm is
causing the lack of serialization?
Here is the stack of the serialization error in tomcat and other than my
ActionForm ChangePassword you
Still doesn't work. If I remove the beanutils from the /server/lib, Tomcat
doesn't start, xhich is normal.
Any idea because I'm really stuck
Thanks
Sebastien
-Message d'origine-
De : Geeta Ramani [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 26 février 2003 20:57
À : Struts Users Mailing
Edgar:
in your form do u have any customize java object which acts as a
attribute ?
if it is so, make sure the object class is extending serializable classes.
one more question, r u having your operation in transaction ?
- Original Message -
From: Edgar Dollin [EMAIL PROTECTED]
I have a Struts form which can contain zero to many instances of a set of
fields (depending upon the number of rows in database table).
For example:
row1field1 row1field2 row1field3
row2field2 row2field2 row2field3
. . .
rowNfield2 rowNfield2 rowNfield3
So when
whatz ur purpose tell me
u dont want beanutil in ur web-inf\lib right
u want to be in one place
put it in ur tomcat\lib
make sure your system classpath has this classpath included along with jar
filename and extention
restart tomcat
if ur system needs rebooting do that
and work happily why worry
i have a bean which is of type Arraylist which i return from my action.
i want to be able to display this in my formbean. but i also want to default to the
selected value in case the user has
a error in entry.
html:select ..
how can i do this?
anyone?
thanks.
Paul:
I guess u might landup in some performance problems down the line,
trying to related your formbean variables with database rows, will finally
cause u problem when the database is growing after some time.
My suggestion will be to figure out a way to implement same thing with
more
hi,
yes I forgot this detail (I'm working only for IE for one
year ( :(( ) and so I forgot such of detail sometime).
But you may do on a first page test on browser type, and
redirect to ie portal with iframe or do include like your
solution if iframe are not available. Or you have the
solution
I found it, I was keeping a copy of HttpServletRequest which is
quite understandably not serializable.
Edgar
Subject: Re: ActionForm serialization
From: Chetan Sahasrabudhe chetans () wisorindia ! soft ! net
Date: 2003-02-27 10:58:21
[Download message RAW]
Edgar:
in your form do u
Hi,
I am trying to use logic tags to find if the value is
present in my formbean attribute,
depending on if value is present or not i have to take some action
please check attached code for details.
logic:empty name="wigadminwizardform"
property="sTransactionType"
html:text
hi struts-users,
I have a serious problem and need urgent help. How is it possible that two different
users get the same session information from a multiple servlet web application?
thank in advanced.
Tumi Mathibedi
-
To
I am searching how define my DynaActionForm in the Struts-config
file
to display a table with multiple rows an columns
I know that all properties of a form-bean are String type but how
indicate
that it will be a table ? in the JSP page I will use display:*
Hi
We are currently using Struts 1.02 at our site with satisfaction. However we
are having some problems with the html:link tag. Some clients, for example
some web crawlers, are not able to accept the form the parameters are
written in:
Example:
page.do?a=1amp;b=2
When some clients see this,
Morten Raahede Knudsen wrote:
page.do?a=1amp;b=2
When some clients see this, they request that exact string. And
request.getParameter() fails in th Action instance.
Is there any reason why page?a=1b=2 isn't used instead.
The bean is already in scope. The name is the name of the bean supplied in
Your ActionMap, i.e.
action path=/viewschedule
type=net.bmllc.actions.DataEntry
name=ViewSchedule
validate=true
Could you post the JSP code snippet for the link you're creating?
As far as I know, no filter is used for creating the link. But as you
described, it seems that the is transformed in HTML encoding. You may try
the attribute filter=false in the html:link tag.
Bernhard
-Ursprüngliche
If I understand you correctly, it's not possible (or at least a 1 in a
million shot).
What container are you using?
What proof do you have that the sessions are the same (how are you
determining this)?
--
James Mitchell
Web Developer/Struts Evangelist
http://www.apache.org/struts/
Hi,
I am trying to set a particular property on a form. But I don't want it to show
on the browser.
The following is an initial
attempt.
html:hidden name="reportForm" property="x" value="4"/
Is this the right approach ?
Mohan
That works. There are a few ways to do it. It's up to you.
I can think of 4 off the top of my head
1. html:hidden name=reportForm property=x value=4/
2. html:text name=reportForm property=x value=4 disabled=true/
3. Use a cookie
4. Set it in the session (might require use of token)
--
My purpose is to have an upload working in my application.
Here my initial message :
I'm trying to get the html:file tag working, but I'm stuck. When I submit
my form, I have a NoClassDefFoundError exception for
org/apache/commons/beanutils/MethodUtils. The commons-beanutils.jar file is
in my
I know the definition of a HttpSession but I don't understand well
how
this object is managed ?
Who is responsible for the creation of the HttpSession ?
If two clients use the same machine did they share the same
HttpSession ?
If two web browsers are opened
Hi,
Unfortunately, there is no 'filter' in the html:link tag.
My code looks like this:
html:link forward=sell styleClass=LargeBoxHeadersell/html:link
Kind regards,
Morten Raahede Knudsen
Hirschmann, Bernhard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Could you post the JSP
HI
I am working on the concept in which i stored string as key and arraylist as value in
the hashtable.The arraylist stores a class name A which have two parameter name and
value
I tried too much but not succeed to print the value in key,value in wirte manner.
Pls help me
I like to add dynamically key-value pair properties in my Struts
application. I have tried code below, but with no success...
Are there any (or other way) to make this kind of code to work.
Br
..
public ActionForward execute(ActionMapping mapping, ActionForm form,
I looked through the archive before posting this, but there was just so much
stuff in there about forms and select that my eyes glazed over and I gave
up.
What I want to do is have a series of items from a database appear on a
page, in a table, each one to a row. At the end of the row, in one
Is anyone able to use the Struts-EL subproject with the Struts 1.1 RC1
release? I'm encountering the following error using the struts-el.jar
from the contrib folder in the RC1 release:
/jsp/login/loginTile.jsp(12): Error in using tag library
uri='/WEB-INF/struts-html-el.tld' prefix='html-el':
I'd suggest starting with the struts examples. The struts-example.war
provided with struts has a nice example of using logic:iterate in
registration.jsp
If you have a specific question of why something isn't working, post
your code so we can get a better idea of what you are trying to do.
--
I'm using tomcat 4.0.4. When I look at the log files I can see two users with the same
session-id. I suspect it has something to do with the proxy caching. I don't how to
make or tell tomcat server that my pages are dynamic and they must not be cached.
any ideas?
-Original Message-
Hi
I have a Struts action defined:
actionpath=/getHotels
type=com.rubus.geo.xxx.view.SearchHotelAction
name=hotelSearchForm
scope=request
input=/searchHotels.jsp
forward name=showResults
shashi_struts wrote:
HI
I am working on the concept in which i stored string as key and arraylist as value in
the hashtable.The arraylist stores a class name A which have two parameter name and
value
I tried too much but not succeed to print the value in key,value in wirte manner.
I had a look at the source code around this issue. Here is a summary:
The 'Cannot load JDBC driver class 'null'' message is coming from the
createDataSource method in DBCP. The method throws an exception for
driverClass = Class.forName(driverClassName). So, from this I think I
can assume the
...but there is no ampersand in the link. What I wanted was to see the the
part where the ampersand is used.
Tib posted a link to the HTML 4.0 specification, where this issue is
discussed. So it seems that the form page.do?a=1amp;b=2 is valid, when
I've understand right. So the problem is not
Lee Ball wrote:
String x = request.getParameter(xCoord);
String y = request.getParameter(yCoord);
//Both must be present.
if (x != null x.length() 0 y != null y.length() 0) {
setXCoord(Integer.parseInt(x));
When using Tiles with multiple modules (with
moduleAware=true), consider the following JSP
fragment:
tiles:insert page=/myTemplate.jsp
tile:put name=main value=/myMain.jsp/
tile:put name=menu value=../myMain.jsp/
/tiles:insert
1. Are both /myTemplate.jsp and /myMain.jsp always
Does anyone know if Struts-EL will be included in Struts 1.1 vs. being a
subproject as it currently is. I've always heard it would be part of the
Struts 1.1 project. But that doesn't seem to be the case since it's still a
subproject in the 1.1 release candidate. I would think you'd want to get
Tib wrote
Hth,
It did - thanks!
Lee
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Nope, I removed the tag, no change in behaviour, letz see what might be the
prob.
Thanks
- Original Message -
From: Edgar Dollin [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 6:30 PM
Subject: [Q]Logic tags
The bean is already in
Ian,
An alternative approach that I used was to use a link rather than a
form:
logic:iterate id=project
name=user
scope=session
property=projects
li
a href='recursor-action.action?pid=newid=bean:write
name=project
I am implementing a page by extending the DispatchAction class. I have a value that i
pass on the request to the second method, which does some logic then forwards to the
next jsp, but I can't retain the value on the request for the new jsp. I set it in
the method using setAttribute, but when
Ian:
Since you already have the info about the id in your hidden varaible id, why
do you also have to hav eit coded within the name of the form? Iow, why can't
you keep it simple, as in:
html:form name=editBulletinForm action=editbulletin type=BulletinForm
html:hidden property=id
Couple of things to note:
* The attribute value for a tag must either be *entirely* a
literal or *entirely* a JSP expression. In other words you can't
have foo=bar%=baz.getXYZ()%
* The name attribute of an html:form is deprecated in Struts 1.1
I would recommend simply using your hidden
Are you confusing attributes and parameters?
--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.
-Original Message-
From: Jason Vinson [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 8:12 AM
To: Struts Users Mailing List
Subject: Retaining values through
John == John Hohlen Hohlen writes:
John Is anyone able to use the Struts-EL subproject with the Struts 1.1 RC1
John release? I'm encountering the following error using the struts-el.jar
John from the contrib folder in the RC1 release:
John /jsp/login/loginTile.jsp(12): Error in
I was under the impression that setting an attribute in a request would make it a
parameter in a new page. Am I wrong?
---Original Message---
From: Jarnot Voytek Contr AU HQ/SC [EMAIL PROTECTED]
Sent: 02/27/03 09:17 AM
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE:
I was having formatting problems with the form tag (that I was able to get
around with CSS style=margin-bottom: 0px;), and I was under the impression
that having multiple forms on one page with the same name would make it
ambiguous as to which form was being submitted, but it seems to be working.
Another option is to provide a radio button for each row and then only one Edit and
one Delete button is required.
Sri
-Original Message-
From: Ian Hunter [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 9:40 AM
To: Struts Users Mailing List
Subject: Re: html:form WITHIN a
Struts-EL will remain in the contrib directory for 1.1.
David
From: Hohlen, John [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts-User (E-mail) [EMAIL PROTECTED]
Subject: Will Struts-EL be included Struts 1.1?
Date: Thu, 27 Feb 2003 08:07:44 -0600
Does anyone
Looks like David Karr committed a fix for this last night or this morning.
David
From: Hohlen, John [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts-User (E-mail) [EMAIL PROTECTED]
CC: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: Struts-el NOT working with
Hi all,
I have the following problem:
I have many forms that have 2 or 3 input type=image to summit the form.
i.e.: Ok, Cancel, Previous, Next, ...
When the user press the enter key in one of the text fields the form is
sumited.
Ok it's normal but sometimes there is in the query string,
the
I have one select like this...
--My Action mapping
action path=/assign/view parameter=VIEW_PAGE
type=ca.awcl.assignments.AssignmentAction scope=request
name=AssignForm validate=false
exception key=error.required type=ca.awcl.AppException
path=assign.error.page /
forward
Hashtable artists=new Hashtable();
ArrayList titles=new ArrayList();
String cast=Pahwa;
titles.add(new A(shashi,bhushan));
titles.add(new A(vijay,kumar));
artists.put(cast,titles);
cast=Dua;
titles=new ArrayList();
titles.add(new A(sunil,kumar));
artists.put(cast,titles);
Hello all, and thanks in advance for the help! :)
From my Struts Action, I am trying to forward to a new URL that uses
basic authentication. I have already Authenticated the user, and would
like to pass the user credentials to the webserver so that the
Authentication form will not 'pop up' . I
hi Gamor
Thanks for reply.
This code not solve my problem
i am sending my code .plz help me
Hashtable artists=new Hashtable();
ArrayList titles=new ArrayList();
String cast=Pahwa;
titles.add(new A(shashi,bhushan));
titles.add(new A(vijay,kumar));
artists.put(cast,titles);
cast=Dua;
titles=new
Attributes and parameters are distinct.
Parameters are appended to the end of a request. They can only be
strings.
Attributes are stored in a ServletContext. Attributes can be any kind
of object.
If you use setParameter to store, you must use getParameter to retrieve.
If you use setAttribute to
Unfortunately it doesn't. That was the point of the link I posted earlier.
If you read the whole thread you'll see that java.util.Collection is not
supported.
http://shorl.com/dapofrypragragu
Try a HashSet for example.
jsp:useBean class=java.util.LinkedList id=list/
List size %=
I am not seeing a setParameter(string, object) method in HttpServletRequest, which is
why thought setting it as an Attribute was the way to go... maybe it's too early, or
I am just having an elder moment... where's setParameter?
---Original Message---
From: Becky Norum [EMAIL
You could use form-based authentication and remember me functionality:
http://tinyurl.com/6du0
To see real code:
LoginServlet.java (http://tinyurl.com/6jn4)
BreadCrumbFilter.java (http://tinyurl.com/6jn8)
HTH,
Matt
-Original Message-
From: Julie Steiner [mailto:[EMAIL PROTECTED]
setParameter does not exist...
parameters are retrieved from your form.
if you generate links you can add parameters by
writing a url like myURL?par1=value1par2=val2
--- Jason Vinson [EMAIL PROTECTED] wrote:
I am not seeing a setParameter(string, object)
method in HttpServletRequest, which
When I'm trying to submit the following form,
something funny happens.
The subprocess.name property is set, but the indexed
properties are not set. The indexed properties
(subproces.subprocesList.starttime and s.s.endtime)
are set to their initial values; the request
parameters are not copied
hrmm is there way to append parameters on an action mapping from
struts-config.xml?
---Original Message---
From: Ruud Steeghs [EMAIL PROTECTED]
Sent: 02/27/03 10:27 AM
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Retaining values through multiple actions
yep, but only hard coded or from your
applicationresources:
e.g.:
path=/mypage.jsp?par=hardcodedvalueamp;pagetitle=title.sometitle
mypage.jsp retrieves the value for title.sometitle
from the application resources and displays that
value.
(note that your path has to be url-encoded)
--- Jason
Somebody knows why when i use html:frame page=page.do name =
params /
with params = { key - key, keyWord - Activit financire }, i
obtain this url :
http://server/page.do?key=keykeyWord=Activit%C3%83%C2%A9+financi%C3%83%C2%A8re
I have the same problem with tags html:rewrite and html:link.
It
Here ya go (except I used LabelValueBean, its virtually the same as your
'A'):
[EMAIL PROTECTED] contentType=text/html;charset=UTF-8 language=java %
[EMAIL PROTECTED] import=org.apache.struts.util.LabelValueBean%
[EMAIL PROTECTED] import=org.apache.struts.taglib.html.Constants%
[EMAIL
Why didn't you use Form authentication?
You have much more flexibility.
-Original Message-
From: Julie Steiner [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 5:16 PM
Subject: Automatic Basic Authentication Question
Hello all, and thanks in advance for the help! :)
From my
You'd probably have better luck on the tomcat-users list. This (from
all appearances) seems to be a Tomcat issue and not Struts.
Have you tried that list?
--
James Mitchell
Web Developer/Struts Evangelist
http://www.apache.org/struts/
-Original Message-
From: Tumi Mathibedi
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
Would attributes not work for you in this case?
--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.
-Original Message-
From: Jason Vinson [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 9:29 AM
To: Struts Users Mailing List
Subject: Re: Re: Retaining values
Aren't attributes in the Application Scope? I suppose i could immediately remove them
in the next page... Any glaring issues with this logic?
---Original Message---
From: Jarnot Voytek Contr AU HQ/SC [EMAIL PROTECTED]
Sent: 02/27/03 10:54 AM
To: 'Struts Users Mailing List' [EMAIL
Aren't attributes in the Application Scope? I suppose i could immediately remove them
in the next page... Any glaring issues with this logic?
---Original Message---
From: Jarnot Voytek Contr AU HQ/SC [EMAIL PROTECTED]
Sent: 02/27/03 10:54 AM
To: 'Struts Users Mailing List' [EMAIL
Aren't attributes in the Application Scope? I suppose i could immediately remove them
in the next page... Any glaring issues with this logic?
---Original Message---
From: Jarnot Voytek Contr AU HQ/SC [EMAIL PROTECTED]
Sent: 02/27/03 10:54 AM
To: 'Struts Users Mailing List' [EMAIL
Matt,
Thanks for the info. I really appreciate it.
However, (unfortunately) I can't implement this solution for 2
reasons:
1. It is forbidden for us to set any cookies on the users machines.
2. The URL that the user is being forwarded to is out of my control.
(The server was a server set up by
How can I turn of the Validation Info from going to the log file?
example: disable this from going to the log file
Form: DocumentCategoryForm
Field:
key= documentCategoryCd
property=documentCategoryCd
indexedProperty=
I am doing form-based authentication, however the server that I want to
connect to is already set up to do basic authentication and is out of my
control.
:)
Julie
[EMAIL PROTECTED] 02/27/03 10:48AM
Why didn't you use Form authentication?
You have much more flexibility.
-Original
No, attributes can be in request or session or application scope... these
scopes are distinct and different.
--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.
-Original Message-
From: Jason Vinson [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 10:03 AM
To:
I think I see what you're trying to do: It looks like you want to keep track of what
menu item is highlighted.I don't think this information should be pushed down to
the action layer. I would use a Tile to render the menu, and perhaps a Tiles
controller to determine which item is
after scratching my head, I finally realised that there is a way to force the proxy
not to cache pages and the way to solve my problem is to have: %
reponse.setHeader(cache-control, no-cache) % in my jsp's.
Thanx a million for your inputs.
-Original Message-
From: James Mitchell
Yes I do...
-Message d'origine-
De : Stephen Smithstone [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 27 février 2003 16:58
À : Struts Users Mailing List
Objet : Re: Upload and BeanUtils problem
do u have the line
html:form action=/SubmitNewDoc.do method=POST
enctype=multipart/form-data
in
I think you can still solve your problem with form-based authentication:
1. rather than storing cookies, you already have the user's
username/password (right?) - just use that in BreadCrumbFilter.
2. j_security_check is just a URL that tells that appserver to perform
authentication. It will
There's an easier way to do this. Take a look at struts-config_1_1.dtd
(specifically, the contoller element nocache setting)
--
James Mitchell
Web Developer/Struts Evangelist
http://www.apache.org/struts/
-Original Message-
From: Tumi Mathibedi [mailto:[EMAIL PROTECTED]
Sent:
I have a detail jsp that is reached from a hyperlink on two other jsps. I want to be
able to have two buttons: one to return to page A and another for page B? There is a
parameter passed for each page and that is giving me the issue. It is not simply a
forward but a forward to a page that
Hello,
I need to put the byte array as the response of a '/action.do' request in
the value of the parameter of my applet. Here is what I wrote in jsp:
param name=trace value='html:link page=/xxx.do?action=getTrace /'
but the corresponding xxxHTMLaction class is not executed. How can I
trigger
Jason,
I apologize for being unclear earlier. You can setParameter using a
HttpResponse, but that's not what you want to do in this case. Let me
give you an example of request scope and forms using some of my work.
This should clear things up:
INPUT FORM:
create_folder.jsp
has hidden
You probably don't want to do this... There is a nocache configuration element
available for the ActionServlet. But as a more general rule if you have to play with
HTTP headers for every request/response you deal with then you should put that logic
either in a filter or a servlet. Since you are
1 - 100 of 244 matches
Mail list logo