Hyper links in JSP
hello everyone............ im new to JSP . I have a data base of products which are categorised as a particular class of products belonging to a particular family totally i have 3 tables Family, class and product now to search for a product page shld show all the elements in family then when user clicks on one of the family item it shld show the respective class of products that come under it ie,
select class_name from class where FID=xx;
dynamically based on users click it shld be able to identify the family can u suggest me some tips ....................
Yes I am also not understanding your question properly.I think i understand from your question.If u select one data it should display the related code in class i think .
This is the javascript code. If u select Brand that equalant product will display.
If u understand try it.....
function getProduct()
var j=0;
var l=0;
var brand= document.enter.brand.value;
document.enter.b_type.options.length = 0;
// alert(brand);
<%
for (int i=0;i<brandproducts.getFetchSize();i++)
%>
var selBrand = "<%=brandproducts.getString(i,"brand")%>";
if (brand == selBrand)
myOption = new Option();
<%
String pro_code = brandproducts.getString(i,"product");
for (int j=0;j<products.getFetchSize();j++)
if(pro_code.equalsIgnoreCase(products.getString(j,"code")))
%>
myOption.text = "<%=products.getString(j,"product_name")%>";
myOption.value ="<%=products.getString(j,"code")%>";
<%
%>
enter.b_type.options[j++] = myOption;
<%
%>
}
Similar Messages
-
Using hyper-links in a jsp pages that are in a Session
Hi i am trying to include a hyper-links in my jsp pages that are in a Session, however when i use the links to navigate throughout the pages i get a java.lang.NullPointerException. The Session begins after the user has been validated i.e
String cid= request.getParameter("counsellorID")
session.setAttribute("counsellorID",cid);
All the pages included within the session have a session scope=session
; and they call the attributes that have been set when the session first begins i.e
String counsID= (String) (session.getAttribute("counsellorID"));
Any advice on this problem would be most appreciated!
Many Thanks
Stephencheck if you borwser have cookies enabled
-
Document/hyper link among webi reports
Hi Gurus,
I am trying to link webi documents,
I hav 2 options
1.)hyperlink and
In hyper link I am using this link but i am not able open the target document..
https://bodev.pg.com/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=ATjA2dUY7u1Hldh9n6imWmM&lsSR=[Run Date]
2.) document link
I am not able to see the document link tab in report elements (as in attachments). I would like to know how to view that option
regards
mahiHello Victor,
I am able to apply doc linking on horizontal/vertical tab successfully but I want to apply doc linking on crosstab..
And the linking should be row wise linking.. I have 7 rows in my main rep where when i click on each row it should get navigated to respective detailed report.
Please advice me..
thanks
mahi
Document/hyper link among webi reports -
hyper link of public image(hyperlink or image) can not be saved on windows server 2012 and sharepoint 2010 problem, is this a bug?
thanks for any reply.
RosoneIt is not a bug, you might be using IE in Windows server 2012 and and browser might be restricting your site actions to respond properly.
Check this in a different browser or access site in a differ OS.
Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer. -
Quotes in a page level item not showing up as " when used in a hyper link
Hi all,
In my app, I need to hyper link to a crystal report application with parameters from my page. I have a page level item that puts my parameter in quotes, but when the item is utilized in the hyperlink, the quotes come across as & q u o t ; (spaces were put in to the post to avoid html conversion) how can my string be used to appear the way I want?I don't use Crystal Reports, but, in general, you should encode your URL. When you create your link, run the URL through utl_url.escape() first. Put it in your select statement.
E.G.,
select utl_url.escape('http://oracle.com/foo"bar') from dual;
will escape/encode the quotation mark and give you:
http://oracle.com/foo%22bar
This translates the " into a URL-safe escape code, %22, that should (I hope) be understood properly by your Crystal Reports server.
Good luck. -
In APEX clicking the hyper link doesn't trigger session timeout page
Hi All,
I have a question about the session time out in APEX application. I have created a simple APEX application. In the SQL report region section, i have code like this:
SELECT DOC_Name, DOC_URL,
'<a href="' || DOC_URL || ' target="_blank"/">Download file</a>' pdf_link
FROM test_table
where emp_number =00010001
When user clicks on the hyper link, it will display the destination page to user(for example if DOC_URL = 'http://forums.oracle.com', it will display the oracle forum page in a new browser).
But the issue is that, after user's session timeout (I set for 240 seconds through Shared Components>Edit Security Attributes, i set max the session timeout for example 240 seconds), when i click on this hyperlink, it doesn't trigger my session timeout page and it still displays the page (oracle forum page).
Why in APEX clicking the hyper link doesn't trigger session timeout page after the user session timeout???
how to implememt or fix to trigger the session timeout page after clicking on the hyperlinks?
(BTW, our APEX version is 3.2)
Thanks!Hi Lily,
the reason for that behavior is that APEX is not involved anymore if you click on an external link. That's completely handled by your browser.
To involve APEX timeout handling you could redirect to a specific page in your application which performs the final redirect.
For example:
1) Create a new page 999
2) Create hidden page item P999_URL
3) Create a before header PL/SQL process with the following source
owa_util.redirect_url('http://'||:P999_URL);
apex_application.g_unrecoverable_error := TRUE;If you want to embed a link, create a link to page 999 and set the page item P999_URL to forums.oracle.com
You could also add a white list into the above code to verify that you are just redirecting to valid URLs, so that nobody is using your trusted application URL for phishing attacks.
Hope that gives you a direction
Patrick
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
Dreamweaver CS5.5 hyper link doesn't work
I'm using Dreamweaver CS5.5 with a template. The links in the template work fine.
When I click on a link in the body of the page that uses the template, the hyper link text quickly changes to a very small font and back, but does not go to the link.
This is the page: www.actitservices.com.
This is the code:
<p><strong>Read the <a href="http://www.act.com/media/en-us/docs/briefs/Act%21ProductBrief.pdf" target="_blank">product brief</a>. </strong></p>
I've been doing this for a really long time and I just don't see the problem.
Thanks for your help.BINGO! That fixed everything!
Thanks huge! -
Creating Hyper-Links in Acrobat Pro 8
Good Day;
I am somewhat new at this so please forgive me if this question has been asked before.
I am running Acrobat 8 pro and I am designing some forms. One of the things I want to do is imbed a hyper-link in some of the text. This hyper link will take the user to the documentation on a webpage.
I have created a form using LiveCycle Designer 8 (part of Adobe Acrobat 8 pro not LiveCycle ES). Within this application there does not appear to be a way to create the hyper-links. I then opened the form in Acrobat 8 pro and the link tool is not available.
Is there a way to create a hyper-link in the form?
I hope I have explained this correctly
ChompThe Chomp wrote:
I then opened the form in Acrobat 8 pro and the link tool is not available.
Chomp
If you created the form using Designer, you must make any edits in Designer and not Acrobat. -
How to change the Hyper links color in the XML form
HI SDNs
Do u have any idea how to change the hyperlink color in the xml form. My requirement is as follows.I have created xml form by using xml template and i displayed this xml form by using Km document iview. I need tochange the hyper link color in the xml form content. I dont want to go for manual process by editing the xml form. because i have several hundreds of xml forms.
Appreciate if you give suggestion.
Thanks
RamanaHi Ramana,
The most convenient way to change the hyper links is by using the Theme Editor. Go to System Administration --> Portal Display --> Select Theme --> Component-Specific Styles --> Links --> Function/Result Link.
Hope this helps.
Kind regards,
Joost -
I created a word document with hyperlinks. When my default browser is Chrome the hyper links work. When the default browser is Safari, the hyperlinks bring to pages that just lines and lines of symbols. I need these links to work in both browsers. Any ideas?
version 10.6.8
-
Acrobat 9 - hyper link issue and print in larger font
I am using Acrobat 9 and have two issues :
When I try to convert a web page to pdf file i.e. through the print command in FF, the text links are there in the new file but without the underlying hyper links ?
How can I print the files with a larger font. It is okay for seeing it on monitor but too small for me when I print.
thanks.Do as AbhigyanModi suggests or use the Adobe Acrobat plugin that should be in your web browser if you're using Internet Explorer. This happened because you "printed" to convet to PDF. You have to use either AbhigyanModi method or use the Internet Explorer plugin to save active hyperlinks.
In terms of the font size -- You can set up the web capture preferences first. Explore the menu that AbhigyanModi suggests or use the built in help. It's there for a reason. -
My client would like to be able to add new images to their site themselves and use them as hyper-links to external sites without having to replace an old image with the new one (or blank place holding images - far from ideal). Is there ANY way that this is possible? They do not wish to update and add new images/links regularly and it is certanly not intended to be used as a blog or way of being able to constantly keep content new and fresh otherwise I would set them up with a blog account and add that to the site. It is merely a way of adding links to other local businesses every once in a while.
Please see the page they wish to update... Friends. (Please excuse the layout... the customer will not be able to resize or edit the images themselves and wishes to add them as-is!)
Thanks in advance for any help. If anybody knows how I can ask an Adobe official mod, that would be great... that, or make a request for a future addition in an update?
Warm regards,
Ben GathercoleHi Andria,
Changing links is currently not possible with in-browser editing.
Please post this as a feature request in the following feedback form :
http://feedback.inbrowserediting.com/?url=
Regards,
Akshay -
How to create hyper link to normal table field in webdynpro ABAP
HI Experts,
I am working on one Webdynpro Application where I am displaying Vendor information in normal table.
But I wanted to make LIFNR field of the table as Hyper Link and when I click on that particular LIFNR I wanted navigate that to XK03 transaction. Please help me out from this...
When I searched in SDN I am geeting examples to create Hyper Links in ALV but I wanted to create that for normal table field.
Thanks
BasanagoudaHi,
As you kept the Link to action.. Go to the Outline of the view and navigate to the to the newly inserted Link to action UI element in the View. Now see the properties window. In the properties you will find the category Events and in this you will have OnAction. You can create a new on action by clikcing on the button which is next to the input filed.
This will create a method and in this implementaion you can write the logic to navigate to the Transaction.
Regards,
Raju Bonagiri -
Can i put a hyper link in side a text box in html
I want to place an hyperlink inside a text box ( <input type = text ....)
so that when clicking on the text box hyper link is launched
how can i do this ?Try this:
<input type="text" name="myfield" value="yor text" onClick="javascript:document.location='http://YouLink';"> -
Hyper links do not work in mail
Hi All, Since updating OSX Hyper links do not work in .mail. I can find no preferences that would affect this.
Hyperlinks in mail not working
Mail links do not open in Safari automatically
Maybe you are looking for
-
-
Getting iterator and current row by AdfmfJavaUtilities?
It happens in the backing bean of an AMX page. I tried the one below. Invoking the method... MethodExpression me = +AdfmfJavaUtilities.getMethodExpression("#{bindings.xSrv.execute}", Object.class,+ +new Class[] { });+ +me.invoke(AdfmfJavaUtilities.ge
-
I want to know the every steps in detail to Proceed with the BI data loading? My R/3 server is ECC 6 and BI 7.0 server. I replicated the data source in BI and the datasource appears. When I tried to activate by going in change mode its coming a popup
-
Installing java 1.4.1_02 in linux
I tried installing java under Redhat 8.0 and I got my path variable set so it can find java and javac. now it gives me the following errors when I try to javac a file: Error: could not find libjava.so Error: could not find Java 2 Runtime Environment.
-
Unable to playback project in full screen
unable to playback imovie project in full screen. Full screen button and commandG both do not work.