Hi Roberto,
I want to do the following:
I want to use somethinh like an container. The Editor shall link a page
in magnolia CMS and the page should not be linked via an <a>-tag. The
page should be imported via JSP.
I tried with <jsp:include /> but it didnt work. Therefore I found
another solution like this:
URL url = new
URL("http://localhost:8081/magnoliaAuthor/samples/index.html");
BufferedReader in = new BufferedReader(new
InputStreamReader(url.openStream()));
String str;
while ((str = in.readLine()) != null)
{
out.println(str);
}
in.close();
The Problem with this solution resulted to my question earlier. So is
there any other way to import a page in magnolia CMS?
Thanks a lot.
Robert
Roberto Cosenza schrieb:
Robert, Magnolia currently uses the "Basic Auth" authentication method
which does not allow you to send the login and password through a url.
What do you want to do? Many http clients (as wget and curl) support
basic auth so you don't need a url encoded with the login and password.
/roberto
Robert Weber wrote:
Hi,
I have a simple question:
I would like avoid the dialog where you type in username and password
and use a url with both values in it. Can anybody tell me how does a url
like this look like?
I tried certain things but they didnt work i.e.:
http://localhost:8081/magnoliaAuthor/?username=superuser?password=superuser
thanks a lot
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
Roberto Cosenza
Infoflex Connect AB, Sweden
Tel: +46-(0)8-55576867, Fax: +46-(0)8-55576861
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------