How to get name of a JSP
Hi all,
I want to see the name of the current JSP... is it somewhere in "About this page" or not?
Thanks,
Alexander.
Hi;
I belive there is no specific name for jsp, please see concept guide:
JSP
Acronym for JavaServer Page, an extension to Java servlet technology. JSPs are compiled
into servlets when first requested, and can receive input from a servlet or send output
to a servlet. Their dynamic scripting capability allows page logic to be separated from
page display, giving greater flexibility in processing HTTP requests.
See also: servlet
referance:
http://download.oracle.com/docs/cd/B53825_01/current/acrobat/121oacg.pdf
Regard
Helios
Similar Messages
-
How to get names of all hard disks?
Hi,
How to get names of all hard disks.
For example:
There are 3 disks in my computer: A, C,D (OS: Windows).
and then I want to know how many disks (3) and their names( A, C, D) are there?
Please give me some code sapmles. Thanks.
(---sorry, my English is not very well----)Look at a few of these
http://onesearch.sun.com/search/developers/index.jsp?qt=%22hard+disk%22+label&qp=forum%3A31&qp_name=Java+Programming&col=devforums -
How to get name of sbRIO programatically
How to get "name" and "Comment" of sbRIO which I write to sbRIO-9602 in MAX in Identification box (Model, Serial number, MAC address, Name)?
Solved!
Go to Solution.That shows:
- IP settings
- IP adress: 136...etc.
- DNS name: MyMaster5 - THAT IS WHAT I NEED, just in wrong place - in MAX it is not in IP settings, that's why i didn't searched for it there.
- subnet mask 255.255.255.0
- gateway 136...
- DNS server 136...
- MAC address 00800...
- serial number 16....
- system state Running
- model name sbRIO-9602
- model code 7373
- password protected restarts? T/F
- halt if TCP/IP fails? T/F
- locked? T/F
- use DHCP? T/F
Still there is no "comment" as in MAX. But that's not so important now.
I have LW Development system 2009 SP1 Profesional, Realtime Development 2009 SP1
Thanks very much! -
How to get name of table from front end
Hi,
How to get name of table from front end in EBS 11i?
thanx
AshishHi
Sandeep is correct. The "Help"/"Record History" will give you the table/view name, but sometimes this particular menu function give me a "Record History is not available here." error message.
I then use the following menu functions (this will also give you additional information, like column details).
1) Open Forms
2) Click on Help/Diagnostics/Examine (*you might have to enter the APPS password at this point)
3) Change "Block" to "System"
4) Change "Field" to "Last_query"
The system will populate the "Value" field with the query that was executed in order to populate the form.
Regards
Frank -
How to get names of sub tabs?
Hi All,
Could someone tell me how to get names of all sub tabs?
I have Parent Tab T1. T1 has 3 sub tabs T1_1, T1_2 and T1_3.
I would like to have T1_1, T1_2 and T1_3 sub tab names in the list.
Thanks in advance!!
DipDip,
You can get the tab names from apex dictionary views, apex_application_tabs & apex_application_parent_tabs . Thanks.
Regards,
Manish -
How to get names of method parameters ?
How to get names of method parameters (Not only their type and value) is it only possible during debugging ??
for example void myFunction(int a,int b)
I need the "a" , and the "b" The issiue is about the java.lang.reflect.InvocationHandler ,
and its method invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
I Have the parameter objects themself and their types using method.getParameters() , this is fine ,, but i need the names of the parameters !!!If the class file was compiled without debug information included then it is impossible to get the original parameter names, as used in the source code.
However, If the class file does include debug information, then the method names are hidden deep within the class file. You'd need to parse the class file yourself. Check out a copy of the Java VM Specification for a detailed format of the java class file format.
It's not a trivial task to parse the java class file, and the VM spec isn't easy reading. You'd nearly be writing a class file disassembler. -
How to get names of INCLUDE or FORM within included forms
Hello,
I want to get names of Include program and included form within included forms.
I tried SY-REPID or SY-CPROG but these two SYST variables return the name of report program that performs the form, not the name of Include or form.
Please give me any advice about how to get names of include / included form.
thanks and regards,
HozyYou can use the statement
READ REPORT <Report name> into itab
to read the source code into an internal table.
Later you can use the "Contains Pattern" operator to get the statements that you need. -
How to get ep authority in jsp page
Hi all:
I want to create a j2ee project and some jsp pages to deploy to EP server.
My question is how to get user name or user authority in jsp page.
Is there any APIs to use or something else.
Thanks in advance.
AllenHai ,
I Think This will help ful for u check it ,
File=new FileLog("f:/WebServiceTrace/trace2.%g.log", 800000, 10, new TraceFormatter());
The above code specifies the path for your log file.
Then add this file as a log location and then log the traces. For this you can use the following code like:
Location location=Location.getLocation(className);
location.addLog(file);
location.setEffectiveSeverity(Severity.ALL);
location.entering(methodName);
To Create j2ee apllication
In path new-j2ee-jsp to create JSP's can only be used for J2EE applications.
So as you are using this in Portal Application, this does not work.
You can test this bahavior by creating a new Web Application (New-Project-J2EE-Web Module Project)
In this Web Module Project, try creating JSP, this will work.
So dont use new-j2ee-jsp to create JSP in Portal Application instead use New-File and name the file as jsp.
Regards ,
venkat -
How to get table headers in jsp page
hi,
this is praveen, can any one help me to solve this problem.
how to get table headers in a jsp page. whether it is possible using javascript or is there any other way.
pls send rep.
thank u.Hai ,
I Think This will help ful for u check it ,
File=new FileLog("f:/WebServiceTrace/trace2.%g.log", 800000, 10, new TraceFormatter());
The above code specifies the path for your log file.
Then add this file as a log location and then log the traces. For this you can use the following code like:
Location location=Location.getLocation(className);
location.addLog(file);
location.setEffectiveSeverity(Severity.ALL);
location.entering(methodName);
To Create j2ee apllication
In path new-j2ee-jsp to create JSP's can only be used for J2EE applications.
So as you are using this in Portal Application, this does not work.
You can test this bahavior by creating a new Web Application (New-Project-J2EE-Web Module Project)
In this Web Module Project, try creating JSP, this will work.
So dont use new-j2ee-jsp to create JSP in Portal Application instead use New-File and name the file as jsp.
Regards ,
venkat -
How to get names of all Windows in a Form Application at runtime
Dear All,
I want to get the name of all windows in a form module programatically at run time. How to get it?
Any help or comments will be highly appreciated.
Thanks in Advance.
Best Regards
BilalHi Francois Degrelle,
First of all thanks for the response.
What if I have no items on a content canvas? In my application, I am using content canvas to hold the Image banner and help text of the current form, having no items at all. I am also using tab canvases to hold all items of form. The tabs are displayed on the content canvas at run time. So the tab canvases acts like frames (In my case).
Now if I am looping through items, it gives me the list of all of the tab canvases. Whereas the tab canvas always has no window assigned, as it is displayed on content canvas which has that Window which I need. Thus I am unable to get the names of windows in my case through the above stated procedure.
Another option could be if I can get the name of the content canvas upon which the given tab canvas is displayed?
Any way to do this or some other way to achieve the use case?
Any help will be highly appreciated.
Thanks in advance
Bilal -
How to get result from another JSP file?
I have to write a jsp (my.jsp) to get information from another jsp file (other.jsp).
The other.jsp return integer value (0 / 1) so that user can tell if certain service is available or not. And in my.jsp I need to collect such result and other information from a text file to make up of a XML string.
How can I call other.jsp to get the result? Thanks a lot.Hi, I think I didn't describe the problem clearly
enough. In fact, there is a JSP file, and if our
database is currently connected, the JSP will return
value 1, otherwise, it will return 0. My java program
need to get that result, and then form an XML string,
and send the string back to the client. I'm just
wonder how can I write such a program to read result
from JSP file. Thanks a lot.Why is this function implemented as a JSP file? It should be implemented as a bean. It would be simple to get the information you require from that bean. -
How to get name of an entry?
I search in my schema with code below:
List<OrganizationPojo> organizationPojoList = new ArrayList<OrganizationPojo>();
DirContext ctx = null;
try {
// get a handle to an Initial DirContext
ctx = new InitialDirContext(env);
String[] attrIDs = { "dc", "objectClass","ou" };
SearchControls ctls = new SearchControls();
ctls.setReturningAttributes(attrIDs);
ctls.setSearchScope(SearchControls.SUBTREE_SCOPE);
String filter = "(&(dc=*) (objectClass=organizationalUnit) (ou=*))";
NamingEnumeration answer = ctx.search(searchBaseDn, filter, ctls);
try
while (answer.hasMore())
SearchResult sr = (SearchResult) answer.next();
LdapName dn = new LdapName((String)sr.getNameInNamespace());
LdapName rdn = new LdapName((String)sr.getName());
I learned SearchResult.getName returns the name "relative to search base"
But i only want to get the name of entry.
I am getting dn correctly but can not find out how to get rdn relative to parent in the tree.More generally, to get the RDN of any search result, you're nearly there:
List<Rdn> rdns = new LdapName(sr.geNameInNamespace()).getRdns();
Rdn rdn = rdns.get(rdns.size()-1); -
How to get name or unix id of last switched System Events process?
Hello
I am writing a script to be used as an idle function to send a command to a process as soon as it's not frontmost anymore. So far, I can figure how to get the unix id or name of the frontmost process, but not of the previous process . Here is what I have:
on idle {}
my handleProcesses()
return 5 --- '5' tells idle () to run every 5 seconds.
end idle
on handleProcesses()
tell application "System Events"
set FrontApp to (get name of every process whose frontmost is true)
set PrevApp to (get name of previous process)
end tell
--- my command here, like tell PrevApp to hide...
end handleProcesses
My problem is that "previous process" is not in the System Events dictionary. I cannot use "frontmost if false" either, because this would return all other opened applications, not just the previous one.
I know one partial solution would be to use Command-Tab, get the name of frontmost, and use Command-tab again. But, it's not really pratical nor elegant.
What I need is a function which can get my frontmost process name (which is easy), and return it when the process is inactive (no more frontmost).
Thanks.
VicYou can do what you want if you maintain a record yourself of what used to be frontmost:
tell application "System Events"
set FrontApp to (get name of every process whose frontmost is true)
set lastFrontApp to FrontApp
repeat while FrontApp = lastFrontApp
set FrontApp to (get name of every process whose frontmost is true)
end repeat
set BackApps to (get name of every process whose frontmost is not true)
if lastFrontApp is in BackApps then
--the app is open in the background
else
--the app was closed
end if
end tell -
How to get name of selected image?
Hello ,
I want the name of selected image.I have PDEImage and PDEElement of selected image.
How to get the name of selected image?is it possible to get name of image on document?
please,help me.That information is not required to be stored in the PDF. It present, it could be present in the XMP-based metadata of the image.
Consult ISO 32000-1, ISO 16684-1 and the XMP specification for details. -
How to get name of the month from current date.
Hi,
How to get the name of the month from current date.
Thanks,
SenthilSethil,
Use your date(let us say Date1) instead of sy-datum.
CALL FUNCTION 'MONTH_NAMES_GET'
EXPORTING
LANGUAGE = SY-LANGU
IMPORTING
RETURN_CODE =
TABLES
MONTH_NAMES = itab_month
EXCEPTIONS
MONTH_NAMES_NOT_FOUND = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE itab_month
WITH KEY MNR = date1+4(2).
itab_month-LTX will contain the value you are looking for
Good luck
Raghava
Maybe you are looking for
-
Synchronous RFC Response Not getting Mapped
Hi, I am making an RFC call from XI to SAP R/3 system. Scenario: File -> XI -> RFC (SAP R/3) The request message is picked from the File Adapter, routed through XI, and an RFC call is made on the SAP R/3. The RFC Response has to be obtained in XI, tr
-
Hello ! I was dowload WebLogic 6.1 (Service pack 2 for Win NT/2000) (about 75MB) on BEA.com. I'm run file weblogic6.1sp2_win and extract it to c:\directory than ... But when I install it, click file install.exe (in ...\windows\) I have error : java.l
-
Design Repository Configuration objects after an import
I have 1 design repository to development environment and another to production environment. I have 3 target schemas in Development and 3 target schemas in Production. Then I make a Metadata Export of my Development Project and a Metadata Import in m
-
Address resolution protocol problem
I'm trying to find the MAC address of a know working printer on my network so I can add it to the DHCP reservation list on my server 2012. When I run arp -a, It doesn't show the IP address of the printer I'm looking for. I can ping the ip address of
-
I want to set Enable Parallel DML property for all my mappings. I want also to set default operating mode property to 'SET_BASED'. How to do this in OMB+? When I want to check some Runtime parameters properties I get error message OMB+> OMBRETRIEVE M