hi apurva ,
> To be precise you can java.math.BigDecimal and then convert your result
> into string object.
Thanks for ur reply . The equation builder can be achieved this way.
But if the query is complex it takes a long way ... like looking for the
innermost brackets, aplying square roots , sq
Hi Sachin,
You can use java.math class to achieve what you want.
To be precise you can java.math.BigDecimal and then convert your result
into string object.
Hope this helps.
Cheers
Apurva
-Original Message-
From: sachin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 04, 2005 5:34 P
hi ,
I have equation in String format
like
String equ = "((123*123+567-7899*340)/1234)*1000";
now i want to execute this equation and get the result ..
How can i achieve this in java ?
note : This is not a struts -related issue ... yet i need help so i posted ..
hope nobody minds much
R
T.T.,
If you want to display something form the session object stored with
"Constants.USER_KEY" in /search.jsp (your "success" forward), you don't need
to copy the values in your Action's execute() method. Just specify another
bean (in any scope) with the 'name="User"' attribute/value pair. Of
Hi,
And this happens only for the first time I open the
browser and perform the action.
Thanks
-Aswath
--- ans <[EMAIL PROTECTED]> wrote:
> Hi,
> I am using the following request tags from jakarta
> taglibs in my JSP
>
>
>
>
> I am checking in my action class and the session is
> availab
Hi,
I am using the following request tags from jakarta
taglibs in my JSP
I am checking in my action class and the session is
available and I forward to the JSP containing the
above lines.
Why does it always get forwarded "SessionExpired.jsp"
-Aswath
__
Set filter=false in the bean:write tag. RTFM for more info.
> -Original Message-
> From: kjc [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 03, 2005 5:58 PM
>
> I'm trying to use the struts bean:write tag to render an html page.
> The html that I would like to display is generated
Hi,
I havn't use multi-module but multi-config.xml.
My setting of Validator is centralised in one config.xml.
You may try.
Good Luck.
Cliff
- Original Message -
From: "Leigh Estes" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, January 04, 2005 8:06 AM
Subject: validation issues when u
I'm trying to use the struts bean:write tag to render an html page.
The html that I would like to display is generated dynamically based on
a given parameter
that is passed to my action.
I place the generated html in a string that is contained in a form.
When returning from the action. The HTML i
Hi,
It is already in the web.xml file, still it is giving the error.
Thank you.
Sudheer
-Original Message-
From: Richard Yee [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 02, 2005 9:55 PM
To: Struts Users Mailing List
Subject: Re: (newbie) Error when installed Struts 1.2
Sudheer
Hi All,
I've developed several web applications over the last 10 years, mostly
based on Perl CGI. The 2003 project I did
made me swear off CGI and look for something that does a better job of
maintaining session and data across pages,
among other things. Struts seems to fit the bill.
But: what's
No one ever responded to my follow up, so I'm trying again:
It is version 1.2.4.
1) Both modules (root module and submodule) are configured as follows in
web.xml:
action
org.apache.struts.action.ActionServlet
conf
http://wiki.apache.org/struts/StrutsUpgradeNotes11to124
Jim Douglas wrote:
I just noticed a difference between the struts-tiles.tld files
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd";>
1.0
1.1
Tiles Tag Library
http://jakarta.apache.org/struts/tags-tiles-1.1
"http://java.sun.com
I just noticed a difference between the struts-tiles.tld files
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd";>
1.0
1.1
Tiles Tag Library
http://jakarta.apache.org/struts/tags-tiles-1.1
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd";>
1.2
1.1
tiles
http://struts.apach
useAttribute is in struts-tiles.tld...still no luck. This is frustrating
because it is from the example that comes with Tiles. Does anybody know of
any IDE's that allow you to step thru JSP code?
...this is vboxLayout.jsp,
<%@ page import="java.util.Iterator"%>
<%@ taglib uri="/WEB-INF/struts-
It simply says it can't find tile definition referenced by "name" attribute of
your "useAttribute" tag. Try to check out if your tiles definitions.
Pavel
On Mon, 03 Jan 2005 03:08:57 +, Jim Douglas <[EMAIL PROTECTED]> wrote:
> I used the example that came with tiles to create a site and I ke
On Mon, 3 Jan 2005 11:16:16 +0200, dsarris <[EMAIL PROTECTED]> wrote:
> I am trying to fill an ActionForm with values that are neither Strings
> or primitives.
I think you can do it by extending the RequestProcessor class
and overloading "processPopulate" method or something like that.
But in ge
Creating the underlying HTML yourself is relatively trivial. I did
something similar a few months back...
I had to create a web-based repot design tool (let's not get into why we
couldn't use any of the millions of canned solutions to this...)
Anyway, the report itself was basically constructe
On Thu, 30 Dec 2004 17:27:38 + (UTC), Partho
<[EMAIL PROTECTED]> wrote:
> I need display html tags on the screen such as text fields, radio
> buttons etc by reading them from the database.
>
> Is there any way that the text fields/radio buttons can be created
> dynamically, in struts framewor
No, you will not be able to use the struts tags to generate these
(html:text, html:radio). You will need to do this 'by hand' unless you can
find some other component/framework that can handle this use case.
I had the displeasure of working on such a beast about 5 years ago..and
let me jus
Jim Barrows sssc.com> writes:
>
> > -Original Message-
> > From: news [mailto:news sea.gmane.org]On Behalf Of Partho
> > Sent: Thursday, December 30, 2004 10:28 AM
> > To: user struts.apache.org
> > Subject: read html tags from database and display
> >
> >
> > I need display html tag
I need display html tags on the screen such as text fields, radio buttons etc
by reading them from the database.
Is there any way that the text fields/radio buttons can be created dynamically,
in struts framework, by reading the list of html tags from the database. I
would not like to hard cod
Happy new year!
Since I posted this problem before Christmas and didn't get answer, I post it
again.
. I have such action mapping:
-
The code in the "PopulateAction" class is:
---
public ActionForward execute
Hi all and happy new year,
I am trying to fill an ActionForm with values that are neither Strings
or primitives. The specified values are selected using the
tag. This a sample of my JSP code:
On Fri, 31 Dec 2004 09:53:12 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote:
> Yes. Use JSTL instead.
>
> Jack
>
> On Fri, 31 Dec 2004 15:29:45 +0100, Axel Gross
> <[EMAIL PROTECTED]> wrote:
> > hi there!
> >
> > the el libs use the jsp 2.0 expression language (${} instead of <%= %> )
> > If you d
25 matches
Mail list logo