iso-8859-1 is the default page encoding for web pages. To use anything else you need
to tell the webserver.
Use this at the top of every jsp page:
<%@ page contentType="text/html; charset=UTF-8"%>
Or for Tomcat 5 you can use Servelt 2.4/JSP2.0 spec and set the page
encoding in the web.xml
I have some problems using struts/tiles and UTF-8 characters embedded in
an jsp page.
How can I make struts/tiles respect the system default encoding, and not
use iso-8859-1 for all jsp pages?
This problem occurs in tomcat 4.1.29, 5.0.19 and 5.0.27.
I have a struts version bundled with Appfuse,
Sorry for the simplistic question
Starting a new project and trying to get a handle on 2 different approaches
What does Struts have to offer over JSF?
Thanks,
martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
Could you please try to format your e-mail message better with breaks
that make sense. (Code needs some hard coded breaks at appropriate places:).
Buland Altaf wrote:
Hi Theres,
I am facing some issues about master-detail / radio button
for indexed properties. Issues are:-___ Problem 1
Erik Weber wrote:
I found the answer. It is to use the struts-el html tag library instead
of the standard html tag library, and then to refer to the variable
using the expression language syntx:
. . .
Erik are you uisng one of the DispatchActions (regular DispatchAction,
LookUpDipsatcchAction
Quite exhaustive, thanks.
I did not notice the inherited _getMessage()_; thanks
for bringing it to my attention. This is exactly what
I need.
Ola.
--- Brett Connor <[EMAIL PROTECTED]> wrote: >
The exception will contain a message via the
> inherited _getMessage()_
> etc, if it's just display
The exception will contain a message via the inherited _getMessage()_
etc, if it's just display purposes you're looking for this may be
enough, except for localization issues. Beyond that, if you want to get
a correctly localized message or make some useful interpretation of the
error code to p
Thanks for your prompt response.
As you are aware, getErrorCode() method of
SQLException returns the vendor specific SQL error
code, but there is no getErrorMessage() method. Since
this is the case, how can I get the actual error
message if I implement according to your suggestion?
Please do you
One strategy is to wrap the SQLException thrown by mySQL
in a meaningful ApplicationException which can be caught in your action class
or declarative exception handling mechanism and "interpretted"
into the appropriate client error message which can be placed
in the appropriate scope (request or se
Can anyone please tell me the best way to get a
database error into my java code so that I can output
the database error in a JSP etc.
My key problem is how to pass the database error to my
Java code.
Thank you.
Ola.
Hi,
A simpliest solution for resolve such a problem:
The form that previously runs the pdf generation know do a forward to
A jsp page indicating "please wait" and that contains a "onload" tag
That post a request to the action that construct the pdf report.
Such a solution a easier to develop
Hi Theres,
I am facing some issues about master-detail / radio button
for indexed properties. Issues are:-___ Problem 1 __>1. I am
facing later mentioned problem of>master-detail from on session time out.I am
using>DynaActionForms with array properties as form-bean>property
12 matches
Mail list logo