Hi,
My struts application is installed on a WebSphere Application Server.
AppServer and OS is installed in english language version.
In the struts application I'm setting the locale to german, for formatting
date and time values and saving to database - it works fine so far.
After rebooting th
I have removed struts-el.jar, replaced jstl.jar and standard.jar with those
from jakarta-taglibs-standard-1.1.2 and replaced the tag with
the one.
That does not make a difference, does not find the bean either.
Best regards
Vincent
-Original Message-
From: Karr, David [mailto:[EMAI
Hi All,
This might be a very silly question but what do we mean by an el
version??
Can any one be little elaborate please.
Regards
Ayusman
CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of t
Go through the Wrox publication Book - "Professional Jakarta Struts"
From: M. Imran [mailto:[EMAIL PROTECTED]
Sent: Thu 9/8/2005 4:58 AM
To: Struts Users Mailing List
Subject: Re: Eclipse 3.1 and struts 1.2.7
I was wondering if I can use Struts with Eclipse (3.
Hi;
No this isn't a struts problem - but this is driving me up the wall and
there are a lot of smart people here.
This is all on my system - Windows XP / IIS 5.1. So I am hitting localhost
from IE to tomcat.
When I add a cookie to the HttpServletResponse, if I leave the cookie domain
un
You might try using the JSTL tags. Something like this:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
Gary
-- Original message --
> Hi Michael
>
> In my case, I'm working with WAP applications that require the jsessionid to
> be in the URL.
At 4:20 PM -0700 9/8/05, Michael Jouravlev wrote:
I still have couple of questions before checking out the 1.3 source code.
I'm going to take them out of order, as some are simpler than others.
(1) The first one is where to check 1.3 out from?
You figured this one out: http://struts.apache
Good! As much as I truly hate being wrong about anything, this is one
of those times I'm glad I am :)
Frank
Laurie Harper wrote:
Frank W. Zammetti wrote:
On Thu, September 8, 2005 4:20 pm, Wendy Smoak said:
From: "Pablo Wawrzyniak" <[EMAIL PROTECTED]>
How can I do that a combobox is sel
Hi Michael
In my case, I'm working with WAP applications that require the jsessionid to
be in the URL. In the case of Struts redirect forward it doesn't put the
jsessionid in the URL. When I browse using a WAP my session is lost in the
process.
Regards,
Néstor Boscán
-Mensaje original
Frank W. Zammetti wrote:
On Thu, September 8, 2005 4:20 pm, Wendy Smoak said:
From: "Pablo Wawrzyniak" <[EMAIL PROTECTED]>
How can I do that a combobox is selected after reload the jsp page?
Do you mean how can you ensure that the selected item before the submit is
selected again? If so...
That suggests that one of the classes or getter methods isn't declared
public (the sample source you posted does that, so that's probably not
it) or that addressVO is null in the form bean. How do you populate the
form bean? What happens if you call getAddressVO().getState() on the
form bean di
[EMAIL PROTECTED] wrote:
Hi,
I've got a dynabean stored in session scope with a list of swift codes
and descriptions in it. In an action form/jsp I want to output this
list to a combo box. I can do this using an iterate of my own but don't
know how to get the current value from the actionform.
You didn't post the source for your form bean so I can't give you a
specific answer, but the exception indicates that BeanUtils is unable to
convert the String value from the HTTP request to whatever type setXXX
is expecting.
If you're hoping to have a HibernateObject instance automatically
c
Anjishnu Bandyopadhyay wrote:
I have a tag within another tag.
< nested:define id="year" value=".."/>
Here, on change of the text box in the inner , I want to
send some value to a java script function, that is available from a
/
Enda Dowling wrote:
Does anyone know is there a way to call an action from a page without
anything being pressed on the page. Pretty much it is just a temp page to
forward onto an action.
I tried a few things like the one below but nothing has worked so far.
What error do you get with th
Rivka Shisman wrote:
Does someone know a parallel tag to html:select?
I mean that if in the Edit.jsp page i had an html:select tag to edit the
student_status field - and in the displayStudents.jsp i have a
bean:write to display the student_status field
What id the best way to get the decode in
Thanks Wendy.
I appreciate the quick response. I'll check out that link.
We're using SAP's Netweaver Developer Studio. It's based on Eclipse 2.1
technology.
---
Broadband interface (RIA) +
On 9/8/05, temp temp <[EMAIL PROTECTED]> wrote:
> public class ServiceSelectionForm extends
> ActionForm {
>
>private AddressVO addressVO;
>public AddressVO getAddressVO() {
>return addressVO;
>}
>public void setAddressVO(AddressVO addressVO) {
>this.addressVO =
Francois D. wrote:
I am looking for a java api to avoid form submission
by robot:
- generate/display image with a code (text or number).
- validate the code entered by the user in the form.
I have searched for solution on the web
but found nothing in java.
Google for 'captcha java' and you'
Found 1.3 nightlies under http://struts.apache.org/acquiring.html
Would be nice to have the same links under
http://struts.apache.org/download.cgi or to reduce number of links to
the sources/binaries down to one ;-)
Michael.
On 9/8/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> I still have c
I still have couple of questions before checking out the 1.3 source code.
(1) The first one is where to check 1.3 out from? Ok, I might have not
been following the list, but http://struts.apache.org does not have
links to 1.3 source code nor it explains how to set up Subversion. I
think I knew wh
Thanks, Joe.
I jumped a gun a little, since the articles at OnJava give pretty good
understanding of Struts chains:
http://www.onjava.com/lpt/a/5671
http://www.onjava.com/lpt/a/5693
I need to play with it a bit. Seems that I will be able to use
ActionForm only (or whatever other class I decide t
Hi Raj
While I'm not using Postgresql (MySQL instead) there were a couple of things I
noticed
that you might need to check:
1. You have specified the data source entry in your Struts-config.xml - on my
Tomcat
5.0 I need to enter this in the META-INF/context.xml (I have more on this if
you
Considering that 1.3 is on the radar, there should be better docs for
this crucial feature, should not it?
Indeed it should. Alas, last time I set out to write docs, I instead
realized a bunch of things that had to be changed (rather than write
doc thinking "it should be like this, but it's r
I read through some older emails, couple of wiki pages, article at
OnJava (which is more about base Commons implementation) and the
Commons page.
Is there better docs on the subject? How to use, with examples? Or all
I can have is to check out the source code?
Considering that 1.3 is on the radar
From: "Jason Kwon" <[EMAIL PROTECTED]>
Say I have multiple webapps.
Currently, I am deploying each webapp with their own copies of the
struts TLDs.
Is there any way I can deploy each webapp and deploy only a single set
of struts TLDs?
There is a way you can deploy *none* of the tlds. :) Assum
Hi,
I've got a dynabean stored in session scope with a list of swift codes
and descriptions in it. In an action form/jsp I want to output this
list to a combo box. I can do this using an iterate of my own but don't
know how to get the current value from the actionform. Alternatively I
thought I
Say I have multiple webapps.
Currently, I am deploying each webapp with their own copies of the
struts TLDs.
Is there any way I can deploy each webapp and deploy only a single set
of struts TLDs?
Dakota Jack <[EMAIL PROTECTED]> wrote on 09/08/2005 04:18:46 PM:
> Well, have you considered classic struts? Shale is really meant for
> people who are trying to change an application from JSF to Struts,
--do you really mean this?.. Even if you actually instead meant to say
"from Struts to JSF
On Thu, September 8, 2005 4:20 pm, Wendy Smoak said:
> From: "Pablo Wawrzyniak" <[EMAIL PROTECTED]>
>
>> How can I do that a combobox is selected after reload the jsp page?
Do you mean how can you ensure that the selected item before the submit is
selected again? If so...
Wow, am I missing somet
From: "Pablo Wawrzyniak" <[EMAIL PROTECTED]>
How can I do that a combobox is selected after reload the jsp page?
I have to fill combobox with a countries list, but if I not load it into
the session then not appears the combobox filled.
The other problem is that the combobox must be selected whe
Well, have you considered classic struts? Shale is really meant for
people who are trying to change an application from JSF to Struts, and
not everyone, including myself, think this is a good idea. Shale is
not Struts improved but a transition to something entirely different,
and inferior in my o
There is nothing wrong with session scope. You would have to store
this information somewhere anyway, so why not just use what is already
there.
Michael.
On 9/8/05, Pablo Wawrzyniak <[EMAIL PROTECTED]> wrote:
> How can I do that a combobox is selected after reload the jsp page?
> I have to fill c
How can I do that a combobox is selected after reload the jsp page?
I have to fill combobox with a countries list, but if I not load it into the
session then not appears the combobox filled.
The other problem is that the combobox must be selected when the page is
reloaded.
I solved it by setting
I get the following error
[Invalid argument looking up property addressVO.state
of bean serviceSelectionForm]:
javax.servlet.jsp.JspException: Invalid argument
looking up property addressVO.state of bean
serviceSelectionForm
at
org.apache.struts.taglib.TagUtils.lookup(TagUtils.java:1036
Here is the solution for the issue I raised. Yeah, it is a dumb question.
If it is only one preselected vlaue then use "value" in html:select.
The catch here that I understood later is property in html:select should be
array of strings if strings are displayed in the option list.
So, what happens if you use
Put a debug statement in the setter just in case, is it called?
Michael.
On 9/8/05, temp temp <[EMAIL PROTECTED]> wrote:
>
>
> here is my struts config
>
> type="com.bankerssystems.pac.onlinetrans.service.forms.ServiceSelectionForm">
>
>
>
> name="serviceSel
Hello,
I have problem with form.
I have form with Hibernate attribute XXX.
The form has method getXXX, setXXX and getAllXXX.
I'm using this jsp snipplet:
When I submit the form, then I recieve this an exception (see bottom)
My questing: Is possible to save a Hibernate objects?
The met
I am using struts 1.2 and my client side validations using based on action
rather than form are not working? Is there a bug in the 1.2 release. I have
worked previously with 1.1 and it used to work just fine.
In the validation file,
instead of
I could use
Any clues??
-Rajiv
here is my struts config
Note: forwarded message attached.
thanks & regards
__
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/--- Begin Message -
What, it does not work? How about setting form name explicitly:
You have defined the formbean in the struts config, have you?
Michael.
On 9/8/05, temp temp <[EMAIL PROTECTED]> wrote:
> This is my jsp
>
>
>
>
>
>I want input textfield from jsp to represent porperty st
All,
Here is the struts file.
http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd";>
Regards,
If I followed right. The class files need to be under web-inf/classes. But
since I need to use the package statement since sdk1.4 (I use jdk1.5) I
mention those.
Guten Tag Herr Ziemer
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=58&t=000849
Viel Gluck,
Martin Gainty
(mobile) 617-852-7822
(http)www.laconiadatasystems.com
Hi everybody!
I have got a litte problem with checkboxes, and yes, I did check the list's
archive bef
I am intrested only in nested elements how can I
represent them in jsp .
As I said I have a property called state in
AddressVO. AddressVO is a bean in my formbean. So
AddressVO is a nestedbean. My question is how can I
represent the nestedbean property (state) in my jsp.
thanks®ards
--- Greg
Temp temp,
I'll need some more information from you before I can be much help.
Is the Form class (ServiceSelectionForm) being invoked properly?
Are non-nested elements being populated correctly?
Are you getting any errors?
-Greg
-Original Message-
From: temp temp [mailto:[EMAIL PROTECTE
From: "zvonko" <[EMAIL PROTECTED]>
In sample struts-config.xml files I'm seeing a tag that
looks like this:
http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>
The problem I'm running into is that my IDE is choking on the link. I'm
assuming that somehow it's trying to go out to the
No I have no problem with property NEWSEARCH . I want
to know how can my jsp represent nested property state
(property from AddressVO ) ?
thanks & regards
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mai
Hello,
In sample struts-config.xml files I'm seeing a tag that looks
like this:
http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>
The problem I'm running into is that my IDE is choking on the link. I'm
assuming that somehow it's trying to go out to the url.
Can someone explain the
I have a jsp a formbean and an action class.
My formbean has a value object and getter setter
methods for that.
here is my forbean
public class ServiceSelectionForm extends
ActionForm {
private AddressVO addressVO;
public AddressVO getAddressVO() {
On 9/8/05, Néstor Boscán <[EMAIL PROTECTED]> wrote:
> Hi
>
> How can I guarantee that Struts will send the jsessionid parameter with each
> forward with redirection?.
Struts does not have to send session ID with forward, since forward
occurs on server only. Struts (actually, the servlet container
Let me rephrase my question here..
has "value" attribute that is to be populated if one of the
options is to be pre-selected.
What if I have to pre select multiple options.. may be using optionCollections
etc. something like html:select having a "value[]" so that I can put in all
values tha
Hi
How can I guarantee that Struts will send the jsessionid parameter with each
forward with redirection?.
Regards,
Néstor Boscán
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
Hi,
I'm trying to start a new shale dialog flow in a new window. The
window is opened when the user clicks on a button, and is invoked with
the javascript function window.open('/startdialog.jsf').
The problem is that to initiate a dialog flow, you need to setup an
action to return a logical logic
How would I see that an element is pre-selected or highlighted just the
way it happens with selected keyword in regular tag..
What I am trying to do here is populate a collection of objects on
multi-select box, some of them pre-populated. I tried
http://mail.yahoo.com
Good morning
I am looking for a java api to avoid form submission
by robot:
- generate/display image with a code (text or number).
- validate the code entered by the user in the form.
I have searched for solution on the web
but found nothing in java.
Any clues would be appreciated
Thank you
Fr
Thanks Jason and Martin,
i solved it using following steps:
* struts-config.xml:
* adding the charset in HTML to ISO-8859-1
* adding-Dfile.encoding=ISO-8859-1 to Tomcats CATALINA_OPTS
My Database is still in UNICODE (Postgres).
Now it works, i am happy and my customer too.
Bye Bart
--
Lombart Vincent (DBB) wrote:
>That's the kind of solution I was looking at, although using with
>included might be more robust. But I would prefer to use the action
>name rather than the direct url.
>
>
Eh, good call! I was trying to quickly relay a point and I don't
remeber the syntax
That's the kind of solution I was looking at, although using with
included might be more robust. But I would prefer to use the action
name rather than the direct url.
Regards
Vincent
-Original Message-
From: Brandon Mercer [mailto:[EMAIL PROTECTED]
Sent: jeudi 8 septembre 2005 15:35
If you're using Tomcat 5, a JSP 2.0 container, you shouldn't use
Struts-EL. Just use the plain Struts jar, and make sure your web.xml
uses the Servlet 2.4 schema.
> -Original Message-
> From: Lombart Vincent (DBB) [mailto:[EMAIL PROTECTED]
>
> Does anybody know why the following JSP cod
Lombart Vincent (DBB) wrote:
>Dear all,
>
>Does anybody know why the following JSP code does not work:
>
>
>
>
>
>
> paramName="icol">
>
>
>
>
>
>
>
>
${icol.monitor}
What abo
Hi everybody!
I have got a litte problem with checkboxes, and yes, I did check the
list's archive before writing this post.
In my app, I display a variable number of options, each of which can
contain a variable number of checkboxes.
A simple example:
Choose toppings for pizza:
1) Cheese:
Dear all,
Does anybody know why the following JSP code does not work:
"monitorBean" contains rows, and each row contains columns (of type String).
The JSP code should build a table from this bean, displaying one String in e
We're wanting to go from our home-brewed method of interaction using
jsps and servlets that are not very consistent in their expression
(other than the general jsp/servlet specs) to something that defines
interactions more concretely. Our current frustrations include form
handling, page transitions
Hi
Of course you can use struts with eclipse. Its just a whole lot easier
putting 29 bucks on the table and get MyEclipse
Hermod
-Opprinnelig melding-
Fra: M. Imran [mailto:[EMAIL PROTECTED]
Sendt: 8. september 2005 13:59
Til: Struts Users Mailing List
Emne: Re: Eclipse 3.1 and struts 1.
I was wondering if I can use Struts with Eclipse (3.1) or some free plugins.
MyEclipse is a good option but its not free.
Regards,
Imran
- Original Message -
From: "Ayusman dikshit" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, September 08, 2005 12:59 AM
Subject: RE
thank you Frank for your answer and your explanations!
-- Initial Header ---
>From : "Frank W. Zammetti" [EMAIL PROTECTED]
To : "Struts Users Mailing List" user@struts.apache.org
Cc : "user" user@struts.apache.org
Date : Wed, 7 Sep 2005 09:31:44 -040
You need to add the "-i" switch to postmaster (-o -i to pg_ctl I
think) to enable tcp/ip connections. Please see the PostgreSQL
documentation.
2005/9/8, R Rajendran <[EMAIL PROTECTED]>:
> Hi,
>
> When I connect Struts to Postgresql 8.0 database using DataSource object I
> get the following erro
Hi,
When I connect Struts to Postgresql 8.0 database using DataSource object I get
the following error messages:
Source:
DataSource dataSource = null;
try {
dataSource = getDataSource(request);
conn = dataSource.getConnection();
/* working
Class.forName("org.po
Hi
You can try and declare it as transient in your form/action
Hermod
-Opprinnelig melding-
Fra: Gareth Evans [mailto:[EMAIL PROTECTED]
Sendt: 8. september 2005 10:54
Til: Struts Users Mailing List
Emne: Re: Exception after File Upload.
Because when you shutdown tomcat, it tries to ser
Hey,
Does anyone know is there a way to call an action from a page without
anything being pressed on the page. Pretty much it is just a temp page to
forward onto an action.
I tried a few things like the one below but nothing has worked so far.
Thanks,
Enda
Thanks, I got that working.
Appreciate it.
-Original Message-
From: Duane Rosengartner [mailto:[EMAIL PROTECTED]
Sent: 07 September 2005 16:58
To: Struts Users Mailing List
Subject: DynaForms & Radio Buttons
use the Id (userId,accountId)or concatination of Id|someOtherVariable as
the v
Because when you shutdown tomcat, it tries to serial all objects within the session scope. The
class you are referring to 'org.apache.commons.fileupload.DeferredFileOutputStream' does not
implement 'java.io.Serializable' and therefore tomcat throws this exception when trying to serialize it.
W
I have a web application running on Tomcat 5.0.
One of the features is this appln enables file upload. After an upload, If I
stop and restart the server , I get this particular expception.
SEVERE: IOException while loading persisted sessions:
java.io.WriteAbortedException: writing aborted; java.io
Hi Imran,
Try to download latest MyEclipse (just google it and u will find it) and
download this pdf
http://www.eclipsekickstart.com/chapters/EclipseKickStart-ch11.pdf this
will guide you thru. , hope this helps.
Regards
Ayusman
-Original Message-
From: M. Imran [mailto:[EMAIL PROTECTED
http://struts.apache.org/faqs/eclipse.html is a useful link or u may use the
book Tomcat-Bible.It has a chapter on Ecllipse-IDE installation.
On Thu, 08 Sep 2005 MImran wrote :
>Dear all,
>I am trying to build my first application with Tomcat, Eclipse 3.1 & Struts
>1.2.7, can anyone tell me
Hi all,
I have a tag within another tag.
< nested:define id="year" value=".."/>
Here, on change of the text box in the inner , I want to
send some value to a java script function, that is available from a
/ va
I just finished giving a presentation titled "Struts 1.3 and Beyond" to the
Silicon Valley Web Developer JUG that I thought folks on this list might be
interested in. In addition to the regular slide keyboard controls, press "T"
to toggle the outline/printable view which contains extra notes.
P
77 matches
Mail list logo