> Hello,
>
> It's a long mail, after a long day.
>
> Following is the scenario I am trying to get it done.
>
> My current processing:
>
> I have a BuddyListForm bean that has three instance variables
> name,alias and phoneno.
>
> code on my JSP page to iterate over the collection:
> scope="sessi
I have noticed that putting .properties files into a
jar and including the jar into the lib directory
solves the problem of the MessageResource. Wouldn´t it
be a good idea delivering Struts with all the classes
packed into a jar hence Struts would install out of
the box in Weblogic...
Greetings,
What I am doing in my applications to protect private areas is the following:
I protect all my *.jsp pages (by naming them *.jspp), so the user can not
directly access them (achieved by Apache configuration). Now I have an action
for each page in struts-config.xml like
which
Hi all,
I have the following situation.
I have a jsp page with a large table. This table is filled using the
logic iterate tag. I get the data from a bean and this works fine. In
my structures, every row represents a data item from the bean.
Now, apart from displaying the data, on each row I hav
Hello,
It's a long mail, after a long day.
Following is the scenario I am trying to get it done.
My current processing:
I have a BuddyListForm bean that has three instance variables
name,alias and phoneno.
code on my JSP page to iterate over the collection:
Thanks for everyone's help. I found the problem after all the kind souls
pointed out it was a startup problem. It turned out that in tomcat 4, the
XML parsers are not exposed but struts needs the parsers to work. So, I
moved the crimson.jar and jaxp.jar from ${TOMCAT_HOME}/jasper/lib to
${TOMCAT_H
Hi,
Is there a way to associate an image with the 'Reset' button?
Thanks.
-Nimmi
Hi,
Is the page your submitting from encoded in utf-8?
If not you may have problems. For best results you should set the
encoding of the page to the same as the encoding you set using unctype.
I recommend using s-jis (shift jis) which is most commonly used in Japan.
UTF-8 should also work if y
Title: Struts Action Graphs
Outstanding! - get get2hawaii dev team thanks
you!
-Original Message-From: Nanduri, Amarnath
[mailto:[EMAIL PROTECTED]]Sent: Thursday, March 22,
2001 10:18 AMTo:
'[EMAIL PROTECTED]'Subject: RE: Struts Action
Graphs
precisely
-O
It looks like you don't have your controller servlet defined to be
. This is needed in order to initialize several servlet
context attributes used on the JSP pages -- among them the
internationalized message resources.
Craig
In the log, these are the only hints I have gotten:
2001-03-22 14:23:59 invoker: init
2001-03-22 14:23:59 jsp: init
2001-03-22 14:24:47 jsp: init
2001-03-22 14:24:47 StandardWrapperValve[jsp]: Servlet.service() for servlet
jsp
threw exception
javax.servlet.ServletException: Cannot find message re
On Thu, 22 Mar 2001, hunkpapa wrote:
> Hi I've a prolem.
> What is the cause of this error ?
>
> Error 500
> Location: /shop1/login.do
> No action instance for path /login could be created
>
>
Check the log files for your servlet container. It's most likely, though,
that Struts could not cr
Hi I've a prolem.
What is the cause of this error ?
Error 500
Location: /shop1/login.do
No action instance for path /login could be created
Hi everyone.
Just a quick, somewhat newbie, question. I need to sometimes require a login,
depending on the user, when the user first enters the web app. I am thinking I
should make the first "page" an action which will check to see if the user
requires a log in, and redirect them to that pag
Hi,
How would you go about rendering a form containing multiple instances of,
say, address in a JSP? The following code works fine for us only if we
know in advance how many addresses there are. If use the
tag to render a collection of addresses, we lose the benefit of getting the
updated
On Thu, 22 Mar 2001, emi john wrote:
> Hi,
>
> I had similar problem before. It looks like there is
> compatibility issue here. As I put old version
> struts.jar in the example lib directory, everything
> seems working fine. So the example doesn't work with
> new struts.jar (tested in JRun 3.0
Title: Struts Action Graphs
precisely
-Original Message-From: Derek Longmuir
[mailto:[EMAIL PROTECTED]]Sent: Thursday, March 22, 2001 3:09
PMTo: '[EMAIL PROTECTED]'Subject: RE:
Struts Action Graphs
I'm
glad that it helped you out.
I
will look into adding co
Title: Struts Action Graphs
I'm
glad that it helped you out.
I will
look into adding colours for you. I think you meant the struts-config.xsl for
the colour definitions, right? I'm not planning on changing any of the struts
files.
Derek.
-Original Message-From: Nanduri, Amarn
Hi,
I have a form that is supposed to accept Japanese text. I set
enctype="utf-8" but my ActionForm is not getting any of these Japanese.
I'm not sure if this is a problem of WebLogic that is not parsing the
request stream with the right encoding or is it that I have to implement my
own multipart
What the compiler of IBM does is that it also imports the generated java code
inside the ide, so that you can debug is. Therefore does ibm has it's own compiler.
Johan
- Original Message -
From: "Tom Miller" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 22, 2001 7:3
I failed to mention that I am running tomcat 4.0 b2 nightly build as well.
Thanks!
keith
-Original Message-
From: Keith Kee [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 2:01 PM
To: [EMAIL PROTECTED]
Subject: struts-example/index.jsp failed
Hi:
I just download a copy of
Hi,
I had similar problem before. It looks like there is
compatibility issue here. As I put old version
struts.jar in the example lib directory, everything
seems working fine. So the example doesn't work with
new struts.jar (tested in JRun 3.0). However, under
Tomcat 3.2, everything is fine.
Whi
Hi:
I just download a copy of the nightly build struts, and after
deployment, I cannot access the url: http://localhost:8080/struts-example
with a error. I am new with struts, but it seems like it is tried to access
a static string in the action class.
javax.servlet.ServletException: Cannot f
Does anyone know how IBM VisualAge for Java's JSP compiler compares? Those using the
Tomcat Test Environment supplied by IBM have the option to substitute
com.ibm.ivj.tomcat.IVJJavaCompiler for the jspCompilerPlugin in Tomcat's conf/web.xml
file.
Actually, I'm using VAJ, and have experimented
On Thu, 22 Mar 2001, Kare Nuorteva wrote:
>
> Hello,
>
> Because RedirectingActionForward does HttpServletResponse.sendRedirect(),
> which sets HTTP Location header to response. You probably save your beans
> to request scope and because Location header can be the only header in
> response (/
Of course, you have reference to this class if you have compiled your LogonForm
class with struts.jar. But one thing is to compile, other thing it is to
run. When you run your application Tomcat must to find struts.jar under
your_app/WEB-INF/lib. ApplicationMapping class is in your application t
On Fri, 23 Mar 2001, Manuel Alzola wrote:
> Hello.
> No reference to ActionForm in all the project. There is one thing that I don´t
>understand in the struts example that may have relation since my project is based on
>that. I see no place where ApplicationMapping is configured as the ActionM
On Thu, 22 Mar 2001, DONNIE HALE wrote:
> Jasper doesn't generate bytecode, it generates java code (i.e.
>myjsp-generatedservlet.java). A regular java compiler is then used to compile that
>into bytecode. The issue with Jasper, from what Craig was saying, is that it's a very
>brute-force gen
On Thu, 22 Mar 2001, Mark Balster wrote:
> If Jasper is generating some inefficient code, would Jikes help?
>
Not really. The code generated for your page will still do more stuff
than it needs to ... but it will compile faster :-).
What matters the most is what kinds of optimizations the p
Darryl wrote:
>
> 500 Internal Server Error
>
> javax.servlet.jsp.JspException: Cannot find ActionMappings
> or ActionFormBeans collection
> at
> org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:703)
Take a look at your logon.jsp
At the risk of sounding flip, so repack them in the Action. Define an object that can
contain both
elements, and create an ArrayList of those objects, each object populated from the
corresponding
element from each of the two arrays. Then put that collection in the request or
session and use it
We do this exact thing. In the Action that leads to the display of the jsp with the
multibox we use
the code below. Given an object (created from the database) that has an ArrayList of
the ids the
user previously selected:
ArrayList list = (ArrayList)obj.getCheckedIssueIDList();
Hello.
No reference to ActionForm in all the project.
There is one thing that I don´t understand in the struts example that may have
relation since my project is based on that. I see no place where
ApplicationMapping is configured as the ActionMapping for the
aplication.
- Original Me
Hi all,
I'm a relative newbie to Struts. I'm developing a reusable login component
and have just got it packaged into a WAR file today in order to test. Unfortunately
I'm getting the following error when trying to pull up the default JSP
page that has a few form: struts tags in it.
500 Internal
Title: Struts Development : tep by step.
check
out this website also
http://www-106.ibm.com/developerworks/library/j-struts/index.html?open&l=jls
-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Sent: Thursday, March 22, 2001 10:07
AMTo: [EMAIL PROTECTED]Su
Jasper doesn't generate bytecode, it generates java code (i.e.
myjsp-generatedservlet.java). A regular java compiler is then used to compile that
into bytecode. The issue with Jasper, from what Craig was saying, is that it's a very
brute-force generation of the java servlet code. It doesn't do
Title: Struts Development : tep by step.
The
url for Bluestone is below:
HP Bluestone is pleased to offer you another free
download: Struts Trail Map
www.bluestone.com/download.
Regards,Todd
-Original Message-From: Nanduri, Amarnath
[mailto:[EMAIL PROTECTED]]Sent
Title: Struts Action Graphs
Derek,
That is super
cool. I showed a graph to my lead designer (of the struts_config.xml
we are using in our project) and he was jumping up and down with joy. Kudos to
your XSL . One question i have is... can it be colorcoded ? I would like
the jpeg
Hello,
Because RedirectingActionForward does HttpServletResponse.sendRedirect(),
which sets HTTP Location header to response. You probably save your beans
to request scope and because Location header can be the only header in
response (/ http spec) the original request is deleted.
Forget reason
Title: Struts Development : tep by step.
Bluestone page has a very decent example with diagrams. i forgot the url
though...
-Original Message-From: Tewathia, Atul
[mailto:[EMAIL PROTECTED]]Sent: Thursday, March 22, 2001
6:16 AMTo: [EMAIL PROTECTED]Subject: Struts
Development
If Jasper is generating some inefficient code, would Jikes help?
- Original Message -
From: "James Cook" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 21, 2001 8:55 AM
Subject: RE: Performance of struts
> I find the 240ms delay satisfactory for most of my apps becau
In the example application, I'm setting the 'forward' property for the
ActionServlet to 'org.apache.struts.action.RedirectingActionForward' as
described in the user guide (that's because I like to see more reasonable URLs
in the browser).
When I do this, however, the application ceases to work.
Title: Struts Action Graphs
Derek,
That is really cool!
Thanks,
Bryan
Derek Longmuir wrote:
[EMAIL PROTECTED]">Hi everyone,
I have created some XSL that takes the (old) action.xml and (new) struts-config.xml
files and produces a graph showing the various forwards, forms, actions,
etc. You can t
Title: Struts Development : tep by step.
Atul,
Have you done a JSP
tags tutorial?
My recommendation is to
go do a JSP tags tutorial, and then come back to struts.Struts uses
tags extensively, and understanding tags might make it easier to understand
Struts.
-
malcolm
-Original Mess
Interbase, has anyone tried and succeded with Interbase as a datasource ?
Im using interclient 1.6 and tomcat 3.2.. but I always get an exception:
java.lang.VerifyerError: Expecting to find unitialized object onstack...
please help :-)
flemming
Title: Struts Development : tep by step.
Is there any link/tutorial where a step by step approach of developing a struts-application is given. I am finding it a bit slippery to get a grip on the examples provided with struts.
Also, I found using the debug level (and adding my own
debug messages where needed) to be useful in seeing
when things are getting called.
Ken
"Craig R. McClanahan" wrote:
> On Wed, 21 Mar 2001, G.L. Grobe wrote:
>
> > I can see that for a radio tag, the property is the name of the bean that
>
Allen,
you need to specify the paramId attribute (paramId is the name of the parameter added
to the link, paramName and
paramProperty are used to get the parameter value)
The correct tag is:
...
Jean-Noel
- Original Message -
From: Allen Walker <[EMAIL PROTECTED]>
To: <[EMAIL PROTE
> I did our 3.5.3 installation yesterday and it was as per
> 3.5.2. I still
> needed the changed action servlet and also a change of the
> struts-config.xml to use a SYSTEM DTD rather than a PUBLIC one.
>
> It did NOT work out of the box. getResourceAsStream still
> appears to be
> broken in 3.
try adding the paramId attribute. e.g.
this should give you http://localhost:8080/test/addItem.do?isbn= (note
without the " quotes)
> -Original Message-
> From: Allen Walker [mailto:[EMAIL PROTECTED]]
> Sent: 22 March 2001 07:44
> To: [EMAIL PROTECTED]
> Subject:
>
>
>
>
>
>
Last time, a key portion of the question was omitted..replace all [ ]'s
with < >'s respectively.
[logic:iterate id="item" name="cart" property="items" scope="session"]
ISBN: [bean:write name="item" property="isbn" filter="true"/]
[img src="images/trashCan.gif" width="18" height="26"]
[/html:li
I'm sending this again b/c my mailer tried to interpret to markup tags,
replace all [ ]'s with < >'s respectively.
[logic:iterate id="item" name="cart" property="items" scope="session"]
ISBN: [bean:write name="item" property="isbn" filter="true"/]
[img src="images/trashCan.gif" width="18" hei
52 matches
Mail list logo