hi
i have station form and in the same form i have station addresses , these
are adding dynamically, depending on necessity.i mean , station may contains
multiple address, in the same form. when i submitting the form
stationAddress as filed name, i am getting array out index problem in Fire
F
Guys, please read a classpath tutorial. There's a decent one here:
http://www.kevinboone.com/classpath.html
The following section is especially relevant that I've copied from that
page for you:
JARs on the classpath
The java compiler and run-time can search for classes not only in
s
hi,
i hv done what u said
n now my calsspath is
CLASSPATH=C:\Program Files\Java\jre1.6.0_01\lib\*
still i face the error.
bindhu wrote:
>
> hai,
>
> when trying to open my jsp page in browser i get this error. can
> anyone plas help me.
> type Exception report
>
> message
>
> descr
Hi.. Remove servlet-api and struts lib and apache tomcat libe jar files from
the classpath...
bindhu wrote:
>
> hi,
>
> thank u . i removed what u said
>
> so now my classpath looks like this
>
> CLASSPATH=C:\Program
> Files\Java\jdk1.6.0_01\lib\servlet-api.jar;C:\struts1.3.8\l
> ib\*;C:\
try to clean up all in your classpath
make sure your JAVA_HOME and CATALINA_HOME is available.
On 7/2/07, bindhu <[EMAIL PROTECTED]> wrote:
hi,
thank u . i removed what u said
so now my classpath looks like this
CLASSPATH=C:\Program
Files\Java\jdk1.6.0_01\lib\servlet-api.jar;C:\struts1.3.
hi,
thank u . i removed what u said
so now my classpath looks like this
CLASSPATH=C:\Program
Files\Java\jdk1.6.0_01\lib\servlet-api.jar;C:\struts1.3.8\l
ib\*;C:\apache-tomcat-6.0.13\lib\*;C:\Program Files\Java\jre1.6.0_01\lib\*
but i face the same problem. i dont use any IDE right now.
bi
Hi bindu,
you dont have to put your tomcat\lib, and your jre\lib onto your classpath,
when tomcat load up your JSP, its classloader will checkout libs that are
needed ... also, it is a very bad idea to export same jar from different
location ...
Clean up your classpath, it should work.
Regards
Hi,
I have the following iterator
above expression get evaluated correctly but
in the same iterator I got the following but this
doesnt get evaluated, Why these two are handled
differently, why cant we make it consistent.?
The below one works when I make is %{studId} bu
If you see your classpath, you have two different versions of
servlet-api.jar.. and moreover in the systems classpath, I suggest not to
keep any tomcat or any specific jar files except your JDK/JRE jar files..
and whe n you deploy your web-app and if you have all jars included in your
web-inf/lib
Thanks,
As I mentioned earlier, I need to have id,
because I got if statements and logic inside, it is
not merely diplaying the value.
This bug needs to be fixed.
Till then be carefull
--- Adam Ruggles <[EMAIL PROTECTED]> wrote:
> Have you tried this?
>
>
> Value of the arry is
>
>
hi kiran,
thank u for ut reply. i have all the dependencies in my WEB-INF\lib
directory. struts-trmplate, struts-logic, struts-form, struts-bean, struts.
still i face thsi same error.
and my class path is as follows
CLASSPATH=C:\apache-tomcat-6.0.13\lib\servlet-api.jar;C:\Program
Files\Java
Hai Bindhu,
This org.apache.struts.taglib.html.FormTag is in struts core jar file..
Check if this jar and all its dependents exist in your web-inf/lib..
Kiran
bindhu wrote:
>
> hai,
>
> when trying to open my jsp page in browser i get this error. can
> anyone plas help me.
> type Except
check your struts jar file see if the tag handler classes there ...
On 7/2/07, bindhu <[EMAIL PROTECTED]> wrote:
hai,
when trying to open my jsp page in browser i get this error. can
anyone
plas help me.
type Exception report
message
description The server encountered an internal error
Hi,
I'm still a newbie here, but I've encountered this type of errors before. From
my limited experience, it seems to me that you are missing a .jar file in your
WEB-INF/lib directory. The servlet filter can't find the FormTag class when a
request is passed. Make sure you have the correspond
hai,
when trying to open my jsp page in browser i get this error. can anyone
plas help me.
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
org.apache.jasper.JasperException: javax.servlet.Ser
Have you tried this?
Value of the arry is
tom tom wrote:
I did further investigation,
I think this is a bug, I think this is a very scary
bug.
You dont need three iterators, I could reproduce this
very easily,
In your action class have the following,
String[] testArray = new Stri
What?
[n] accessing the stack at the given level: [0] is the
root, [1] is the previously-pushed item, etc.
<%-- inner it. value
--%>
<%-- outer it. value
--%>
(AFAIK, anyway; can't test at the moment.)
d.
--- tom tom <[EMAIL PROTECTED]> wrote:
> index is variable, without intro
index is variable, without introducting a scriptlet
with int i=0 and the have i++, Is there any other
inbuild way?
Thanks
--- Dave Newton <[EMAIL PROTECTED]> wrote:
> --- tom tom <[EMAIL PROTECTED]> wrote:
> > What did you mean by
> >
> > "is an issue iff you're using an id"
> >
> > What else
--- tom tom <[EMAIL PROTECTED]> wrote:
> What did you mean by
>
> "is an issue iff you're using an id"
>
> What else can I use to get the value inside an
> Iterator?
Stack notation, like [0].foo etc. It's a kludgy
workaround for this situation but it should work.
d.
_
Hi,
What did you mean by
"is an issue iff you're
using an id"
What else can I use to get the value inside an
Iterator?
Thanks
--- Dave Newton <[EMAIL PROTECTED]> wrote:
> --- tom tom <[EMAIL PROTECTED]> wrote:
> > WHAT it prints is following Issue is for the 4th
> > index also it prints test
Yes this definitely is a bug to me,
How can I make a JIRA issue for this, what is the URL,
I Dont think we can go to production with this issue,
Is there a way to get a patch for this,
Should we have to wait for the next release ?
Thanks,
--- Dave Newton <[EMAIL PROTECTED]> wrote:
> --- t
--- tom tom <[EMAIL PROTECTED]> wrote:
> WHAT it prints is following Issue is for the 4th
> index also it prints test, it should print empty
>
> Value of the arry is test0
> Value of the arry is test1
> Value of the arry is test2
> Value of the arry is test
> Value of the arry is test
I agree; t
I did further investigation,
I think this is a bug, I think this is a very scary
bug.
You dont need three iterators, I could reproduce this
very easily,
In your action class have the following,
String[] testArray = new String[5];
testArray[0]="test0";
tes
Before anything try model driven interface if you are
not doing any portlet developments.
Thanks,
--- [EMAIL PROTECTED] wrote:
> Hi All,
>
> As there is no concept of Action form beans in
> struts 2.0 we have to define
> the field attributes in the Action class.
>
> I am using the same action c
Hi,
I have one classic HttpServlet for dynamically rendering an image from given
(database retrieved) data. Actually this servlet takes data from session
(previously retrieved from database and put inside session) and renders the
image. Since this is not Action but classis servlet it is mapped
Wouldn't it be cleaner if
(1) the setSession(Map session) signature of SessionAware was changed to
setSession(SessionMap session) and
(2) the implementation of the invalidate method on internally took care of
dealing with already timed out sessions? (if one really wanted to know if
the session
Please go ahead.
> - Original Message -
> From: "Dave Newton" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> Subject: Re: [S2] Session Invalidation through SessionAware interface
> Date: Sun, 1 Jul 2007 10:47:18 -0700 (PDT)
>
>
> --- Ray Clough <[EMAIL PROTECTED]> wrote:
> > Th
--- Ray Clough <[EMAIL PROTECTED]> wrote:
> Then to invalidate the Session, I do this [code]
Oh, I had no idea! If you have wiki karma maybe add a
FAQ entry, otherwise with your permission I'll do it.
d.
__
I use the "SessionAware" interface to retrieve a Map of the session. Then to
invalidate the Session, I do this:
if (session instanceof
org.apache.struts2.dispatcher.SessionMap) {
// it is possible that the session will have timed-out
between the
29 matches
Mail list logo