On 07/21/2011 08:07 PM, log2akshat wrote:
I got the Solution:
But how can I escape the ' to display by .properties file in error message.
I used (\') but its not working.
Please anybody can help me on how to validate the number of words typed on
click of submit
On 07/16/2010 04:21 PM, Stephen Turner wrote:
We're using Struts 2 for file uploading, and we're filtering the types
of files people can upload by checking the file's content type against a
list of allowed mime types.
This turns out not to be reliable enough. Firefox in particular seems to
somet
On 05/19/2010 09:31 AM, aum strut wrote:
Hi All,
i am not sure is this a good place to ask about such question but since many
here are involved with Apache from so long
while browsing Apache community site i came across this blog post,though
this has been posted on April 1st but still not sure
Ulf Liedén wrote:
when my struts application receives form entries containing french character
(i.e. é è) they are converted to something else, like é è.
This has probably something to do with how the request is encoded. I've
tried to add
ServletActionContext.getRequest().setCharacterEncoding
Frans Thamura wrote:
hi all
anyone working with facebook connect, may be can share the code :)
sorry, in lazy mode on. to make my development faster
Someone posted an OS library for that recently, currently hosted on
google code. Search the archives.
hth,
Manos
--
Todd Grigsby wrote:
Fantastic! The error that I'm getting is,
"org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory ([Microsoft][ODBC Driver Manager] The
specified DSN contains an architecture mismatch between the Driver and
Application." Ever seen that?
Manos Batsis wrote:
Tom Holmes Jr. wrote:
Sorry ... this might be off topic. I'm a Struts1/2 and Spring MVC
Java developer myself.
And yes, I am Googling for this information as well.
I am looking for some Java open-source app that does some batching. I
basically want a java web-app
Tom Holmes Jr. wrote:
Sorry ... this might be off topic. I'm a Struts1/2 and Spring MVC Java
developer myself.
And yes, I am Googling for this information as well.
I am looking for some Java open-source app that does some batching. I
basically want a java web-app where I can schedule a URL t
PEGASUS84 wrote:
i wish encode data in the query string how can I do?
If security is no concern and you just don't want the data to be
obvious, you could use base64. there are libraries out there to do this.
hth,
Manos
-
T
I think the OP wants to send data with a link (i.e. an HTTP GET) without
those appearing within the URL query string. In short, its cannot be
done. One however can:
* Use POST with hidden fields
* Store the data in the session scope
* Encode the data in the query string
hth,
Manos
Muthu V
Ignacio de Córdoba wrote:
Hi there,
I am trying to generate a URL with s:url and s:param so that parameters are
encoded in URL. Special characters are not processed ok. (The struts action
works fine as I have posted that same URL data with a form encoded in UTF-8
and they are decoded fine in my j
To the OP: Just try xhtmlrenderer (i.e. The Flying Saucer Project). I
once did a servlet filter that intercepted text/html responses (usually
from JSPs) and transformed them to PDF on the fly. Don't seem able to
figure out where that code is nowadays though.
[1] https://xhtmlrenderer.dev.jav
egetchell wrote:
I am presently integrating internationalized UTF-8 resource bundles that
contain multi-byte characters. I am familiar with the pre-JDK 6 constraints
of UTF-8 resource bundles – either implement your own loader or convert the
bundles to Unicode.
Don't you mean ASCII?
AFAIK r
Geia sou wre Dimitri.
Dimitris Mouchritsas wrote:
we are using elements in our error messages to allow the user to
go to the form field when the error message shows up.
Obviously this messes up the client side javascript popup message
which shows like: Username is missing.
Is there a way to u
Frank W. Zammetti wrote:
Ajax by its nature deals with textual information only, be it HTML, XML,
JavaScript or plain text.
Exactly, thus an XMLHttpRequest can be used update an image in two ways:
* The image URL can be passed as information to the HTTP response,
wrapped in XML or not (i.e.
Laurie Harper wrote:
Dave Newton wrote:
--- matthieu martin <[EMAIL PROTECTED]> wrote:
That's not valid XML; you can't nest tags like that. Off the top of my
head I
don't recall if the "id" attribute will eval OGNL or not.
To be pedantic, JSPs are not XML files
...unless you
Dave Newton wrote:
shouldn't be *that* hard (depending on how well-formed the JSP/HTML is,
perhaps?)
Bingo. We use the XML JSP syntax and have done similar tasks in the past
using XSLT or even SAX filters.
I've never encountered XML syntax users outside my company though.
Manos
--
mohammed hussain wrote:
Hi anybody knowing the best tools to develop to html page,pls let me know
There is no such thing. Do you need WYSIWYG? Are you looking for JSP
etc. awareness? Do you feel comfortable editing markup by hand? What are
your target DTDs?
Manos
-
Zhang, Larry (L.) wrote:
I have a user object whose data is from three resources: Db2, LDAP, and
other flat file. Per dao pattern, do you think I should have three daos
or one dao to encapsulate the data access implications?
Depends on what is easier for you. This will not effect your code if
Hello,
This is somewhat OT but can someone please suggest a java RSS lib for my
struts1 app? What I want to do is fetch, cache (daily) and display the
latest one or two news items from a set of different feeds in jsp 2.0
pages so any taglibs along with the lib would be great.
A quick search
Givler, Eric wrote:
The problem is the
user double clicks [login] and can get two calls to the service method
to execute simultaneously. They both don't see a row, so they both do
an INSERT. One of the inserts fails due to a PK on the username.
See generateToken[1] and isTokenValid [2]. T
I'm using commons-validator 1.3.1 with Struts 1.3.8 and 1.3.9. In short,
the jcv_retrieveFormName function returns nothing, so other functions
that try to use it end up with errors looking up for variables (well
functions) like "_required" when they should look for formnameOrId_required.
I'v
Keith Struts wrote:
I recently rewrote an existing application in Struts 2, and everything seems
fine. Runs on my Eclipse server, as well as the local tomcat instance on 2
different machines. However, when we deploy it to the production server, we
get a 404 error.
Check your server logs. Does
Quoting Roberto Nunnari <[EMAIL PROTECTED]>:
> Yes.. I believe that's right, but wouldn't it be great if we were
> able to tell tomcat/struts to keep some static web resources from jar
> files in cache (already decompressed and ready to be sent to
> clients)?
That is exactly the approach we have a
John Mammen wrote:
Have any of you faced this issue while deploying an application in WAS?
This is irrelevant to Struts i think...
Try googling for -Dheadless=true or something.
Cheers,
Manos
-
To unsubscribe, e-mail: [E
Ryan wrote:
Hello All,
I'm trying to create a table that has different classes for each column by
iterating across a list of lists.
Problem is the listoflists property is accessed each time an e
Archer wrote:
Hi,
I am using struts 1.3.8 for my application. Can anybody please help me how
to restrict access to jsp pages directly in struts. I am not having any of
jsp in web-inf, so I need to restrict direct access to JSP. Any suggestion
will be a great help to me.
Too many ways to do th
Ray Clough wrote:
The failure is in the deployed code. The processor which produces html from
the jsp markup (in tomcat, in this case) will not allow the nested elements.
It is treating everything as pure xml, and the dtd for xhtml won't allow that
type of markup. I could live with it if it
Ray Clough wrote:
I produce all my jsp pages is xml format - ie. as 'jspx' jsp-documents. I
find a serious drawback to the struts tags, and I'm wondering if anyone has
a suggestion. The xhtml does not allow element content within other
elements; for example the tag cannot contain a tag. Lots
Just a minor suggestion: please upload releases to a Maven repo :-)
Cheers,
Manos
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
MD4J is an extensible J2EE webapp generator. One of the main features is
that it allows you to work on your model iteratively, providing a
complete J2EE application following your model changes. So, each time
you edit your model and build your project, MD4J will generate high
quality code fro
Hello,
Well, the subject says it all, uses of taglibs are outputted as-is by
the container. My JSPs are like:
http://struts.apache.org/tags-bean";
xmlns:jsp="http://java.sun.com/JSP/Page";>
My web.xml's version is 2.4 so i don't declare the taglibs, shouldn't
they be auto-discovered (triggered
Quoting Christopher Loschen <[EMAIL PROTECTED]>:
> We had a report at my office that some downloads of
> the 1.5.0_10 JDK were missing that jar file
Right, i think OSX doesn't have a separate jar for that. In that case
the OP should probably add an exclusion element within the POM
dependency that
Although i'm not sure, i think the OP just needs to install an 1.5 JDK
then set it as $JAVA_HOME.
hth,
Manos
Quoting Carlos Curotto <[EMAIL PROTECTED]>:
> Did you try to do this?
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=com.sun -DartifactId=tools \
>
Hello,
Is there any M2 archetype or sample POM availabe for Struts 1.x webaps
with webdoclet, nergefiles and all working? I'm trying to create a POM
and extract an archetype from it, but sincde i got to various issues i
finally wondered whether a nice soul has already gone through this.
Thanks
Quoting "Bolutiwi, Olu" <[EMAIL PROTECTED]>:
> How can I use a collection that supports key & value, keep it sorted
> and
> use it in my html:select without messing up the sort order.
You can make your keys comparable [1] or put your results in a
collection that does not try to re-sort them.
[1
Making a suggestion is difficult without knowing what tools/tiers or
other specifics are involved.
Our MD4J [1] generated DAOs return implementations of a Page interface
[2] for search queries. A Hibernate-based Page implementation [3] is
also available. This serves generic memory and DB access r
Just added a 0.1 snapshot binary distribution [1] for your convinience.
[1] http://sourceforge.net/project/showfiles.php?group_id=150959
Cheers,
Manos
Quoting Manos Batsis <[EMAIL PROTECTED]>:
>
>
> MD4J is an extensible J2EE webapp generator. Currently only Hibernate
>
MD4J is an extensible J2EE webapp generator. Currently only Hibernate 3
mappings are supported as input. The project allowes pluggable
generators, with the existing set supporting EJB 2.1, Struts 1.x and
JSP 2.0 as output for CRUD and Search operations. An Ant task is
included for your builds.
T
39 matches
Mail list logo