Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / November 2006

Tip: Looking for answers? Try searching our database.

global access to request vars?

Thread view: 
sid derra - 07 Nov 2006 21:39 GMT
Hi

A co-student and I have been working on a project, where we embed a wiki
system (xWiki) into
an existing portal/platform for students. Unfortunately, we don't have any
teachers, who are all that savvy with the technology part either, so we
pretty much need to rely on literature and 3rd party infos.

Right now we have ran into a little problem, where we need to access the
request parameters of one application from within another one. Is this
possible? Is there some kind of "global" setting we could apply to the
request object?

Thanks a bunch for any feedback!
rock on. sid
hiwa - 08 Nov 2006 00:32 GMT
> Hi
>
[quoted text clipped - 11 lines]
> Thanks a bunch for any feedback!
> rock on. sid
I think each request belongs to each client so it is inherently local.
You could do, however, calling some global function from within request
processor, e.g. Java servlet, with the request as its argument.
Paul Hamaker - 08 Nov 2006 08:37 GMT
Maybe this helps :
<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix = "c"
%>
<c:set var="globalvar" value="Albert" scope="application" />
or
<jsp:useBean id="bn" class="beens.Fone" scope="application" />

<jsp:setProperty
 name="bn" property="phone"
 value="${param.ph}"  />
--
http://javalessons.com  Paul Hamaker, SEMM
Teaching ICT since 1987


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.