The object should be Collection object... not just simple String array
Thanks and regards,
Pazhanikanthan. P (Paz)
Consultant for AXA,
Senior Software Engineer,
HCL Australia Services Pty. Ltd.
Off : +61-3-9618-4085
Mob : +61-0411-354-838
Ashish Vijaywargiya <[EMAIL PROTECTED]>
07/09/2006 0
Thx for the reply puz.
I changed as you said.
and kept the values in pageContext and i also converted the member variable to
"public static".
<%
request.setAttribute("hours", StaticData.hours);
request.setAttribute("minutes", StaticData.minutes);
%>
But in the combo box it is not populating th
since the package name is "code", the .class files are found in
WEB-INF/classes/code folder.
On 9/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Is the class files under the folder "WEBAPP\WEB-INF\classes"???
Thanks and regards,
Pazhanikanthan. P (Paz)
Consultant for AXA,
Senior Software
Is the class files under the folder "WEBAPP\WEB-INF\classes"???
Thanks and regards,
Pazhanikanthan. P (Paz)
Consultant for AXA,
Senior Software Engineer,
HCL Australia Services Pty. Ltd.
Off : +61-3-9618-4085
Mob : +61-0411-354-838
"Tom Jerry" <[EMAIL PROTECTED]>
07/09/2006 04:13 PM
Please
Yes. Both LoginAction.java and LoginForm.java are in code package. Please
let me know if I have to send you the entire folder ? What you mean by this
"loaded within the Web Appilication." ???
On 9/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Are you sure that the Form Bean class i
Are you sure that the Form Bean class is loaded within the Web
App;lication.
Id teh package correct: code.LoginForm???
Thanks and regards,
Pazhanikanthan. P (Paz)
Consultant for AXA,
Senior Software Engineer,
HCL Australia Services Pty. Ltd.
Off : +61-3-9618-4085
Mob : +61-0411-354-838
"T
There are no database operations. It is the simplest one. I am learning by
example.
http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd";>
Please let me
Did you mention LoginForm in struts-config properly - I mean
And mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 9:51 AM
To: Struts Users Mailing List
Subject: Re: exception
Error 500--Internal Server Error
javax.servlet.jsp.JspException: Exceptio
Pls Send your Struts-Config.xml.
-Original Message-
From: Tom Jerry [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 11:03 AM
Cc: Struts Users Mailing List
Subject: Re: exception
This is the entire stack
SEVERE: Error creating form bean of class code.LoginForm
java.lang
The Error happens while instantiating the FormBean.
Are you having something different while the formbean creation? like
abstract class or something??? Do you do any database operations???
Thanks and regards,
Pazhanikanthan. P (Paz)
Consultant for AXA,
Senior Software Engineer,
HCL Australia Se
This is the entire stack
SEVERE: Error creating form bean of class code.LoginForm
java.lang.NullPointerException
at org.apache.struts.config.FormBeanConfig.createActionForm(
FormBeanConfig.java:212)
at org.apache.struts.util.RequestUtils.createActionForm(
RequestUtils.java:292)
at or
I am using Weblogic 8.1 SP3
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
Tom,
Can you post the JSP code?
Are you using WebLogic Portal 4.0 or WebLogic Server 6.1 SP5 version??? If
so, Struts bean:define doesnt work in that version of software based on my
experience.
Thanks and regards,
Pazhanikanthan. P (Paz)
Consultant for AXA,
Senior Software Engineer,
HCL Austr
Error 500--Internal Server Error
javax.servlet.jsp.JspException: Exception creating bean of class
code.LoginForm: {1}
at org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:487)
at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:457)
at jsp_servle
Create the Interface attributes / member variables as "public static "
attributes.
Then in the JSP use the attribute and set the value into pageContext.
then u can easily use it wityh Struts tag libs.
Thanks and regards,
Pazhanikanthan. P (Paz)
Consultant for AXA,
Senior Software Engineer,
HCL
Hello,
I created an Interface as the code shown below :
public interface StaticData {
String[] minutes = { "01", "02", "03", "04", "05", "06", "07", "08", "09",
"10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20",
"21", "22", "23", "24", "25", "26", "27",
Hello all,
I am somewhat new to struts and I'm attempting to create an application that
uses tiles.
I obviously have something configured incorrectly because I get a 404 error
when attempting to display my page.
Here's what I've done so far:
1) Create a template jsp page called site
I'm getting the following:
SEVERE: Error listenerStart
I know it's the spring file because if I comment everything out it works fine.
http://www.springframework.org/dtd/spring-beans.dtd";>
Ok, so not specifically a Struts question, but anway...
I'm using the fmt:formatDate element in a JSP and it appears that when
the value of my "pattern" attribute includes "zz" (the time zone, my
full format is "hh:mm a zz") then for US time zones (e.g. PST, PDT, MST,
MDT, etc...) then the sam
Struts uses the "name" attribute to repopulate your form on
submit. So if you have an action /someAction mapped to a form bean
named "myForm", it should look like , and thus . So in your
JavaScript you can refer to document.myForm.
unless of course you're using xhtml mode, in which case i
If your "type" attribute equals
"org.apache.struts.actions.ForwardAction" (and there may be others) then
you don't need the name attribute. You are getting that error because
you are specifying a custom action and there's no associated form bean.
You can use ForwardAction if you just want a U
Is there some way to not use an actionform bean in your JSP. I get the
error message...
Cannot retrieve definition for form bean null on action
when I do not include a "name=" in my struts config action. Thanks.
Oh
Nice Answer.
I like it.
Thanks for it Scott.
Regards
Ashish Vijaywargiya
Scott Van Wart <[EMAIL PROTECTED]> wrote: Ashish Vijaywargiya wrote:
> Hi,
>
> Anybody of you know the specific reason of "Why the "name" attribute is not
> provided in the tag???".
>
On 9/5/06, David Friedman <[EMAIL PROTECTED]> wrote:
But let's be serious: who actually reads the DTD? For a document few people
probably ever check, it is full of enlightening information.
I've been working with the DTDDoc developers to help get their Maven
plugin ready to release, and we re
Ashish Vijaywargiya wrote:
Hi,
Anybody of you know the specific reason of "Why the "name" attribute is not provided in the tag???".
Thanks in advance.
Regards
Ashish Vijaywargiya
Struts uses the "name" attribute to repopulate your form on submit. So
if you have an action /someAction m
Hi,
Anybody of you know the specific reason of "Why the "name" attribute is not
provided in the tag???".
Thanks in advance.
Regards
Ashish Vijaywargiya
-
Get your email and more, right on the new Yahoo.com
Hi,
I have a page with three tiles. Is there a way to share a variable
between these tiles?
I want to set the variable in one tile and access its value in the other
two tiles. I don't know if it is relevant - I am using tile controllers
to populate data needed by each of the tiles to draw that til
What is the full stack trace in your application server logs?
-Original Message-
From: Tom Jerry [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 06, 2006 12:48 PM
To: user@struts.apache.org
Subject: exception
Why do I get an "exception in creating bean"
--
Why do I get an "exception in creating bean"
Michael,
> What about translets?
The work has to be done somewhere, so it takes time. Perhaps translets play
in the same league as JSP compilers?
> But the gain of different (and more convenient for some) programming model
may overweight extra effort.
Sure. Although I do not see so much of a diff
Use rather than plain old
Neil Meyer wrote:
Hi All,
I need some urgent help please. I have the following code which is working
perfectly to get the data to my action.
I'm using paging on this page so when I move around and come back to the page
where I selected the select box the data should
On 9/6/06, Colin Doyle <[EMAIL PROTECTED]> wrote:
Before migrating my application from Struts 1.1 to 1.3, I would like to
know roughly how close Release 1.3.X would be?
Struts 1.3.5 has been released as Beta and there's a good chance it
will be promoted to General Availability. Every report o
Colin,
I remember trying to use MyFaces with Struts-Faces
when I was first learning JSF. Unfortunately, it did
not work. I had to use the Sun RI as mentioned in the
early (Struts 1.1 Struts-Faces) README File but even
then I didn't "feel" it:
* Add the following JAR files from the JavaServer Fa
On 9/6/06, Vaylee Mckenzie-Daniels (VA) <[EMAIL PROTECTED]> wrote:
> I am struggling to find resources on how to enable the validation
> only when submit is selected. Validation should not be done when
> cancel is selected.
If you use JSP for the view part of your app, then use
to render Ca
Hi All,
I need some urgent help please. I have the following code which is working
perfectly to get the data to my action.
I'm using paging on this page so when I move around and come back to the page
where I selected the select box the data should still be selected.
I checked the action and the
On 9/6/06, Martin Kindler <[EMAIL PROTECTED]> wrote:
Hi Artem,
this is an interesting question.
Some years ago I was involved in the design of a system which used a XML and
XSLT to translate the content to various output formats (not only
XML-based). It was an elegant solution but also a hard wa
Assuming you've turned off the automatic validation (validate="false" in
struts-config.xml), then you can programmatically determine which button was
pressed in your execute() method, via request.getParameter("btn_cancel") for
example, then decide not to call something.
public ActionForward exe
Rokariya, Raman wrote:
Hi,
I am developing Web Client using Struts framework. I am facing problem
in following scenarios.
My application has a Pop Up Window which refreshes after some regular
interval (minutes). The first time when the window opens, the data which
is displayed in
Tabular Grid
What session "limitations" are you encountering?
Is this something that simply fixing the amount
of time before a session timeout would fix since
many containers support that feature?
Would you be better served saving the data in
application scope under some key and then having
a scheduler, like Q
And if your looking for an AJAX solution, AjaxParts Taglib (APT) in Java
Web Parts (JWP) offers an XSLT response handler that does its work on
the client, and as is typical with APT, it's all done without you
writing any code yourself...
http://javawebparts.sourceforge.net
Click on the javado
Hi,
I am developing Web Client using Struts framework. I am facing problem
in following scenarios.
My application has a Pop Up Window which refreshes after some regular
interval (minutes). The first time when the window opens, the data which
is displayed in
Tabular Grid is fetched through the We
> I am struggling to find resources on how to enable the validation
> only when submit is selected. Validation should not be done when
> cancel is selected.
>
> Please help.
>
> Thx
> Vaylee
~~
This e-mail and its contents are sub
One note to what Martin and Antonio said.
If you can live with what browsers make out of your xslt/xml then go
for it. Having the rendering on your server is a huge performance
break.
But if you can let the browser do the rendering, than its a very cool
alternative.
regards
Leon
On 9/6/06, Artem
Artem Zhmurov ha scritto:
Maybe someone already using that scheme (or have
tried to use)?
Check out StrutsCX and STXX:
http://it.cappuccinonet.com/strutscx/index.php
http://stxx.sourceforge.net/
These links are only to help you but I agree with the things Martin wrote.
Ciao
Antonio
--
Hi Artem,
this is an interesting question.
Some years ago I was involved in the design of a system which used a XML and
XSLT to translate the content to various output formats (not only
XML-based). It was an elegant solution but also a hard way to go.
I have been developing a multiclient site for
Try
...
...
> -Original Message-
> From: SrinivasaReddy [mailto:[EMAIL PROTECTED]
> Sent: Saturday, September 02, 2006 3:30 PM
> To: user@struts.apache.org
> Subject: Checking the request attribute by using the Struts tags in the
> next jsp page..
>
> Hi..,
>
> I am setting the po v
Hi everybody.
What if we use struts to make XML with view data in it, and than use XSLT.
Making XML with struts will be much easier than any other ways of making
XML. There will be less or even no view-logic in action classes. And it's
more convenient to make different *.xsl files for different
Hi,
I've been trying without success over the last few days to get an
application written using Struts 1.1 to use JSF by using
myfaces-all.jar. I haven't been able to find an up-to-date released
version of struts-faces, and was wondering whether this has been parked
in favour of Shale?
The foll
Perform following steps:
1. in Custom-forms.xml, put entries for all JSP fields with validators
like maxlength,required,excludeKnownBad etc.
2. in Struts Action-Mapping put validate=true.
3. Use where formName must be same as
in actionMapping and in Custom-Forms.xml
Hope this helps
/Raman
--
hai,
i am using validation in my application
i am using LoginForm to bean
this is ordinary action not a dynaactionform
how to validate form fields using validation.xml
50 matches
Mail list logo