Thank but I was asking for a way to say it under WAS Gui (admin console).
Because I am not sure to understand : WAS can't read the web.xml file, can
it ? Instead I must register the servlet into the admin console. I have done
with it. But now, how can I specify the automatic redirection ?
Am I
Hi David
You got the problem right well i have tried using only the last
line of your code
response.addDateHeader(Expires, 1);
in my code it does not work maybe this will solve the problem.
Hi Dinesh,
Not sure if this is what you mean, but here goes:
If you set the following
html:button property=btnInform onclick=return informInventoryLack('%=
orderItemData.getId() %\')bean:message
key=button.order//html:button
Maybe could you try this (without the / at the end of the scriplet) :
html:button property=btnInform onclick=return
Hello Everybody
I am using a div tag in my html page and trying to hide
and show a text field at run time this works fine while using IE but
when i am using Netscape 4.x.it gives me problem accessing
document.forms[0].divName i have found that in netscape div is not a
part of
Debug through it and look what kind of rows are really selected from the db
the first time.
I have seen this behaviour many times but it was always a caching problem at
the browser site. Because the selected data was right the first time.
johan
-Original Message-
From: Gogineni,
Hi
I'm a newbie to Struts so I'm sorry if this is a basic error but I can't
figure out what I'm doing wrong.
I want to pass an attribute to a tag library I wrote as follows:
app:linkCreateProcess page=/createprocess.do? templateid=1006
This is the snippet from my app.tld:
tag
Hi,
I need help on this:
Problem is, I can see national characters on jsp pages correctly, but when I
post data to an Action, the string gets messed up. I couldn't find related
info in the archive.
Related lines on my jsp page:
%@ page contentType=text/html; charset=ISO-8859-9 %
html:html
I have a problem with the form-tag action-attribute
when I use newer builds
of struts. Is it a bug or a feature? maybe a buggy
feature...
Before, the action-attribute was not touched i.e. what
one wrote in the
.jsp-file was the same that came out after the taglibs
rendering.
Now the taglib tries
Hi Dan,
Struts 'actions' do a forward at the end. This forbid to insert an action in a
template, because you can't do a forward once you have start to write the
request response.
A solution to your problem is, using Components implementation, to replace tag
template:get name='body' / with
h, that's very strange.
i'm using the following:
template:insert template='/shared/chapterTemplate.jsp'
template:put name='header' content='/shared/header.jsp' /
template:put name='features'
content='/eForum/forumListLoad.do?forward=topForums' /
/template:insert
and i don't have
Amar,
I was looking for a similar solution too. I was
wondering how do i disable a radio button/ check box
when the page to be displayed is just read only..
I can use the normal form elements to get the job done
but is it possible using Struts???
Shane..
We're having a problem using custom JSP tags with Struts that we're hoping
someone can help with.
We have two JSP pages: one that uses a Struts taglib and another that uses
both Struts taglibs and a home-grown taglib.
When we enter erroneous data into the page that only uses the Struts taglib,
thank you - will give that a go.
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Comparing two dynamic values
Date: Tue, 15 May 2001 12:12:57 -0400
Tony,
You could make the href point to an action path, and that way you will go
through the action
Hi Shane ,
you can doa small hack . Have a Radio Button / Checkbox image. In your
iterate tag use the logic:equal tag to find out if it is read only. If read
only flag is true, show the image else show the Radio Button. Hope this
helps.
cheers,
Amar..
-Original Message-
From:
in netscape it is document.layers that contains all the div tags. And it it
also helpful to realize that in netscape every layer itself is a DOM. You
can probably find details in a not-out-of-date Javascript book.
Good luck!
-Original Message-
From: Dinesh Chaturvedi [mailto:[EMAIL
This question has already been debated in struts-dev in Nov; 2000.
Unfortunately, online archive is not available for this thread.
I join a copy of Craig McClanahan response.
Cedric
Craig R. McClanahan wrote:
Cedric Dumoulin wrote:
I would like to know why Struts uses base
Hi,
In the site I'm developing, there are sections that have forms on consecutive
pages, I want to guarantee that pages are navigated: page1 - page2 - pageN.
At the same time allowing back and forward navigation to change values entered
on previous pages. After the last submit, the only
I have the exact same problem as one of the user that described it
previously in the user list:
org.apache.jasper.JasperException: Unable to open taglibrary
/WEB-INF/struts-bean.tld : Parse Error in the tag library descriptor:
Character conversion error: Unconvertible
We are a team of software engineers working on the implementation of a
collaborative tool as a web-based application.
How Struts would be better as an implementation framework as opposed to
Turbine to implement such features for our future product:
extensibility like adding add-on
Turgay,
If you use Tomcat 4.0 (servlet spec 2.3), you can just wirte:
request.setCharacterEncoding(ISO-8895-9);
System.out.println(request.getParameter(filename));
If you use Tomcat 3.2 (Servlet spec 2.2),
String data = request.getParameter(filename);
byte[] raw = data.getBytes(ISO-8859-1);
Hi All,
I am using a Radio Button in an Iterate Tag. I would like to give a
unique id value to each and every radio button. The name of the button will
be the same but the value will be different. So if a user clicks ona
particular radio button, i will know which value is he looking for ? Is
Write a flow controller which does this. Look at the pet-store example app
for inspiration.
cheers,
Amar..
-Original Message-
From: Nathan Coast [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 10:09 AM
To: struts-user
Subject: page flow control
Hi,
In the site I'm
Do search for Wizard in mail-archive.com under struts-user. You'll find a
few examples.
- jeff
- Original Message -
From: Nathan Coast [EMAIL PROTECTED]
To: struts-user [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 10:09 AM
Subject: page flow control
Hi,
In the site I'm
Hi,
I am a new Struts user and am not sure as to how to populate a struts HTML
text field's value property with the property of a bean without
manipulating it in ActionForm.
For example i need to initialize the value with a bean's property.
html:text property=emp_id size=10 value= maxlength=10/
Hi,
I have a wizard-style app that I've configured in my
struts-config.xml as below. Not sure I like it yet,
but I have my Action class send the user to the next
JSP page each time the user hits the 'Next' button
(design swiped from msg in this group). When they're
finished, I wish to send
Some one has ever post a set a class than enable a sort of flow control.
You can find it on the malling list archive, the subject is Re: Struts
questions for evaluation - Struts framework enhancement. He uses the
previous action path, as a identifier...
I personnaly think that previous action is
Lets work out a diagram that explains the flow,
Tokens should be able to do this..
if there is both a SaveXXXAction and EditXXXAction for all JSP accessed,
Action JSP Page
EditPage1Set Token
Hi,
I know WebLogic and JRun support integration with an NT Realm. I haven't
used tomcat so I can't help you there much. I also tried looking on the
Internet but could find anything specific. You might have better luck
talking to a MS developer.
--Abraham
Hello,
I want to iterate a collection only few rows per page.
I have an offset parameter in my request that give the offset.
!-- Definition of the offset parameter --
bean:parameter id=offset name=offset value=0/
!-- Iteration --
logic:iterate id=faq length=2 name=faqList offset=% new
Amar
I had a situation where I was using a 'for' loop instead of the
iterate tag. So to assign a unique value, this what I did.
html:radio property=radiobutton value=%= String.valueOf(i) %
/
where 'i' is the loop counter.
Hope this helps.
Jawwad
-Original Message-
From:
Try changing step 5 to the following;
forward name=step5 path=http://cnn.com/; redirect=true/
The javadoc for the ActionForward class says the path should be the
Context-relative URI to which control should be forwarded, or an absolute
or relative URI to which control should be redirected.
HOW THE HELL DO I UNSUBSCRIBE FROM THIS LIST
-Original Message-
From: Mark Simms [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 6:50 PM
To: [EMAIL PROTECTED]
Subject: Re: struts-template and MVC
Sounds greatgo for it Dan,
but try to get more info on the
I am using instances of my ActionForm for showing a list prior to showing
the detail. I do this because I don't want to duplicate the data
structures.
To better explain, I have an ActionForm called ProfileForm. I have a jsp
that uses ProfileForm to display and edit in the struts fashion.
To
Never mind. figured it out myself and it works just fine
cheers,
Amar..
-Original Message-
From: Nanduri, Amarnath [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 2:30 PM
To: '[EMAIL PROTECTED]'
Subject: pager tag , iterate tag and displaying data as rows in a table
Hi
I'd like my getters and setters on the form use
Vectors instead of string arrays. Can this be accomplished? When I
tried I got the following exception:
Error: 500
Location: /csr/admin/seq_participant.doInternal Servlet
Error:javax.servlet.ServletException: BeanUtils.populate
at
Amar,
The idea's good. But the radio button values have to
be set.
Like the dbase would hold the values for the radio
button or the check box and i have display the
disabled radio or checkbox depending on what value is
coming from the dbase.
html:checkbox property=checkmate disabled=true /
We
Hi Mani,
Try this. It works for meIt is a hack i need to implement in my
ActionForm also.
logic:iterate id=groupsList name=statesBean property=states
html:radio name=statesBean property=selectedIndex value=%=
statesBean.getIndexedValue() % /
/logic:iterate
public class
Hi,
I believe that what you are asking for cannot be done by the server.
This is because the server cannot push anything without the browser
requesting it.
It is the browser's decisions to output the data (html page, ...) in a
particular frame (the server has no control over this).
You usually
I'm hoping this issue is me just not understanding the
JavaBeans spec!
When I make the getter method of my ActionForm
property
a non-String type, the 'set' method for that property
is not called when a request is made. I traced this
to
BeanUtils.java which gets a 'null' returned by
i searched the web without much luck. i was wondering if anyone here
has had experience using any kind of a programmatic SQL builder
library/class. i would like to dynamically generate some of the
multitude of SQL strings that i currently simply write in as strings
in my code to pass on to JDBC
so how did you do it?
-Original Message-
From: Nanduri, Amarnath [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 3:58 PM
To: '[EMAIL PROTECTED]'
Subject: RE: pager tag , iterate tag and displaying data as rows in a
table
Never mind. figured it out myself and it works just
Shane,
It works for me. The value in the Radio Button is dynamic. I am at
present setting an index for each Radio Button. When the user submits
information back, i know what index it is based on the value selected in the
Radio Button. I then lookup in the ArrayList on this index and get
Also see an other posting i made in struts mailing list.. Iterate and Radio
tags and follow the thread. It is self explanatory.
cheers,
Amar..
-Original Message-
From: Shane Warne [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 4:08 PM
To: [EMAIL PROTECTED]
Subject: RE: Radio
As far as I know, the value passed into the setter method must match the
value returned by the getter method. It will not work otherwise.
Could you return 'true' or 'false' as a String? If you are setting a value
of a field, it should work.
- eric
- Original Message -
From: Peter
Look at my other posting Iterate and Radio tags. You should find it in the
mailing list .
cheers,
Amar..
-Original Message-
From: Sheikh, Jawwad [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 5:27 PM
To: '[EMAIL PROTECTED]'
Subject: RE: pager tag , iterate tag and displaying
You might want to look at Radio Button question discussion thread also..
-Original Message-
From: Sheikh, Jawwad [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 5:27 PM
To: '[EMAIL PROTECTED]'
Subject: RE: pager tag , iterate tag and displaying data as rows in a
tabl e
so how
The bean:cookie tag defines a bean of type javax.servlet.http.Cookie (or
an array of them if the 'multiple' attribute is specified). You'll need to
access the 'value' property, as you are doing in the scriptlet code. Also,
you need to use different quote characters to avoid conflicts.
Try this:
Search the archives for implementing Wizard style interfaces. There have
been several posts on how to accomplish it.
- Original Message -
From: Nathan Coast [EMAIL PROTECTED]
To: struts-user [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 10:09 AM
Subject: page flow control
Hi,
In
Title: »¶ÓµÇ½
»¶ÓµÇ½¡°ºÃÉÌÎñ¡±ÆóÒµÍøÕ¾(www.good35.com)
×ð¾´µÄÅóÓÑ£º
ÄúºÃ£¡
Title: »¶ÓµÇ½
»¶ÓµÇ½¡°ºÃÉÌÎñ¡±ÆóÒµÍøÕ¾(www.good35.com)
×ð¾´µÄÅóÓÑ£º
ÄúºÃ£¡
Hi!
Yes, that really helps, thank you.
I also found the same thing at a message in java-apache-users archive at
http://www.geocrawler.com/archives/3/440/2000/2/0/3373820
The interesting thing is, this doesn't happen if the Struts html:form tag
is used - then I get the correct characters. I am
51 matches
Mail list logo