n" %>
Caroline Jen wrote:
I tried both of your suggestions. For example, I have
[code]
.
key="${titleKey}"/>
.
[/code]
I got java.lang.IllegalArgumentException: can't parse
argument number titleKey
--- Jason Lea <[EMAIL PROTECTED]> wrote:
_
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
aracters that need it such as '&' and '<'. This
also means I am not dealing with HTML formatting inside my Java code,
and can happily store the same characters in files, databases etc or
output to another device instead of HTML.
--
Jason Lea
carlo latasa wrote:
>I jus
poses a setHeaderEncoding method...
Daniel Rabe
-Original Message-
From: Jason Lea [mailto:[EMAIL PROTECTED]
Sent: Friday, December 26, 2003 1:33 PM
To: Struts Users Mailing List
Subject: Re: What is wrong with this upload filename (UTF-8) decoding?
I have not used the file upload yet,
as as wrote:
Hi,
How to make the below a text area?
Thanks,
Samy.
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://jakarta.apache.org/struts/userGuide/struts-html.html#textarea
--
Jason Lea
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
xtfield
and submit buttom.
Can you suggest a good framework for me.
regards
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To uns
Adam Hardy wrote:
Jason,
it just occurred to me (must have had my eyes shut) after a couple of
weeks that the last breadcrumb in the breadcrumb menu done with your
tiles method is actually a link to the page that you are already on.
Is this the way you have implemented it, or have I done it
.
These breadcrumbs work if you have 1 path to the page. If you want to
track history you will have to do something else.
Jason Lea wrote:
Andy Engle wrote:
Hi all,
Is there any slick way of putting breadcrumbs into a web app with
Struts? If so, what's the preferred way?
Thanks.
ml. In my layout.jsp page
I then use
Hope that make somes sort of sense. If not ask me a question and I will try to explain better.
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I started this on the taglibs group and looks and have narrowed
the problem down to its use inside a struts/tiles application.
*** from the emails in the other group
I'd like to add that I moved the two files to the webroot and
called them directly (not through struts) and it works. So there
must
hange the xml encoding from to something like or greek encoding. The ISO-8859-1 encoding is the
standard ascii characters and so international characters are not supported.
The \u format is used only in the .properties files, not in .xml.
--
Jaso
le. How to
solve it?
thx,
Dirk
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
slation (so to speak), and I end up with a question mark.
-Ted.
On Fri, 02 Jan 2004 09:35:04 +1300, Jason Lea wrote:
I don't know the official location but this stuff seems to be
located in your jre/lib/ext/localedata.jar as class files
I found this link to some java source for thes
<http://issues.apache.org/bugzilla/show_bug.cgi?id=21992>.
-Ted.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
---
a setHeaderEncoding method...
Daniel Rabe
-Original Message-
From: Jason Lea [mailto:[EMAIL PROTECTED]
Sent: Friday, December 26, 2003 1:33 PM
To: Struts Users Mailing List
Subject: Re: What is wrong with this upload filename (UTF-8) decoding?
I have not used the file upload yet, but I bel
<%= ... %> is...
Any ideas are greatly appreciated.
Thanks,
--Mike M.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
4.1.29, Struts-1.1, jdk1.4.2_02 Windows-XP.
Zsolt
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL
commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
advance,
David
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
your advice on how to use the Property file in such a case (or should I use the normal tab-separated text option as above, with the file,being read using Java I/O API).
Thanks,
Debashish Chakrabarty
http://www.jroller.com/page/debashish
--
Jason Lea
unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am pretty sure the code to do this is horrible as it has to
deal with both the IE and Netscape event model and what to do if the
arrow keys are used to move up down etc.
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
nap shot of using Tokens. AS i am
trying to use it in one of my application. but due to some unknown
reason it is
not
working. I may be doing something wrong.
Any help will be appreciated
Regards
GAry
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
used Jakarta Commons FileUpload with Struts, or is
there a better way?
Jason Lea wrote:
From what I can see there Resin is expecting UTF-8 for any paramters
passed to it, and decoding it correctly. However multipart/form-data is
treated differently as the data is not passed as normal
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
m/1/c/563632/125699/307982/307982
This offer applies to U.S. Residents Only
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-----
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
fig.xml
2. Adding <%request.setCharacterEncoding("UTF-8");%> in the master
layout
3. Adding to Master layout's
BUT NOTHING WORKS except adding a page directive on every JSP
fragment.
Anyone has that resolved?
Ivica
--
ECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
thing you are losing here is you are not linking to the action
name ('crafts/crafts'), you have to link to the url name
'crafts/crafts.do'. So if you changed the servlet mapping from '*.do'
to '/do' you would have to change the links.
Brice
Jason Lea w
er of /index.jsp and
/*/crafts/crafts.do would have a parameter of /crafts/crafts.jsp.
I'm looking for guidance - best way of accomplishing my goals of
code-reuse, ease-of-maintenance, as well as being able to provide the
flexibility in URL naming that marketing would
If you are using UTF-8 everywhere it should work - I use it for english
& Japanese and it works.
You mentioned in another message you had this:
SetCharacterEncodingFilter
encoding
GB2312
Are you still using that? or UTF-8?
Everything has to match.
ZYD wrote:
Hi Jason,
Thank you for
I need your advice.
Any response is appreciated.
--bruce
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
--
't it?
I mean, it could use body text for the label, and submit its value, or
it could have a caption attribute or similar.
Adam
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
rams would be dynamic depending on the record
selected)
Regards
Jason
***
The e-mail and any attachments are confidential. They may contain
privileged information and are intended for the named addressee(s)
only. If you are not th
ail
for such purpose.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
off topic, but I have a quick JavaScript question
please...
I have a function "function tooltips()" and the call to that function is
"return tooltip('tooltip.msg.name', 'tooltip.title.name');"
in my function, how do I access each of the ar
.html
Can anyone suggest what can be done to solve this problem?
Regards,
Amit.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
OTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Wahoo
Of all the tags ever written this HAS to be one of the best, and most
useful, I recommend every developer use it for table creation.
Keep up the good work chaps.
Regards
Jason
|+>
|| "Matt Raible" |
||
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jason Lea wrote:
Look good...
You can probably move the vanity extension loop to be outside the main
loop because you only need loop throught the extensions once.
Is this going to have any issues with 'jsessionid' being added to the path?
Here I go replying to my own question..
Look good...
You can probably move the vanity extension loop to be outside the main
loop because you only need loop throught the extensions once.
Is this going to have any issues with 'jsessionid' being added to the path?
--
Jason Lea
Matt Raible wrote:
Back to the original que
will try to do a
Form.getAbc() for the initial value. I don't think that is what you want.
I think you should be using this:
and in the action that you call to get to this JSP page, you should be
putting in the initial values.
--
Jason Lea
---
You don't have any other setElementMap() methods in there do you?
eg
public void setElementMap(String key, Object value)
public void setElementMap(String key, String value)
There should only be 1.
Ray Madigan wrote:
Jason - thanks for your help. I do appreciate it.
This code w
ginal Message-
From: Jason Lea [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 2:18 PM
To: Struts Users Mailing List
Subject: Re: Map Backed Form
I read this somewhere (perhaps Struts in Action) and I use map-backed
properties... the methods should have String keys, but Object values eg
p
ail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
*
/contact/*
/foo/*
everything else
/do/*
Or you could wrap a filter around the /activities/*, /contact/*, /foo/*
mappings and forward to the correct action.
--
Jason Lea
Matt Raible wrote:
The reason I don't like extension mapping is because I think path-mapping
(/do/*) is cleaner. Also,
y the property values like so:
So if you wanted 3 fields called name, description and quantity you
would use
or create some fields in a loop using JSTL and Struts-EL tags
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROT
e following:
"This can be either an integer that directly expresses the desired
value, or the name of a JSP bean (in any scope) of type
java.lang.Integer that defines the desired value."
You need to pass it Integer objects or put the actual values into the tag.
JSTL migh
"Value 1" ) );
eventGroups.put( new String( "2" ),
new LabelValueBean( "Label 2",
"Value 2" ) );
eventGroups.put( new String( "3" ),
new Labe
Ted Husted wrote:
The contest will run until Saturday, September 14, 2003, 23:59:59 so
everyone has a chance to participate.
Just for completness and clarification, which time zone is that?
EDT? Perhaps you should say 2003-09-14 23:59:59 -0400
Or is it +?
--
Jason Lea
iler to use a different encoding
other than adding <%@ page contentType="text/html; charset=UTF-8"%> to
the top of every JSP page (including it didn't seem to work).
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
il: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubsc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
"accountContent" as...
but that didn't work. There should be a way this could work without
having to provide two defintions for every page I'd want to go to?
--
Jason Lea
-
To uns
Where can be problem?
Thanks, Jiri
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
This mail was scanned by Interscan Virus Wall of Mailserver2 at SNR, TCS, Chennai
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
It looks like you could use this in your
action to get a list of FileItems (some will be uploaded files which you
can save to disk, the others would be form fields).
When you find a form field, you could try adding it to the request using
request.setAttribute(), which should allow you
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsu
have a filter that does this:
request.setCharacterEncoding("UTF-8");
on every request.
Look at 7 here:
http://www.anassina.com/struts/i18n/i18n.html
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
validate="false">
'name' is the name of the form bean that is created and given to the
action form.
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
e to add a
styleId to the select. Not sure if it would find the name="" field.
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.util/GetAge.html
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ur login.jsp do this:
Then the rewrite should put in the path relative to the web application
eg it will put in the path '/myApp/css/style.css'
You can use the tags for your images.
--
Jason Lea
-
To unsubscribe, e-mail: [
this?
_
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
-
To unsubscribe, e-mail:
Thanks Dan,
We already route all requests in our application though an subclass of
ActionServlet.
Therefore the following 1 liner ( from the link ) fixed the problem first
time.
--> Added to Subclass of ActionServlet that intercepts struts requests:
public void init() throws ServletException
{
only. Any workaounds must affect only our server
instance ( which is referred to as myApp below ).
struts.jar is only located in the WEB-INF/lib dir of my application and is
not on the classpath elsewhere.
Regards
Jason
JRun 3.1 3.1.26414.
Java(TM) 2 Runtime Environment, Standard Edition (build
Jason Long wrote:
I am looking for a way to simplify my ApplicationResources.properties
file. For example:
errors.header=Validation Error
errors.footer=
error.footageRequired.integer=Footage
required must be a positive integer
error.chkItems.required=At least 1 item must be
selected
I basically
opening tag.
An option might be to use the html-el tags which should mean you can do
something like
--
Jason Lea
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
put
in front of each entry or
following them.
Is this already possible?
Jason Long - CEO and Chief Software Engineer
Supernova Software - supernovasoftware.com
BS Physics, MS Chemical Engineering
-
To unsubscribe, e-mail
I will be out of the office starting 13/08/2003 and will not return until
22/08/2003.
I will respond to your messages when I return. If you need to contact me
then please do so on 07919091554
***
The e-mail and any attachments are
Adam Hardy wrote:
Hi Jason,
I've heard of Get, Post, Put and Delete, but what are Head, Options and
Trave?
Oops, should be Trace.
as to what they do...
Servlet Spec 2.3, 2.1.2 says:
The doHead method in HttpServlet is a specialized form of the doGet
method that returns only the he
form beans are populated before
they are given to the action. So you have a choice of using a filter,
or overriding the RequestProcessor to do this.
Hope this helps.
--jason
Kiran Kumar.M wrote:
Hi,
I need some help on I18n in Hindi,I am using Struts 1.1 and need to
display fonts in hin
Hi Shane,
I guess it is so they can have one servlet method per HTTP method
The spec includes doGet(), doPost(), doPut(), doDelete(), doHead(),
doOptions(), doTrave()
HTTP/1.0 has doGet, doPut, doHead. HTTP/1.1 adds the others.
--
Jason Lea
Bailey, Shane C. wrote:
Jason,
That makes since
GET
no-member-role
This basically means if someone tries to use GET (eg a normal request to
the action) they would have to be a member of the role 'no-member-role'.
Since we won't have anyone in this role, nobody can use GET for these
actions. All other methods ar
he session id must be encoded as a path parameter in the URL string.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
ching, updates, deletes, inserts... so on and so on.
Could some one mention the best one available to use with SP's?
What is the best Persistance Layer out at the moment?
Regards
Jason
***
The e-mail and any attachments are co
In your struts-config.xml you will need something like this
Struts would then look for
/WEB-INF/classes/ApplicationResources.properties
For example I use this instead:
so that struts looks for
/WEB-INF/classes/resources/application.properties
--jason
Monang Setyawan
here:
http://www.w3.org/TR/html401/interact/forms.html#edef-BUTTON
--Jason Lea
-Original Message-
From: Tim Clotworthy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 5:07 PM
To: 'Struts Users Mailing List'
Subject: RE: LookupDispatchAction problem
Thanks for all help.
legal pages, site maps, and so on? I don't want to create an
action just to display a simple JSP/HTML page, that's why I used a forward.
Regards
Jason Meredith
***
The e-mail and any attachments are confidential. T
com/[EMAIL PROTECTED]/msg68432.html
Apparently there is an example of its use in struts-example.war
--
Jason Lea
Anurag Garg wrote:
Hi All,
I am facing a problem in jsp page refreshing. After submitting the page to
add a new record in the database, I again display the same page with the
added record i
under WEB-INF and put my directory structure
of jsps there eg
/../webapp
/WEB-INF
/classes
/lib
/jsp
/layout
/layout.jsp
/tiles
/tile1.jsp
Hi Bob,
Use this in the JSP:
and ApplicationResources.properties:
books.publisher.heading=/logos/PublishersEnglish.jpg
--jason
[EMAIL PROTECTED] wrote:
Hi All,
Maybe someone has done this before :
I am trying to use to deliver a in my JSP, however,
the tag doesn't get rendered wh
like
/WEB-INF/classes/resources/version1/MessageResources.properties
If you went through an action, does the action actually forward to
logonView.jsp? What is in your struts-config.xml?
Perhaps your log files will show what Struts did with the request?
--jason
Caroline Jen wrote:
My Log
To all Struts developers in America
Have a GREAT Independence Day.
Regards
Jason Meredith
United Kingdom
***
The e-mail and any attachments are confidential. They may contain
privileged information and are intended for the
. Compiling the *.jsp files
essentially turns them into servlets with mappings in the web.xml so the
wouldn't work in this situation.
--jason
K.C. Baltz wrote:
My understanding is that the webapp spec requires that files in the
welcome-file-list be actual files, not servlets, because it h
Hi Rick,
Rick Reumann wrote:
On Sat, 2003-06-28 at 19:00, Jason Lea wrote:
Here are some ideas, I haven't tested them so they could be horribly
wrong :)
The html-el:text tag are just like the html:text tag, but I can evaluate
EL expressions.
What you want to generate is something like
thod and
making sure Map exist there).
someCode:
someDescrip:
the text will display fine in the form with:
someCode:
but when the form submits all the bean property values are null ( in the
reset if it matters for testing i
eeds to know about that realm. The other
datastore (and the data in it) your data access code will handle all that
and it will know from say a properties file or something where/how to
connect. So why another realm?
-Original Message-
From: Jason Lea [mailto:[EMAIL PROTECTED]
Sent: Fri
check their role to see if I will perform the operation on the
database. The changes are still made under my application's database
connection.
Hope this answers your question...
--jason
Bailey, Shane C. wrote:
Thanks for the response.
For my lack of knowledge, I understand the concept of rea
in a new Realm from the other container.
--jason
Bailey, Shane C. wrote:
So I am real close to moving to the securityfilter (I've been reading the
docs, etc.) a question I have then is in order to implement the
SecurityRealmInterface.isUserInRole(Principal principal, String rolename);
method
might be able to help better...
--jason
On Thursday 26 June 2003 05:01 pm, Jason Lea wrote:
Frances Aleah Z. de Guzman wrote:
i had posted a question i think 3 days ago about submitting a form to a
LookupDispatchAction without hitting any button and still having a
default value of the parameter
1 - 100 of 532 matches
Mail list logo