Hi,
I am using JBoss RC 1 and Struts 2 and I am facing a problem when trying to use
an XML validation file.
The error message i get is :
Code:
java.lang.IllegalArgumentException: URI scheme is not file
at java.io.File.(Unknown Source)
at
Dear J2ee members
I am trying to display an image in a jsp page which is stored as a blob in the
oracle table.
I wrote a stored procedure to get all the images for a particular id.
and in the servlet(action), I wrote the following:
code:
ResultSet rsImg =
Thanks bro. We have a big S2 app where every package uses tiles as the
default result type. Tiles definitions are the name of the game. I too
think dependencies between plug-ins should be mitigated.
Peace,
Scott
On Sat, Sep 6, 2008 at 7:34 PM, Jeromy Evans
[EMAIL PROTECTED] wrote:
[EMAIL
Hello.
I'm reading the documentation for Struts 2 (after lots of work on Struts
1 and Beehive), and I wonder if an interceptor exists in order to
prepare the action after the validation fails, and before going back to
the input page. Imagine the following action class :
public class
What version of Struts are you using? If you are using struts version 2.0.12,
then this is a known issue (for websphere users). From what I understand,The
fix for this problem is not included in xwork-2.0.5. However, if you are using
struts 2.1.2 you are not supposed to see this error.
-
I've used checkboxlist tag with JDK 5 enum
like:
[EMAIL PROTECTED] key=resource.requestMethod name=requestMethods
list=@[EMAIL PROTECTED]() listKey=name()
listValue=name() /]
every thing is OK, and the data can be persist to the database correctly.
but when I
Well, in my previous project, using JasperReports, I need to display a server
create Image to user.
I used a Image Servlet (and I believe it's the standard method) the provide
the Image data, set the response content-type to image/jpeg or what ever.
and the action of struts is just to send the
and besides, you could use a struts2 action with result stream, but I'm not
sure how to do it in struts 1
but the pattern is the same..
Amir Hossein Sharifzadeh-2 wrote:
Dear J2ee members
I am trying to display an image in a jsp page which is stored as a blob in
the oracle table.
I wrote a
I think all you need is some function provide by JavaScript.
Mitxel Mitxelisimo wrote:
Hi, I´m trying to make a form to fill in a questionform that is composed
by
some questions and one radiobutton for each, and this is the problem,
what can i do to this in my action? how i can fill in
I have a quick question. I am using S2. I have multiple methods exposed in
my action and more than one method has forms attached to it. If I use the
action-method-validation.xml for separate methods then they all return INPUT
when they fail. I want some forms to goto a result defined by other
Does this table imply file precedence and setting overrides?
http://struts.apache.org/2.x/docs/configuration-files.html
Hi, thanks for your reply. I am using this version : struts-2.0.11.2.
I will try the version 2.1.2 and i hope it will work. I will let you know.
In the mean time, if you or other people have any other suggestion, please
don't hesitate.
Thanks.
--- On Sun, 9/7/08, Struts Two [EMAIL PROTECTED]
STruts 2 in action has a good chapter on it.
On Sat, Aug 30, 2008 at 5:52 AM, Andrew Myers [EMAIL PROTECTED] wrote:
Hi,
I was hoping someone may be able to send me some links to some useful
tutorials or sample apps using Struts 2 and Hibernate, or failing that
any good books that might
In my case, I have downgraded to 2.0.11.1 and it works fine ( I had some issues
running the beta code on Websphere). I know ,for sure, that you will not be
getting the exception in 2.0.11.1.
- Original Message
From: Bobby Mitch [EMAIL PROTECTED]
To: Struts Users Mailing List
I don¹t understand. Is it not working?
We¹re often customising the displaytag properties file and it works fine.
Z.
Hello to all
I am using the display tag to show the employee data , it showing the
page banner in the following style.
25 items found, displaying 1 to 10 [first]
you are trying to populate a href based on a call to a action class passing a
different locale param
ul
lia href=s:url action=Welcome?request_locale=en/English/a/li
lia href=s:url action=Welcome?request_locale=ja/Japanese/a/li
lia href=s:url
pls display full jsp
thx,
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender does not
endorse
Well,
I upgraded to the beta version and I am getting errors in the struts-tags.tld
file that i extracted from struts2-core-2.1.2.tld and put under WEB-INF/
I then reference it in my JSP using %@ taglib prefix=s uri=/struts-tags %
I did not have that problem with the version struts-2.0.11.2
It
Bobby Mitch wrote:
Well,
I upgraded to the beta version and I am getting errors in the struts-tags.tld
file that i extracted from struts2-core-2.1.2.tld and put under WEB-INF/
Upgrading to 2.1.2 is a major effort, so I don't recommend that (too
late...). You'll have to read the release
There was a JBoss issue that I found once I added JBoss 4.2 testing
with the tld. Not sure if that fix is in 2.1.2, but it will be in
2.1.3. If you need, you can just unzip the Struts jar, fix the order
of the elements that is causing the problem, and zip it back up.
Don
On Mon, Sep 8, 2008 at
20 matches
Mail list logo