Legolas Woodland ha scritto:
The server return an exception like :
java.lang.IllegalArgumentException: Path http://www.mysite.com/ does not
start with a "/" character
...
forward="forwarder";
return mapping.findForward( forward );
}
}
Please post your action mappi
As I mentioned earlier, I do have entries for difference bundles in the
struts-config.xml,
I have a common Message.jsp which displays a message(s) created during
request processing. This message should be picked up from the bundle it
belongs to.
I don't want to specify the key value here since
Hi
Using the struts-config.xml file to configure your message resources is
preferred as it gives you quite a bit of additional flexibility:
You can list multiple message-resources tags to load messages from
multiple files. If you do this, use the key attribute to give a unique
name to each bundl
I am displaying messages in JSP using resource bundle.
I have 2 separate bundles. Depending on the message I would like it to be
picked up from the particular bundle to which that message belongs to. How
do I specify the multiple bundles?
this doesnt seem to work:
Struts Wiki page:
http://wiki.apache.org/struts/AjaxStruts
See especially the article referenced on this page for a decent
introduction as well as example Struts app. Probably the best starting
point.
After that, have a look at AjaxTags here:
http://javawebparts.sourceforge.net
(Click jav
This http://www.omnytex.com/articles/xhrstruts/ might help u.
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 : +91(080) 5759-6873
Emai
Hi,
I have developed application with struts. now i want to use ajax in my struts
application. using ajax we can avoid refreshing the whole page. instead of that
it enough to refresh the part of the page.
I like this functionality. if any one know the way to start struts with ajax
please let m
Sorry, I didn't see these questions initially...
1) I tried using Eclipse, as I've always did, for developing. What IDE
do you suggest?
It's a matter of opinion. Certainly Eclipse is very popular. IDEA is
also pretty popular around these parts. NetBeans has a bit of a
following. The only
u should ignore this guy, he has never wrote a single web application.
On 4/4/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote:
> Mário Lopes wrote:
> > Hi.
> >
> > First off, a little bit of my background. I've been developing with
> > Java for a long time now. None of it was web based development.
http://struts.apache.org/struts-taglib/index.html
red phoenix wrote:
Is there a struts taglib document about ,,,the
chm file form is better. If you have it,please give it to me.
Thanks!
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM:
Is there a struts taglib document about ,,,the
chm file form is better. If you have it,please give it to me.
Thanks!
Jonathan Revusky wrote:
For starters, development on Struts 1.x, a.k.a. Struts Classic, has been
more or less stagnant since about 2002.
Umm, since we all like dealing with "facts that are not in dispute"...
Struts 1.0, released June 2001
Struts 1.0.1, released January 2002
Struts 1.02, relea
Mário Lopes wrote:
Hi.
First off, a little bit of my background. I've been developing with
Java for a long time now. None of it was web based development. On
this field, I've programmed with PHP, .NET, Ruby on Rails, Python,
etc..
Now that I'm encharged of developing a Java/JSP/Servlets applica
On 4/4/06, Ted Husted <[EMAIL PROTECTED]> wrote:
> For the minor version number (1.1, 1.2, 1.3), you could check the DTD,
> but I don't know of a reliable way to check for milestones (1.2.8
> versus 1.2.9).
>
> -Ted.
Actually, I take that back. You could check the manifest.mf file in
the JAR and e
For the minor version number (1.1, 1.2, 1.3), you could check the DTD,
but I don't know of a reliable way to check for milestones (1.2.8
versus 1.2.9).
-Ted.
On 4/4/06, Günther Wieser <[EMAIL PROTECTED]> wrote:
> hi,
>
> i would need to check the version of struts running during runtime, to be
>
Garner Shawn wrote:
> Only think I can think of is that as a servlet the it wouldn't have
> access to the struts user session data
Why not? Is there more than one session?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I was wondering if anyone could give me any pros or cons of serving a
dynamically generated PDF file via a servlet or a struts action.
Only think I can think of is that as a servlet the it wouldn't have
access to the struts user session data and would have to post
necessary information for it to s
On 4/4/06, Günther Wieser <[EMAIL PROTECTED]> wrote:
> hi,
>
> i would need to check the version of struts running during runtime, to be
> more specific when my derived action servlet runs through its init method
> (derived from ActionServlet of course).
> reason is, if the minor version has change
Hello everyone,
If this is not the right place to post this could you please let me know
where. I have searched the forums and Google and cannot find an answer.
I have a Servlet filter that checks to see the content length of the
request.
long contentLength = request.getContentLength();
I
Hi
Thank you for reading my post
when i click on some of my links in the web application
The server return an exception like :
java.lang.IllegalArgumentException: Path http://www.mysite.com/ does not
start with a "/" character
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor
On 4/4/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
> Hi
> Thanx for the answer, where in documenation is it
> written that styleId is id??
Current Struts website is too busy and font in the left menu is too
small, which is especially striking comparing to gigantic wiki font.
"JSP Taglib" is l
At 11:31 AM -0700 4/4/06, Ashish Kulkarni wrote:
hi
I have a website which is developed using struts, I am
looking to convert some of it to AJAX and working on
different approaches,
In my current application, i have a common Action
class which has all the common functions like getting
the informa
You may want to ask this on the DWR users list; in version 1.1 there
is some support for accessing form beans directly from DWR. The base
documentation page for DWR/Struts is here:
http://getahead.ltd.uk/dwr/server/struts
On 4/4/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
> hi
> I have a webs
hi
I have a website which is developed using struts, I am
looking to convert some of it to AJAX and working on
different approaches,
In my current application, i have a common Action
class which has all the common functions like getting
the information stored in ServletContext, or Session
or getti
Ashish Kulkarni wrote:
> where in documenation is it written that styleId is id??
>
http://struts.apache.org/struts-doc-1.2.x/userGuide/struts-html.html#text
"Identifier to be assigned to this HTML element (renders an "id"
attribute)."
Dave
-
> Thanx for the answer, where in documenation is it
> written that styleId is id??
http://struts.apache.org/struts-taglib/tagreference-struts-html.html#htm
l:text
--
Tim Slattery
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EM
Hi
Thanx for the answer, where in documenation is it
written that styleId is id??
Ashish
--- "Slattery, Tim - BLS" <[EMAIL PROTECTED]>
wrote:
> > I am trying to do a test application using struts,
> DWR
> > I am having problem with document.getElementById
> > method in javascript, this works fin
Hi,
in my struts web application have (web.xml):
java.lang.Throwable
/templates/error/error.jsp
and i want to get the description error in error.jsp.
in logging file have:
java.lang.Throwable: Could not complete parsing, unmatched tags: html
at weblogic.servlet.jsp
> Which outputs
> ae.size()=1
> error.mandatory.login.password
>
> So, the issue is with the tag itself
So the errors collection is getting stored in the right place. I think
we have to look at your properties file. Apparently the
tag is finding *some* properties file, since i
> I am trying to do a test application using struts, DWR
> I am having problem with document.getElementById
> method in javascript, this works fine in IE 6.0 and
> opera
> I am using struts tag
>
>
> and then in my javascript doing the following
> document.getElementById('last').value= data;
>
Hi
I am trying to do a test application using struts, DWR
I am having problem with document.getElementById
method in javascript, this works fine in IE 6.0 and
opera
I am using struts tag
and then in my javascript doing the following
document.getElementById('last').value= data;
Firefox gives me
In fact there is always an actionError object.
When trying to debug I used request.getParameterNames instead of
request.getAttributeNames
So using
<%
org.apache.struts.action.ActionErrors ae =
(org.apache.struts.action.ActionErrors)request.getAttribute(org.apache.struts.Globals.ERROR
hi,
i would need to check the version of struts running during runtime, to be
more specific when my derived action servlet runs through its init method
(derived from ActionServlet of course).
reason is, if the minor version has changed, a warning should be written to
the logs; if a major change of
Dave Newton ha scritto:
Antonio Petrelli wrote:
red phoenix ha scritto:
when I use http://localhost:8080/B.do, it can work.
Uh? Are you sure? It should be http://localhost:8080/webappName/B.do
Not if you're deploying to the root webapp.
Uh right... Too few hours spen
Antonio Petrelli wrote:
> red phoenix ha scritto:
>> when I use http://localhost:8080/B.do, it can work.
> Uh? Are you sure? It should be http://localhost:8080/webappName/B.do
Not if you're deploying to the root webapp.
Dave
-
Hi Tim,
In fact no action is involved, only a form and a jsp.
In struts-config.xml I have validate=true
So Struts calls from.validate() which returns a non empty ActionErrors object.
Since ActionErrors object is non empty, both version of Struts redirect to
the same jsp page and do
red phoenix ha scritto:
java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource
Google is your friend. Search:
org.apache.commons.dbcp.BasicDataSource
The first result is a javadoc page, the second if the homepage of Jakarta
Commons DBCP:
http://jakarta.apache.org/commons
red phoenix ha scritto:
I have a submit button in A.jsp,and I want to submit to B.do from A.jsp,but
when I click this submit button,it should submit to B.do and show some
information on screen,but in fact it doesn't work,
What do you mean by "it doesn't work"? It is a 404, a 500, what?
when I
Hello All.
I'm using Struts 1.2.9 and Tiles.
Can anyone point me at a decent example of using multi-page forms with
one of the DynaValidator* classes?
Thanks in advance,
-Brian
--
Brian M. Long
Middleware Services, Virginia Tech
"Ancora Imparo (I am still learning)" - Michaelangelo, age 87
Hi,
You should specify the full package location of the message-resource file..
The parameter should be like this..
Hope this helps..!
Thanks,
Ganesh.
On 4/4/06, Ramkumar Krishnan <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> I am getting Null PointerException when i tried to view my login page.
> Now here is my issue.
> In the form, if the user forgets a mandatory field, I do
> something like :
> errors.add (...
> ...
> return errors
If I'm following correctly, this returns an ActionErrors collection to
your Action.
> I do not use saveErrors(), because I use it only i
On 4/4/06, starki78 <[EMAIL PROTECTED]> wrote:
> I've classes within a web-application and everything works fine.
>
> Then I put these classes to the shared folder, I get this error:
>
> java.lang.NullPointerException
>
> org.apache.struts.taglib.TagUtils.retrieveMessageResources(TagUtils
Hello!
I've classes within a web-application and everything works fine.
Then I put these classes to the shared folder, I get this error:
java.lang.NullPointerException
org.apache.struts.taglib.TagUtils.retrieveMessageResources(TagUtils.java:1161)
org.apache.struts.taglib.TagUt
On 4/4/06, Sahil Gupta <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Can anyone tell me how to use Switch Action in my project. My project
> consists of more than one module and I need to forward from one to
> another file in different modules.
>
> Are there any good links available to get more information
Thank you for your suggestions, I hope they'll increase my productivity! :-)
Regards,
Mário Lopes
On 4/4/06, Bart Busschots <[EMAIL PROTECTED]> wrote:
> Mário Lopes wrote:
> > Hi.
> >
> > First off, a little bit of my background. I've been developing with
> > Java for a long time now. None of it
Dear All
I would like to formally announce that JAVAWUG (Java Web User Group)
is holding the seventeenth Birds-of-Feather (Meet up XVII) at the
Oracle City of London offices on Thursday, 20th April 2006.
The meeting will take place in a room with Audio/Visual facilities
between 7-9:30 pm. Ther
Mário Lopes wrote:
Hi.
First off, a little bit of my background. I've been developing with
Java for a long time now. None of it was web based development. On
this field, I've programmed with PHP, .NET, Ruby on Rails, Python,
etc..
Now that I'm encharged of developing a Java/JSP/Servlets applica
But I faced a problem with the fmt tag, the variable link contains the key
instead of the text value.
Any clue??
On 4/4/06, Vinit Sharma <[EMAIL PROTECTED]> wrote:
>
> Thanks,
>
> I used a in combination with . But fmt tag looks
> neat.
>
> :)
>
>
> On 4/4/06, Nicolas De Loof < [EMAIL PROTECTED]
On 4/4/06, Mário Lopes <[EMAIL PROTECTED]> wrote:
>>Hi.
>>
>>1) I tried using Eclipse, as I've always did, for developing. What IDE
>>do you suggest?
>>
>>
Eclipse is a good choice.
>>2) I noticed that each time I did a simple change I had to build with
>>ant to package a .war and then res
Thanks,
I used a in combination with . But fmt tag looks
neat.
:)
On 4/4/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
>
>
> Perhaps somethig like this may work :
>
>
>
> Some text
>
>
> Nico.
>
> Vinit Sharma a écrit :
> > Hi,
> >
> > My requirement is to use a message resource key for html:
Perhaps somethig like this may work :
Some text
Nico.
Vinit Sharma a écrit :
Hi,
My requirement is to use a message resource key for html:link href attribute
instead of passing a hardcoded value.
Below:
Some text
I want to replace, ${item.link} with a key from resource file, btw my ${
Hi All,
I am getting Null PointerException when i tried to view my login page.
Struts is not able to find the message resources.
This is configuration in my struts-config.xml
i am getting
java.lang.NullPointerException at
org.apache.struts.taglib.TagUtils.retrieveMessageResources(TagUtils.java
Hi,
My requirement is to use a message resource key for html:link href attribute
instead of passing a hardcoded value.
Below:
Some text
I want to replace, ${item.link} with a key from resource file, btw my ${
item.link} returns a key only.
Can some one give an insight.
Thanks,
--
Vinit Shar
53 matches
Mail list logo