Sourav,
I'm not sure, but I'd guess that you'd want to encode it as a transportable
UTF-8 format on the server side, and decode it on the client side. Assuming
that this is, in fact, what you need to do, you can find instructions on
doing it here:
http://www.w3.org/International/O-URL-code.html
hi
u try like this in jsp page.
Quoting Gündüz Can Topal <[EMAIL PROTECTED]>:
> Hey
>
> I setup ApplicationResources.properties file in"com.trend.struts"
> package in "src" directory.
>
> In which I have
> title = "MY TITLE"
> element.
>
> My struts-config line as follows :
>
>
>
Raghu/Frank,
You are very right in saying that it is a real fun participating in a
discussion where architects bring out all different aspects of the
problems and solutions with the trade-offs.
Now coming back to the topic in hand -
1. I agree with you about the applet route (and its consequenc
Hi All,
I've an application which can be used for downloading file over web. Now
if the file name contains Unicode characters which are not in iso-8859-1
range, the name appearing at the browser (in the download window asking
for save) coming as junk.
I'm passing the fine name through http h
On 1/5/06, Tamas Szabo <[EMAIL PROTECTED]> wrote:
> >
> > I'm actually quite happy with what Struts has to offer except for the
> > deal with having to use ActionForms. I'd really like a Struts-like
> > framework but allows me to use POJOs to capture my data and provides a
> > nice way to redisplay
On 1/6/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
>
> On 1/5/06, Tamas Szabo <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > I'm actually quite happy with what Struts has to offer except for the
> > > deal with having to use ActionForms. I'd really like a Struts-like
> > > framework but allows me t
JSTL is probably a better option that struts logic tags, as you gain
the benefits of containers being optimised for c:if and
c:choose/c:when while not needing scriptlet code. logic tags where
written before jstl was kicking around.
My variable exists
rather than
<%
if(null != myvar && !"".
On 1/5/06, Tamas Szabo <[EMAIL PROTECTED]> wrote:
>
> >
> > I'm actually quite happy with what Struts has to offer except for the
> > deal with having to use ActionForms. I'd really like a Struts-like
> > framework but allows me to use POJOs to capture my data and provides a
> > nice way to redispl
>
> I'm actually quite happy with what Struts has to offer except for the
> deal with having to use ActionForms. I'd really like a Struts-like
> framework but allows me to use POJOs to capture my data and provides a
> nice way to redisplay that data back to the user if validation fails (ie
> a POJO
JEEVANATHAM P. /BPCRP/INFOTECH/VASHI wrote the following on 1/5/2006
4:27 AM:
For data grid I am using display Tag.
I have added radio button as a first column of my table.
My problem is
how can I get data when the radio is checked (one row only in which row
radio is checked)?
Something
JEEVANATHAM P. /BPCRP/INFOTECH/VASHI wrote:
Hi all,
For data grid I am using display Tag.
I have added radio button as a first column of my table.
My problem is
how can I get data when the radio is checked (one row only in which row
radio is checked)?
Make sure each radio button has a
On 1/5/06, David Bowers <[EMAIL PROTECTED]> wrote:
>
> Thanks for the reply. My long term goal is to transition to JSF. We are
> just starting to use it at my client, so it's a bit of a trial run, but I
> think we will adapt it more full-scale eventually. To start with, I want
> to
> use JSF to
Can you submit a bugzilla against Commons Validator for this and then I'll
look at trying patching in your suggestion. Thx.
http://jakarta.apache.org/commons/validator/issue-tracking.html
Niall
- Original Message -
From: <[EMAIL PROTECTED]>
To: <'user@struts.apache.org'>
Sent: Thursday,
On 1/5/06, Thibaut <[EMAIL PROTECTED]> wrote:
> When I load my struts application with tomcat I have this information :
> "
> 5 janv. 2006 17:57:25 org.apache.catalina.loader.WebappClassLoader
> validateJarFile
> INFO:
> validateJarFile(/home/toto/workspace/cvdunetV51/WEB-INF/lib/servlet.jar)
> -
Hi,
When I load my struts application with tomcat I have this information :
"
5 janv. 2006 17:57:25 org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO:
validateJarFile(/home/toto/workspace/cvdunetV51/WEB-INF/lib/servlet.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7.2.
>From: <[EMAIL PROTECTED]>
>
> Hi
>
> I have discovered a possible bug in Clay with respect to table th tags:
>
> This can be verified as follows:
>
> Put the following on a page
>
Yeap, I agree. That's a bug. Please create a ticket on this one so that we
don't loose track of it.
>
I forgot to change the subject on my last reply to a digest, so I am
reposting with the proper subject. Please disregard the former post and
accept my apologies.
-- Forwarded message --
Thanks for the reply. My long term goal is to transition to JSF. We are
just starting to use
It isn't unreasonable to think that a taglib will impose a performance
impact over straight scriplets because there is extra work involved in
executing the tag... the container needs to instantiate the tag class
(although maybe there is a pool, I don't know), then populate the
properties, then excu
At 9:39 AM -0500 1/5/06, Rick Reumann wrote:
Craig McClanahan wrote the following on 1/4/2006 4:24 PM:
On 1/4/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
Since I've been working on a rich client .NET app for a while, I've been
a bit out of the loop on all the latest 'goings on' in regard to
fra
Thanks for the reply. My long term goal is to transition to JSF. We are
just starting to use it at my client, so it's a bit of a trial run, but I
think we will adapt it more full-scale eventually. To start with, I want to
use JSF to develop new pages and new functionality.
When working on a new
Craig McClanahan wrote the following on 1/4/2006 4:24 PM:
On 1/4/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
Since I've been working on a rich client .NET app for a while, I've been
a bit out of the loop on all the latest 'goings on' in regard to
frameworks. (I couldn't keep up with all the Stru
Gündüz Can Topal wrote:
I setup ApplicationResources.properties file in"com.trend.struts"
package in "src" directory.
Well, the webapp expects the properties file to be on your classpath,
not in your source directory.
When you create your WAR file or deploy your web application (presumably
Gündüz Can Topal wrote the following on 1/5/2006 9:19 AM:
I setup ApplicationResources.properties file in"com.trend.struts"
package in "src" directory.
Are you sure the file is being copied over to your com.trend.struts
directory in classes? A lot of times people forget to make sure build
s
[EMAIL PROTECTED] wrote the following on 1/5/2006 9:03 AM:
Rakesh,
I think you should have following doctype in your struts-config.xml
Configuration 1.2//EN" "
http://struts.apache.org/dtds/struts-config_1_2.dtd";>
Currently you have following doctype:
Configuration 1.2//EN"
"http://jakarta.
Hey
I setup ApplicationResources.properties file in"com.trend.struts"
package in "src" directory.
In which I have
title = "MY TITLE"
element.
My struts-config line as follows :
A jsp page containing following code
<%@ taglib uri='/WEB-INF/struts-bean.tld' prefix='bean' %>
throws a jspE
Shailesh Barde wrote:
How to load a class from 2 different jars in a java class file using
ClassLoader?
Um... you want to load a single class from two different jars?!
Please try to include something about the nature of your question in the
subject header.
Dave
--
Dave,
We put tools.jar under TOMCAT_COMMON\lib folder and it started working.
Thanks and Regards,
S.Ramkumar
Associate Consultant - Investment Banking
PrimeSourcing(tm) "Add Value Reduce Risk"
i-flex solutions limited, Bangalore
Ph:+ 91-80- 22086000/57596000- extn 6873
E-Mail:[EMAIL PROTECTED]
Hi, I changed the retrieveFormName method so it now lookes like this :
function retrieveFormName(form) {
var x;
if (form.getAttributeNode) {
if (form.getAttributeNode("id") &&
form.getAttributeNode("id").value) {
x = form.getAttributeNode("id").value;
[EMAIL PROTECTED] wrote:
The problem is resolved.
For future reference, it's helpful to include how the issue was
resolved: this way the archives maintain a more complete record of
problems and resolutions.
Dave
-
To
Hello!
How to load a class from 2 different jars in a java class file using
ClassLoader?
Hi All,
The problem is resolved. Thanks a lot for all your input.
Thanks and Regards,
S.Ramkumar
Associate Consultant - Investment Banking
PrimeSourcing(tm) "Add Value Reduce Risk"
i-flex solutions limited, Bangalore
Ph:+ 91-80- 22086000/57596000- extn 6873
E-Mail:[EMAIL PROTECTED]
-Origin
Rakesh,
I think you should have following doctype in your struts-config.xml
http://struts.apache.org/dtds/struts-config_1_2.dtd";>
Currently you have following doctype:
http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd";>
Please check this in your struts.jar file also. Doctype which i
Rakesh,
Did you configure the mapping in "ActionServlet" and URL pattern "do".
You should have following configuration in your web.xml:
action
org.apache.struts.action.ActionServlet
config
/WEB-INF/struts-config.xml
1
Christopher Becker wrote:
By proxy action, do you refer to the external url that I have already
mentioned?
If so, that is what I am trying to circumvent. The external servlet
returns a response which I do not wish to display to the user of our
application and the format of the response (over whi
By proxy action, do you refer to the external url that I have already
mentioned?
If so, that is what I am trying to circumvent. The external servlet
returns a response which I do not wish to display to the user of our
application and the format of the response (over which I have no
control) does no
Pazhanikanthan Periasamy wrote:
No for both as both these are performed ast Server level thought u use JSP
scriptlets or Struts tags.
JSP tags are syntactic sugar around method calls, whereas scriptlet code
is "injected" directly into the generated servlet source. So there will
be a minor p
I dont think there should be any specific version compatible issues in
Struts and WebSphere.
What is that you are trying to do which causes this problem?
Post the code snippet to nail down if the problem is Struts related or not.
Thanks and regards,
Pazhanikanthan. P
Project Leader,
Caritor (
Hi,
I am trying to run a very simple application on struts on WebSphere 5.1
and am getting the following error:
SRVE0026E: [Servlet Error]-[]: java.lang.NullPointerException at
org.apache.struts.taglib.TagUtils.pageURL(TagUtils.java:1114) at
org.apache.struts.taglib.TagUtils.computeURLWithC
OK thx, I didn't notice the missing "return" - thats one bug then.
The only suggestion I can think of is to add a ";" in the eval expression
(after "mask()") - so something like...
replace..
oMasked = eval('new ' + retrieveFormName(form) + '_mask()');
with...
oMasked = eval('new ' + retrie
The diff is :
form.attributes["name"];
return form.attributes["name"];
Line 1361 is :
oMasked = eval('new ' + retrieveFormName(form) + '_mask()');
I can't see any difference between the two version of the retrieveFormName()
function you've pasted here.
Also can you find out whats on line 1361?
Niall
- Original Message -
From: <[EMAIL PROTECTED]>
Sent: Thursday, January 05, 2006 9:41 AM
Hi, I have replaced :
function retrieveF
Hi
I have discovered a possible bug in Clay with respect to table th tags:
This can be verified as follows:
Put the following on a page
This will give an error:
javax.servlet.ServletException: Unmatched ending non
Are you sure that the Application Server did deploy the webapp and
configure the Struts XMLs during startup?
Have you configured (in web.xml) to mandatorily validate the Struts
Configuration files during startup by the Action Servlet?
Thanks and regards,
Pazhanikanthan. P
Project Leader,
Carit
No for both as both these are performed ast Server level thought u use JSP
scriptlets or Struts tags.
Thanks and regards,
Pazhanikanthan. P
Project Leader,
Caritor (India) Pvt. Ltd.,
Madras - 600 006
Mob: 9884321672
Extn: 4307
-"Raghuveer" <[EMAIL PROTECTED]> wrote: -
To:
From: "R
Yes sir.
Kind regards,
Rakesh Bhat
PrimeSourcing(tm)
The Global IT Services business from i-flex - "Add Value Reduce Risk"
www.iflexsolutions.com/services/services.asp
i-flex solutions limited - Bangalore
Phone : (080) 5759-6873
Email : Rakesh.Bhat@ iflexsolutions.com
-Original Mess
Have u configured your web.xml with the Strust Action Servlet? Have u
associated a URL Pattern as *.do?
Thanks and regards,
Pazhanikanthan. P
Project Leader,
Caritor (India) Pvt. Ltd.,
Madras - 600 006
Mob: 9884321672
Extn: 4307
-<[EMAIL PROTECTED]> wrote: -
To:
From: <[EMAIL PROT
Does there will be any performance issue if i use struts tags like logic
tags, when comapred to
"if " condion in scriplet in JSP.
Does there will be any impact on request/responce time of use only struts
tags in JSP's.
-
Now I changed this,early it was
http://localhost:8080/Emp_App/setupEmployeeForm.do
This is not working also.
Kind regards,
Rakesh Bhat
PrimeSourcing(tm)
The Global IT Services business from i-flex - "Add Value Reduce Risk"
www.iflexsolutions.com/services/services.asp
i-flex solutions limit
http://localhost:8080/Emp_App/WEB-INF/setupEmployeeForm.do
WHY does WEB-INF pattern in the URL ? Have you protected all your
resources?
If not, It should be like
http://localhost:8080/Emp_App/setupEmployeeForm.do
This should work
Thanks and regards,
Pazhanikanthan. P
Project Leader,
Caritor
See after I click on below link in index.jsp
Add An Employee
Below is the url.
http://localhost:8080/Emp_App/WEB-INF/setupEmployeeForm.do
Kind regards,
Rakesh Bhat
PrimeSourcing(tm)
The Global IT Services business from i-flex - "Add Value Reduce Risk"
www.iflexsolutions.com/services/ser
Kindly send the URL thru which u are accessing it from the Browser. Unless
we see that we cant debug.
Thanks and regards,
Pazhanikanthan. P
Project Leader,
Caritor (India) Pvt. Ltd.,
Madras - 600 006
Mob: 9884321672
Extn: 4307
-<[EMAIL PROTECTED]> wrote: -
To:
From: <[EMAIL PROTEC
Hi, I have replaced :
function retrieveFormName(form) {
// Please refer to Bugs 31534, 35127, 35294 & 37315
// for the history of the following code
if (form.getAttributeNode) {
if (form.getAttributeNode("id") &&
form.getAttributeNode("id").value) {
Yes,sir.I am accessing it thru your browser.
Kind regards,
Rakesh Bhat
PrimeSourcing(tm)
The Global IT Services business from i-flex - "Add Value Reduce Risk"
www.iflexsolutions.com/services/services.asp
i-flex solutions limited - Bangalore
Phone : (080) 5759-6873
Email : Rakesh.Bhat@ ifle
Hi all,
For data grid I am using display Tag.
I have added radio button as a first column of my table.
My problem is
how can I get data when the radio is checked (one row only in which row
radio is checked)?
Please let me know.
Regards,
JEEVANANTHAM PARAMASAMY,
--
Greetings
Hey, you're welcome. I remembered I set up a page for highlighting errors.
It wasn't that good and didn't address your issue properly so I've updated
it - might help the next person though.
http://www.niallp.pwp.blueyonder.co.uk/strutshighlight.html
Niall
- Original Message -
From: "Rat
Hi,
I want to share my exp. with Bogdan. I m also new to struts. I started it
with sound backround in Java, JSP and Servlets. I read various articles on
struts and it's benefits and then I deployed Lesson 1 from Rick's tutorial.
Initially I face some problems in understanding struts framework an
Kristian,
Could you please reply to the mailing lists rather than me directly, thx.
I applied a patch to Commons Validator 1.2.0 which resolved an IE5.5
issue
http://issues.apache.org/bugzilla/show_bug.cgi?id=37315
...and I was hoping that would resolve your issue.
The second error you men
You have not specified how you are accessing it thru your browser.
Thanks and regards,
Pazhanikanthan. P
Project Leader,
Caritor (India) Pvt. Ltd.,
Madras - 600 006
Mob: 9884321672
Extn: 4307
-<[EMAIL PROTECTED]> wrote: -
To:
From: <[EMAIL PROTECTED]>
Date: 01/05/2006 02:23PM
Subj
Hi,
I have just started writting struts application,however i am getting a
HTTP 404 error.
Below is my index.jsp
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"; %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
Add An Employee
Here
Hi,
What would be the best server to use to run a J2ee application made with Struts
? Would be nice to have some free licence options but also those that costs
money.
My application would connect to a postgresql db, put/get data on/from it within
a website which displays the almost the same kin
60 matches
Mail list logo