Hello everyone,
I have the following problem. I need for my application to use a database which is in
form of .xml.
I want to convert this database to a real database such us ORACLE.
I have a .dtd but I cannot find a way to do this transformation automatically.
Can anyone help by giving me
that generate XML in JSPs or you can
generate the XML in an Action and send it back.
David
From: Konstantina Stamopoulou [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: HTTP response as XML
Date: Thu, 3 Apr 2003 17:25:09
Hello Ted,
You might want to look at the digester for this. It is very good at
converting JavaBeans to XML and back. See the RSS package for an example.
http://jakarta.apache.org/commons/digester/api/org/apache/commons/digester/r
ss/package-frame.html
I'm aware of Digester but I haven't
Hello everyone,
I have been using STruts for a while and it has solved a lot of my previous problems
for example having long .jsps that included all the logic. Now I have been asked to
use struts, which will receive the requst and will generate .xml instead of html as
a response. This .xml
Hello Richard,
I'm not sure if it is allowed to give the stuts-configs as comma delimited
parameters. Try the following in your web.xml
init-param
param-nameconfig/param-name
param-value/WEB-INF/struts-config-tm.xml/param-value
/init-param
init-param
Try the following:
html:text property=fullName
value=%=((ContractSetupData)contractData).getFullName()%/
I believe it will work.
Konstantina
- Original Message -
From: Karl Stenerud [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 10:48
,
Konstantina
- Original Message -
From: Jamesey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 17, 2003 3:16 PM
Subject: Re: Another sslext-struts question
have you done the RSA certification bit??
Konstantina Stamopoulou [EMAIL PROTECTED] wrote in message
news:[EMAIL
Hello all,
I'm trying to install the sslext-struts to toggle between https and http requests. I
have downloaded the sslext-struts-1.1RC1 and I have copied the /web directory-which
contains the demo app- into my webapps. I have enabled the SSL in Tomcat, copied the
jnet.jar,jcert.jar,jsse.jar
question
have you done the RSA certification bit??
Konstantina Stamopoulou [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello all,
I'm trying to install the sslext-struts to toggle between https and http
requests. I have downloaded the sslext-struts-1.1RC1 and I have copied
You could set a group of forwards up, based on the locale ie
forward name=this_en path=/jsp_pages/out_en-jsp redirect=true/
forward name=this_de path=/jsp_pages/out_de-jsp redirect=true/
forward name=this_ko path=/jsp_pages/out_ko-jsp redirect=true/
within action/
Does this mean that
I have used the following:
logic:iterate id=subscription name=provider property=subscriptions
logic:iterate id=product name=subscription property=products
/logic:iterate
/logic:iterate
and it works find.
You have to give in each case the property that will get the collection on
which the
AM
Subject: Re: Results in multiple pages
www.javanovic.com - see articles. i'm sure it can help you and try
going
browsing to this thread
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topicf=58t=
000767
hope this helps
- Original Message -
From: Konstantina
Hello,
I have the following problem and I'm not sure how I can solve it.
The resultset returned from a query I'm making to the database has many records. What
I want to do is to display each time 10 of these records in my page.
How can i do this? I have searched the archive but I couldn't find
Hello all,
I'm wondering if any of U that have used the bean:cookie tag had any problems.
I'm facing the following problem. I have created a cookie in one of my Action classes
with the following code:
Cookie logged=null;
logged = new Cookie(username,username);
logged.setMaxAge(300);
Hello,
I know that my question might sound naive but I realy need your help.
Unfortunately I couldn't find out from the archieves what I'm doing wrong.
So here I go.
I need to submit a form (SearchForm) retrieve some data from the database depending on
the values entered in the SearchForm
Hello,
I have been using struts for a few months and I'm very pleased with the things it
offers and with the fact that it keeps growing thanks to the dynamic team of apache.
Recently, I have come to the dilemma of choosing between struts and expresso.
My company is intrested in building a
: Wednesday, July 17, 2002 9:53 PM
Subject: Re: Stxx opencode
Konstantina,
What JAR's do you have in the stxx-example webapp lib folder? You not
only need stxx-1.0.0.jar but also every other JAR listed on stxx's
download page.
Jeff
Konstantina Stamopoulou wrote:
Hi Jeff,
I have tried
out
http://www.openroad.ca/opencode/stxx/download.html
Andrew Hill wrote:
Have a look in the log file to see if you can pin down the actual error
that
occured, as if an exception is thrown when initialising stuff, thats the
message you get.
-Original Message-
From: Konstantina
Hello,
I have just downloaded the stxx package and I tried to run the stxx-example
application. But unfortunately I had no luck. I run it with tomcat-4.0.4
and tomcat-3.2.4 but I got the following exception.
Apache Tomcat/4.0.4 - HTTP Status 503 - Servlet action is currently unavailable
the
message you get.
-Original Message-
From: Konstantina Stamopoulou [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 16, 2002 20:00
To: Struts Users Mailing List
Subject: Stxx opencode
Hello,
I have just downloaded the stxx package and I tried to run the
stxx-example
application
a look at any config files that
are
with that example, and see if you have to set any paths or other
installation specific info in there.
I presume other apps, (such as the struts example) already work in your
tomcat?
-Original Message-
From: Konstantina Stamopoulou [mailto:[EMAIL
Hello,
I was wondering if anyone on the struts' list, has used struts with uPortal - portal
used by universities.
If so I would appreciated he/she could provide me with some answers to my questions.
Thank you
Konstantina
Hello,
My question might sound naive but I really eed your answer.
I'm storing an object in ServletContext with the following code :
servlet.getServletContext().setAttribute(treemodel,root);
where root is an object of type Node(myclass).
In my jsp I want to retrieve this object from the
into the generated html code,
or % DirectoryModel((Node)this.pageContext.getAttribute(treemodel));
Hope That Help, Enrique.
_
Enrique Rodriguez Lasterra
-Mensaje original-
De: Konstantina Stamopoulou [mailto:[EMAIL PROTECTED]]
Enviado el: miercoles
Hello,
I need to implement the following and I have reached a dead end. Can you help me?
I have the some data in my .xml described below:
node name=dir1
child name=file1 link=/dir1/file1/
child name=file2 link=/dir1/file2/
node name=dir2
child name=file3
(formFile.getFileData());
return null;
Works for us ... This way you leave it up to the container to tell you
the mime type. You can also configure mime types in your web.xml
deployment descriptor file.
Sean
Konstantina Stamopoulou wrote:
Hi Alexander,
This is what I did after searching the archieves
Hello,
Can someone tell me how I can specify the path from where the files can be downloaded
form the server? What I'm using now is :
response.setHeader(Content-disposition, inline; filename=+myfile)
which means that all my files should be in TOMCAT_HOME. When I tried to give other
paths, the
Hello,
I had the same exception when I started using Struts. This is caused
probalbly because you have not created the bean . Make sure that you have
created the user bean either from within your Action class
(getServletContext.setAttribute(user, userclass) or from your .jsp file
(jsp:useBean
-action-servlet has nothing
more to do)
I think in the mailing-list archive should be samples how to return a pdf
or an image that might help you further.
hope this helps
Alexander
-Original Message-
From: Konstantina Stamopoulou [mailto:[EMAIL PROTECTED]]
Sent: Montag, 11. Marz 2002 16
Hello,
I' m building an application where the user has the options to:
a.Store his files on the server (upload files)
b.View the directories and the files he has created on the server side. These files
will be links and when the user clicks on one of the files, the file should open.
Also
Click at the bottom of the page the : To unsubscribe, e-mail .
Follow the instructions.
Konstantina
- Original Message -
From: Jack King (Unix) [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, February 27, 2002 11:03 AM
Subject: Please unsubscribe
Hello,
I needed to do something similar and I found another tag lib that can be
used in combination with Struts. You can find more on this site---
http://www.kobrix.com .
Konstantina
- Original Message -
From: luvpdas [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Hello,
The tag lib documentation is now accessible trough the link Release Notes.
I realized that yesterday!
cheers,
Konstantina
- Original Message -
From: keithBacon [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]; rob
[EMAIL PROTECTED]
Sent: Thursday, February 21,
Hello,
I have a problem and I can't fingure out the solution to it. Here is my case:
I have a list of products (PoductBean) on my .jsp and each one of it have two buttons
(html:submit) :
Button1 -- Display Information for this product
Button2 -- Use the information to do something else
My
: Konstantina Stamopoulou [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, February 21, 2002 9:02 PM
Subject: html:submit button
Hello,
I have a problem and I can't fingure out the solution to it. Here is my
case:
I have a list of products (PoductBean
to see which item was selected.
-- Larry Maturo
[EMAIL PROTECTED]
-Original Message-
From: Konstantina Stamopoulou [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 4:02 AM
To: Struts Users Mailing List
Subject: html:submit button
Hello,
I have a problem and I can't
Well,
Actually my error was that I was associating MyForm with the wrong action.
Thank U for pointing that out.
Konstantina
On Thu, 14 Feb 2002 11:36:14 +0200 Konstantina Stamopoulou
[EMAIL PROTECTED]
wrote:
Hello,
I need to use a form bean in struts and this is the first time I'm
doing
Hi ,
From what I understand you want to create links for each headline and pass
the head line as a parameter.
So inside the logic:iterate tag U should put :
logic:iterate.
jsp:useBean id=info class=java.util.HashMap/
%info.put(HeadLineID, X); %
html:link page=/details.do
Hello,
I apologize if my question sounds naive but I really need your help on this.
I have a servlet that during initialization parses an .xml file using
Digester. Then I access the data in my jsps through JavaBeans. What I need
to do, is to have my main page which displays the data from the
Subject: Re: Template Question
Hi,
Content of put tag can only be a jsp local to current web
application. It
can't be an url starting with http://...
Cedric
Konstantina Stamopoulou wrote:
Hello,
I'm a beginner to Struts, and I'm using its template tag library for my
web
Hello,
I'm a beginner to Struts, and I'm using its template tag library for my web
application.
I would like to load in one of the areas of the template a URL.
To be more specific what I'm trying to do is the following:
template:insert template='/infotemplate.jsp'
template:put name='title'
Konstantina Stamopoulou wrote:
Well Tom I think you are right.
The input I gave you was insufficient so here is all the story.
THE .JSP USING THE TEMPLATE
template:insert template='/chapterTemplate.jsp'
template:put name='header' content='/company.html' /
template:put name
,
tomK
-Original Message-
From: Konstantina Stamopoulou [mailto:[EMAIL PROTECTED]]
Sent: donderdag 15 november 2001 12:56
To: Struts Users Mailing List
Subject: Can anyone help on this?
Hello,
I'm using a template for my application and for the main
content I want
Hi Yuriy,
I'm interested to see your code. I'm sure I could learn a lot of things form
it!
Thank you,
Konstantina
- Original Message -
From: Yuriy Zubarev [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 15, 2001 11:45 PM
Subject: If someone is interested
Hello
--!
/taglib
Hope this help,
Cedric
Konstantina Stamopoulou wrote:
Well Tom I think you are right.
The input I gave you was insufficient so here is all the story.
THE .JSP USING THE TEMPLATE
template:insert template='/chapterTemplate.jsp'
template:put name='header
Hello,
I'm using a template for my application and for the main content I want to display a
table from a database.
When I access the database.do using a URL I get all the data correctly.
When I use this database.do file in the .jsp that uses the template I get :
javax.servlet.ServletException:
46 matches
Mail list logo