Getting text to show as hyperlink to navigate to next page

Im making a website ( first time in visual studios) and its an online library. I have a book info page which shows more information about the book. The problem is that when i search for books how can i make it possible for the book to have a hyperlink
to navigate towards the book info page. What i am doing right now is using a drop down list and i have a value assigned to each book(1-n) and have the person choose the number of the book and then click enter which navigates to the books more info page. I
just want to be able to click on the title and navigate straight to it. 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace BookStoreOnline
public partial class WebForm2 : System.Web.UI.Page
private static string test;
private static string testInfo;
private static List<Book> resultList;
private static List<Image> imageList;
protected void Page_Load(object sender, EventArgs e)
User.Text += (Session["UserName"]+"");
protected void Button1_Click(object sender, EventArgs e)
// if box is filled
// check criteria selected
// initiate search based on criteria
// display results
if (SearchBox.Text != "")
resultList = new List<Book>();
test = SearchCriteria.SelectedItem.Text;
testInfo = SearchBox.Text;
switch (test)
case "ISBN":
resultList = ((Database)Session["Database"]).SearchISBN(testInfo);
break;
case "Title":
resultList = ((Database)Session["Database"]).SearchTitle(testInfo);
break;
case "Author":
resultList = ((Database)Session["Database"]).SearchAuthor(testInfo);
break;
case "Semester":
resultList = ((Database)Session["Database"]).SearchSemester(testInfo);
break;
case "Course":
resultList = ((Database)Session["Database"]).SearchCourse(testInfo);
break;
case "Section":
resultList = ((Database)Session["Database"]).SearchSection(testInfo);
break;
case "Professor":
resultList = ((Database)Session["Database"]).SearchProfessor(testInfo);
break;
case "CRN":
resultList = ((Database)Session["Database"]).SearchCRN(testInfo);
break;
if (resultList.Count == 0)
NoResults.Text = "No results were found.";
else
Results.Text = "";
for (int i = 0; i < resultList.Count; i++)
int j = i + 1;
ListItem bookIndex = new ListItem(j.ToString());
Results.Text += "<pre>" + j + ". Title: " + resultList[i].Title + "<br>" + "Author: " + resultList[i].Author + "<br><br>" + "</pre>";
MoreInfoIndex.Items.Add(bookIndex);
//MoreInfoIndex.Items.Add(bookIndex); is what i am using to navigate to the book info page
protected void MoreInfoButton_Click(object sender, EventArgs e)
int k = Convert.ToInt32(MoreInfoIndex.SelectedItem.Text) - 1;
Session.Add("Book", resultList[k]);
//Session["Book"] = resultList[k];
Response.Redirect("BookInfo.aspx");

Please post questions related to ASP.NET in the ASP.NET forums (http://forums.asp.net ).

Similar Messages

  • So I recently bought 3 new songs, and they won'y show up on my main iTunes Library page or under the artist, but they show up under purchased.  How can I get them to show up under the artist/ main library page?

    So I recently bought 3 new songs, and they won'y show up on my main iTunes Library page or under the artist, but they show up under purchased.  How can I get them to show up under the artist/ main library page?

    Logging out of itunes store and logging in again has worked for some people

  • Navigate to next page based on lov selection

    hi i have a situation where i have to select department name as lov and click button to navigate to next page and display information of that selected department in he next jsff page am in jdeveloper 11.1.1.6.0 how can i do that

    ok timo is working now ,but my problem is now am not able to display child records of a child records when i try to navigate for second time.and another thing if i don't refresh the page after i make selection in lov and try to navigate i get this error
    the situation is
    1.on page load i select organisationname in lov and navigate to next page,and able to display organisation details and child records details and child records details without a problem,
    2.if i click back and navigate back to lov selection,i make another selection ,i must click refresh and able to navigate to next page,but this time it only display child records,but anything link to child records is not display this time
    3.the link is like organisation->org_address->address .in the second navigating am not able to display address but am able to display org_address
    java.lang.NullPointerException
    ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #2
    but if i refresh the page there is not problem
    my log error is
    javax.servlet.ServletException: java.lang.NullPointerException
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 38 more
    Caused by: java.lang.NullPointerException
         at OrgDetails.showSelectedOrg(OrgDetails.java:1693)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         ... 45 more
    when i locate the error is in this line  Row lFromList = (Row)list.getValueFromList(selid); but when i refresh the page am able to navigate to next pageEdited by: adf009 on 2013/02/13 10:36 AM
    Edited by: adf009 on 2013/02/13 1:23 PM

  • Navigate to next page based on inputtext input

    hi i have a situation where i have to enter value in inputtext and navigate to next page and display values in lov in next page based on the value entered in inputtext,and able to make selection in lov and navigate to next page and display value on lov selection for example i have inputtext where i have to enter department name and when i navigate i must have lov in next page which list employees belong to that department and make selection of one employee and navigate to next page and display that employee information in next page,am in jdeveloper 11.1.1.6.0 have anybody done that
    Edited by: adf009 on 2013/03/16 4:18 PM

    hi am not able to navigate based on the lov selection am geting this error ,this happen after i enter my departmentname and able to navigate to next page,but when i make selection in my lov next page to navigate to another page i get below error
    JBO-25020: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    Error     
    View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    i re-upload the sample http://www.datafilehost.com/download-023d31b6.html
    <SimpleSelectOneRenderer> <_getSelectedIndex> Could not find selected item matching value "2" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=soc1]
    neworg 105
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    oracle.jbo.RowNotFoundException: JBO-25020: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowInRSI(DCJboDataControl.java:1520)
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowWithKeyValue(DCJboDataControl.java:1416)
         at oracle.adf.model.binding.DCIteratorBinding.setCurrentRowWithKeyValue(DCIteratorBinding.java:3513)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1588)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at view.SelectedEmp.showSelectedOrg(SelectedEmp.java:64)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <RegionRenderer> <encodeAll> The region component with id: r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
    <SimpleSelectOneRenderer> <_getSelectedIndex> Could not find selected item matching value "2" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=soc1]
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    oracle.jbo.RowNotFoundException: JBO-25020: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowInRSI(DCJboDataControl.java:1520)
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowWithKeyValue(DCJboDataControl.java:1416)
         at oracle.adf.model.binding.DCIteratorBinding.setCurrentRowWithKeyValue(DCIteratorBinding.java:3513)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1588)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at view.SelectedEmp.showSelectedOrg(SelectedEmp.java:64)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)hi did you able to undestand my problem
    Edited by: adf009 on 2013/03/26 4:52 PM

  • Can't open links get whte screen with text at top. Won't go to next page when it's clicked etc

    Whenevr I click a link to a photo , a next page on mail order sites, a link to instrns in Adobe, Won't enlarge photos when I click
    All I get is a blank white page with 2 rows of text at the top
    - can't even buy online as it won't move on

    Whenevr I click a link to a photo , a next page on mail order sites, a link to instrns in Adobe, Won't enlarge photos when I click
    All I get is a blank white page with 2 rows of text at the top
    - can't even buy online as it won't move on

  • HT4061 The screen on my Iphone 5 has zoomed and it will not go small again. How can I get it back? I can not navigate on the page at all and I can not power down the phone.

    The screen on my iphone 5 has zoomed and I can not navigate on the page. How can I reset it?

    Then go to Settings/General/Accessibility and turn off Zoom.

  • On click event of Calendar control navigate to Next page

    Hi All,
    We have one requirement, we have one calendar control,in that calendar control on top of month,if we click it will navigate to another control and display entire month data.
    If i click on May 2015 ,it will provide hyperlink and open in new page.
    i tried in Day render event for calendar...But i did not get any solution..
    can any one suggest me...
    Thanks...

    Hi Reddy,
    From your description, my understanding is that you want to provide a hyperlink for the title of calendar.
    You could accomplish your requirement with jQuery, please refer to this code below:
    <script src="https://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(document).ready(function () {
    // please refer to this screenshot below to get your selector, and replace the google with your hyperlink
    $("table[id$='Calendar1']>tbody>tr>td>table>tbody>tr>td[align='center']")[0].innerHTML = "<a href='http://www.google.com'>" + $("table[id$='Calendar1']>tbody>tr>td>table>tbody>tr>td[align='center']")[0].innerHTML + "</a>"
    </script>
    Please refer to the screenshot below to get your selector:
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Cant Get Text To Show In JTextArea

    Hi guys,
    I'm trying to create a very simplistic GUI where the output of an IRC server is shown in a JTextArea. However for the life of me I can not get any text at all to show in the text area. Here's the class that creates the user interface:
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    import java.io.*;
    public class SwingTest extends javax.swing.JFrame implements ActionListener {
         JButton connect = new JButton("Connect");
         JTextArea chat = new JTextArea();
        public SwingTest() {
             //set the title of the frame
             super("Chat Window");
             //set the size of the frame
             setSize(800, 600);
             //set what happens when the close button is clicked
             setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             // create the scroll pane to add the text area to
             chat.setLineWrap(true);
             JScrollPane scroll = new JScrollPane(chat, ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
             //create the container panel
             JPanel jp = new JPanel();
             //create the layout manager and assign it to the container panel
             BoxLayout horizontal = new BoxLayout(jp, BoxLayout.Y_AXIS);
             jp.setLayout(horizontal);
             //add the text area and button to the container panel
             jp.add(scroll);
             jp.add(connect);
             //add the container panel to the frame
             add(jp);
             //make the frame and its contents visible
             setVisible(true);
             //add an event listener to the connect button
             connect.addActionListener(this);
        public void actionPerformed(ActionEvent event) {
             int temp = 1;
             SockThread mySock = new SockThread();
                 try {
                      Thread.sleep(20000);
                  while(temp == 1) {
                   while(mySock.pinger != false) {
                        chat.append(mySock.getStatus()+ "\n");
                        mySock.pinger = false;
                        break;
                 } catch  (InterruptedException ie) {
                      chat.setText("Error " + ie.getMessage());
        public static void main(String[] arguments)  {
             //create an instance of the SwingTest class and let it do its thing
             SwingTest st = new SwingTest();
    }

    Thanks hiwa, i did what you suggested and created a worker thread, but still I'm getting nothing in that JTextArea. I'm new to working with worker threads though, so if anyone wouldn't taking a look at my code just to see if I'm doing something wrong i would greatly appreciate it.
    Here is my worker class:
    import javax.swing.*;
    public class ChatWorker extends SwingWorker {
         String messages;
         String output;
         JTextArea chat;
         public ChatWorker() {
              super();
         protected String doInBackground() {
              int temp = 1;
              SockThread st = new SockThread();
              try {
                   Thread.sleep(20000);
                   //Perpetual loop needed to keep checking for server messages
                   while(temp == 1) {
                   while(st.pinger != false) {
                        messages = st.getStatus();
                        st.pinger = false;
                        break;
              } catch (InterruptedException ie) {
              return messages;
    }And here is the update gui class to make use of the worker thread:
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    import java.io.*;
    import java.beans.*;
    public class SwingTest extends javax.swing.JFrame implements ActionListener, PropertyChangeListener {
         JButton connect = new JButton("Connect");
         JTextArea chat = new JTextArea();
         ChatWorker cw;
        public SwingTest() {
             //set the title of the frame
             super("Chat Window");
             //set the size of the frame
             setSize(800, 600);
             //set what happens when the close button is clicked
             setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             // create the scroll pane to add the text area to
             chat.setLineWrap(true);
             JScrollPane scroll = new JScrollPane(chat, ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
             //create the container panel
             JPanel jp = new JPanel();
             //create the layout manager and assign it to the container panel
             BoxLayout horizontal = new BoxLayout(jp, BoxLayout.Y_AXIS);
             jp.setLayout(horizontal);
             //add the text area and button to the container panel
             jp.add(scroll);
             jp.add(connect);
             //add the container panel to the frame
             add(jp);
             //make the frame and its contents visible
             setVisible(true);
             //add an event listener to the connect button
             connect.addActionListener(this);
        public void actionPerformed(ActionEvent event) {
             try {
             cw = new ChatWorker();
             cw.addPropertyChangeListener(this);
             cw.execute();
             } catch (Exception exc) {
        public void propertyChange(PropertyChangeEvent event) {
             try {
                  String tempText = (String)cw.get();
                  chat.append(tempText + "\n");
             }catch (Exception exc) {
        public static void main(String[] arguments)  {
             //create an instance of the SwingTest class and let it do its thing
             SwingTest st = new SwingTest();
    }

  • Getting Text to show on GUI

    I'm about desperate because i spent 3 days on this and i'm am in dire need for help!
    1. First i want to create a GUI that it a quiz.
    2. Create Questions by using Combo Box
    3. Next it creates a text field and allow me to input my answer
    4. following that, after the input is inputted, i click a button that says check answer and it will return if it is correct or false.
    The problem is that code is so messed up that i don't know where to go.
    When i run it, it show me a combo box with 3 questions but before i even answer it, it shows that i'm incorrect.
    Thats why I can't really brief wat i need help in. So, could you write a quick code that can summarize the whole thing. You can use my code and fix it up. Thanks very so much!
    package anaquiz;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class AnAQuiz extends JPanel {
        private JComboBox choice;
        private JLabel label;
        private JTextField text;
        Button CheckAnswer;
        Button TryAgain;
        private String Answer1 = "Wilson";
        private String Answer2 = "Ace";
        private String Answer3 = "Yes";
        private String input = " ";
        boolean Answer = false;
        JLabel testresult = new JLabel("");
    public AnAQuiz() {
            choice = new JComboBox();
            label = new JLabel();
            label.setBackground(Color.blue);
            choice.addItem("Tennis Question #1");
            choice.addItem("Tennis Question #2");
            choice.addItem("Tennis Question #3");
            text = new JTextField(20); //step 4
            Listener listen = new Listener();
            choice.addActionListener(listen);
            setLayout(new BoxLayout(this, 0));
            add(choice);
            add(label);
            add(text);
            add(testresult);
    private class Listener implements ActionListener {
    public void actionPerformed(ActionEvent event ) {
       int c = choice.getSelectedIndex();
         switch (c) {
                 case 0:
                    label.setText("Whats the famous tennis brand that begins with 'W'?");
                    if (Answer1.equals(input))testresult.setText("Correct");
                  else { testresult.setText("Incorrect");
                     break;
                 case 1:
                    label.setText("What do you call when someone misses a serve?");
                    if (Answer2.equals(input))testresult.setText("Correct");
                   else { testresult.setText("Incorrect");
                    break;
                 case 2:
                    label.setText("Should you shake hands after a match?");
                    if (input.equals(Answer3))testresult.setText("Correct");
                     else{
                         testresult.setText("Incorrect");
                    break;
          testresult.setVisible(false);
    public static void main(String[] args)    {
            JFrame frame = new JFrame("Quiz");
            frame.getContentPane().add(new AnAQuiz());
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.pack();
          //  frame.show();
            frame.setVisible(true);
    }

    package anaquiz;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class AnAQuiz extends JPanel {
        private JComboBox choice;
        private JLabel label;
        private JTextField text;
        Button CheckAnswer;
        Button TryAgain;
        private String Answer1 = "Wilson";
        private String Answer2 = "Ace";
        private String Answer3 = "Yes";
        private String input = " ";
        boolean Answer = false;
        JLabel testresult = new JLabel("");
        public AnAQuiz() {
            choice = new JComboBox();
            label = new JLabel();
            label.setBackground(Color.blue);
            choice.addItem("Tennis Question #1");
            choice.addItem("Tennis Question #2");
            choice.addItem("Tennis Question #3");
            text = new JTextField(20); //step 4
            ButtonListener listen = new ButtonListener();
            CheckBoxListener listen1 = new CheckBoxListener();
            choice.addActionListener(listen);
            choice.addActionListener(listen1);
            setLayout(new BoxLayout(this, 0));
            add(choice);
            add(label);
            add(text);
            testresult.setVisible(false);
            add(testresult);
        private class  CheckBoxListener implements ActionListener {
            public void actionPerformed(ActionEvent event) {
                int c = choice.getSelectedIndex();
                switch (c) {
                case 0:
                    label.setText(
                            "Whats the famous tennis brand that begins with 'W'?");
                    break;
                case 1:
                    label.setText("What do you call when someone misses a serve?");
                    break;
                case 2:
                    label.setText("Should you shake hands after a match?");
                    break;
            private class  ButtonListener implements ActionListener {
                public void actionPerformed(ActionEvent event) {
                    int c = choice.getSelectedIndex();
                    if (Answer1.equals(input)) testresult.setText("Correct");
                    else
                        testresult.setText("Incorrect");
                    if (Answer2.equals(input)) testresult.setText("Correct");
                    else
                        testresult.setText("Incorrect");
                    if (input.equals(Answer3)) testresult.setText("Correct");
                    else
                        testresult.setText("Incorrect");
            public static void main(String[] args) {
                JFrame frame = new JFrame("Quiz");
                frame.getContentPane().add(new AnAQuiz());
                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                frame.pack();
                //  frame.show();
                frame.setVisible(true);
    }now it has no errors but correct and incorrect doesn't show after i type in the answer in the textfield after hitting the enter button

  • No matter what I have tried I still can't get text to show in the webpages

    Outside of Safari
    HP Pavilion zv6000   Windows XP   AMD 64 2.0ghz 2 gig ram 100 gig HD 128 meg video DLdvd+rw
    HP Pavilion zv6000   Windows XP   AMD 64 2.0ghz 2 gig ram 100 gig HD 128 meg video DLdvd+rw

    http://grupenet.com/2007/06/12/fix-font-issue-in-safari-for-windows/
    Try the solution on the above page in which the fonts.plist file has tobe downloade and replaced...

  • Getting Text onto One TV in the Objects Tab

    Hey All,
    I'm trying to put some text onto one tv in the objects tab in Live Type and
    I can't even get text to show up on one of them. In the users manual it only
    tells you how to get the tv onto a track but not how to get text onto the 'screen'.
    Is it possible to get text onto one screen?
    Thanks
    Ted

    For this effect I would suggest the following:
    Put the TV (like the horizontal TV slide) on the bottom track
    Put a text track on top of that
    Add the "TV Off" Effect to the text track...found in the "Mechanical" Category
    with the effect highlighted click on the "Timing" tab in the Inspector and in the "Speed" box change it from the default "reverse" to "forward"
    Adjust the positioning on your timeline to coincide with the TV motion
    It will now look like it's part of the TV

  • How to show excessive values in next page in SAP SCRIPT

    Hello,
    Please any one can help to show excessive values in next page .
    For example i want to show
    567
    5678
    789
    23456
    I want to show values 23456 in next page only.
    Can anyone please suggest me how to do so?
    Thanks and regards
    Mave

    Hi Swetlin,
    I have this format in the main window.
    textaaaaaaaaaaaaaaaaa
    textfffffffffffffff
    123
    1234
    1234
    5667
    1234
    textweeeeeeeeeeeeeeeeeeeeee
    texttryrtyrtuyrturtur
    now when i am doing as you suggested
    the last texts are coming in the next page.
    What i want is to show overflow of numeric data in next page and the remaining last text should remain as it is in the first page only.
    i mean
    textaaaaaaaaaaaaaaaaa
    textfffffffffffffff
    123
    1234
    1234
    5667
    1234
    textweeeeeeeeeeeeeeeeeeeeee
    texttryrtyrtuyrturtur
    and in the next page
    4567
    4568
    8790
    Thanks and regards
    Mave

  • Create hyperlink to "next page"

    Is there a way to create a hyperlink on a master document that automatically goes to the next page in the document?
    I can't find that option anywhere, which seems very strange. If I have a document of 50 pages, it is incredibly tedious to have to add a hyperlink to each page with the next page's page number on it, rather than just having a hyperlink in the master document which automatically goes to the next page.

    The hyperlink option won't let you do this, but you can use the button feature instead: add an invisible button over your text frame and add the action "Go to Next Page" to that button.

  • How to display standard text element of main window in next page

    hi all
    In scripts we have standard script medruck for purchase order.
    i want to pull text elements ( terms and payment terms ) in to main window of next page.
    i have included main window in page windows of next page ,but im unable to print text elements of terms and payment terms in next page...
    any one give your valuable inputs.
    Thanks
    deepika.

    Hi deepika,
    First copy standard MEDRUCK to ZMEDRUCK and do the necessary changes.
    Then check in driver program when exactly Terma and condition text element is called. Generaly its after printing all items but just check once to confirm.
    If TERMS and condition element is called ate end just put a NEW-PAGE  command at end of the text element which is called before terms.
    Hope this will help You.
    Thanks
    Dhiraj.

  • I wanna to let the SAP/sys. get know that, Table extended to next page,How?

    Hi Experts,
    Am working with SMARTFORMS.
    I hv a situation in which, my_window shuld trigger, only if the table(entries) r extended to next page.
    I can put a condition for triggering of my_window, like, SFSY-PAGE > 1, but, this idea wuld NOT work in my case/scenario.
    So,
    Is there any other idea, to let the system/SAP to get know that, the table(entries) r extended to next page(so, that I can keep a flag condition, by using that idea)?
    I mean, other than SFSY-PAGE concept!
    thanq.

    if you know how many lines each page then you can set up flag.
    when you pass the data from program to form,use describe command to get number of records for internal table.
    let me say one example :
    each page you have 20 lines ( 20 records),suppose internal table contains more than 20 ,then use flag = 'X'.pass the flag from program to form .
    I guess you could do in form itself.
    Thanks
    Seshu

Maybe you are looking for

  • Error (PTRV_HEAD/PTRV_PERIO/Cluster TE)).

    Hi when i am creating the travel request i am getting this error(error while wirintg to the database(PTRV_HEAD/PTRV_PERIO/Cluster TE)). kindly lok into the issue guys , prem

  • HT201364 Why do i have repeated problems installing OS X latest versions? #phew

    Why do i have repeated problems installing OS X latest versions? #phew First, it was with Mountain Lion... Now having same issues with Mountain Maverick.  *sad much*

  • Urgent  : can help me in my search program( mofication of my program)

    Requirements: <u>Selection-Screen</u>: Parameter: String field to enter a text Select-option: to enter program names (value help shall be available) <u>Program</u>: The user shall enter a text and select one or serveral program names. (Search help fo

  • Unable to export Webforms

    Hi All, I am trying to export Webforms from Planning App. Hyperion Planning is installed on Linux. The command that I am trying to execute is: FormDefUtil export -all servername username password app_name I am trying this from the same directory wher

  • Font problemo

    Hi guys, i've had a problem with Arial in the text generator for some time.. it is only available as italic, even though every other program on my machine can access the plain version. It shows options of plain, bold etc, but will only ever give me i