Configuring weblogic 8.1 to hide the jsp file name to be displayed
Hi,
I am having problem with configuring weblogic 8.1 to display the jsp file name in the address bar. Please have a look at this link for a description of my problem
http://theserverside.com/news/thread.tss?thread_id=28381
Any help would be great.
Thanks
Uma
You should use a controller servlet which forwards to the correct JSP. Then the JSP name is not displayed in the address bar.
With 8.1 you simply could use a Java pageflow to link several JSPs.
Generated URLs in the browser will look like
http://localhost:7001/sampleportal/newpageflow1/test.do;jsessionid=BFssBfmdv4Ly1GDG7gJNZH1d3s2ShJG2qpG4KJJMVvSf0JdyG2nQ!1118879021
Similar Messages
-
The Japanese file name is not displayed.
I'm using Mac OS 10.5.3(intel)/Adobe Media Player 1.0
In "Personal Videos",The Japanese file name is not displayed.
Example, "日本語.flv" is added, ".flv" is displayed in "Personal Videos".Thank you for reply.
>Try this: Go to the Apple menu > System preferences > International > Languages. Add Japanese to the list of languages, if it does not appear there already. If you drag Japanese above English in the list, the finder and many other applications will open next time with Japanese menus. Even if you do not want Japanese menus, make sure Japanese appears somewhere in your list of languages. Just having it there unlocks Japanese features in certain software, like Japanese encoding in Apple's Mail application.
When trying, the problem was not improved.
>If the Japanese menus make things hard for you in certain applications, you can set the language of specific applications individually using the following method: First, select the application's icon in the finder and choose "Get Info"from the File menu.
>
>Expand the Languages section of the Get Info window, and you'll see the languages available for the application. If you check Japanese and uncheck English, you will get Japanese menus; if you check English and uncheck Japanese, you'll get English menus. If both are checked, the language is determined by the order of languages in the International Preferences Pane.
In "Get Info" of the application based on Adobe AIR, "Languages section" is not found. -
How can I hide the picture file name in the aperture album?
Hello everyone, could anybody give me a help here?
I made a book with black background and the picture file name was printed white in the book. How can I get it hide, without having to go one by one deleting it?How can I get it hide, without having to go one by one deleting it?
That will depend on the book theme you are using. With some of the themes the filename is an integral part of the metadata displayed with the images. In that case you would need to create a new custom master page design without the metadata textbox and replace the master of all your pages (see: http://documentation.apple.com/en/aperture/usermanual/#chapter=24%26section=13), or simply change the book theme to a theme without filenames (but that may cause some texts to vanish, so try that only on a copy of your book). -
I try to use the weblogic.jspc to precompile all the jsp file to :
DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myse
rver\jsp_servlet
But when I visit the JSP page from browser, it seem like the weblogic
compile it again
Any help??
peter
Hi, David:
Since this is 9.0.4, I would suggest you that you try the following,
. create directories build, build/ear, build/ear/app
. extract the ear to build/ear so that you have build/ear/app.war
. cd build/ear/app and extract you app.war to build/ear/app
. mkdir -p WEB-INF/classes
. ojspc -srcdir WEB-INF/classes -dir WEB-INF/classes yourOtherOptions <list_of_your_jsp_files>
. now you can repackage ear. As long as the jsp page implementation classes are in WEB-INF/classes or packaged in a jar under WEB-INF/lib, jsp engine will be able to use them if the main_mode is set to justrun in web.xml of the war file or the global-web-application.xml of oc4j installation.
The main point here is to use the expanded structure to see if that will solve your problem. Other options includes upgrading to 9.0.4.2 (is 9.0.4.3 out?) or even 10.1.3, filing an oracle support ticket. Lastly, you may contact me directly. -
Accessing my own class members from the JSP file
Hi,
I have created a class by name simple.java.and the package structure is like sridhar.source.useful.In this package i placed my file simple.java.
Now i import this file with the import statement in JSP like
<%@ import = "sridhar.source.useful.*" %>
Now from the JSP file i want to execute some of the methods in simple.java.
I tried this one by importing the simple.java in my JSP file,but i am getting some errors:
variables that i have declared in Java files are not defined.
The JSP is not importing the class simple.java
I am executing my JSP in weblogic6.1(webserver is IPlanet)
shall i need to set any classpath for this in the weblogic shell script??
pls clarify me if any configuration is to be made or not??
regards
NaiduFor JSP with IPlanet/weblogic and imported custom classes:
Put your class / package in the correct folder. $path is any path you want....
Ex: package foo, class foorbar must be
$path/foo/foobar.class
All classes must be .class, not .jar.
Weblogic/IPlanet must be configured to have the CLASSPATH
$path/
(do not include foo/foobar!)
The JSP has
<%@ import "foo.*" %>
Your class may now be used just like the other imported classes. Say you have an object Foobar with a constructor, you can just say
Foobar myFoo = new Foobar();
I do this with my classes, so if you have any questions, just ask. -
Unable to load the '.jsp' file
Hi all,
We use Weblogic 8.1 sp3 and are devloping a struts based application.
I have deployed my 'ear' file (containing a '.war' and a '.jar' file). We use struts. Our '.war' file, contains the pre-compiled 'jsp' classes (we have changed our web.xml to indicate that we are using pre-compiled jsps. I can show my web.xml file if you need).
When I click on my 'submit' button, I see that my action class has been invoked and it's spitting out messages to the stdout. Everything looks fine. But, when it is trying to load the '.jsp', I get the following error.
<b>
Error 500--Internal Server Error
javax.servlet.ServletException: [HTTP:101249][ServletContext(id=20736651,name=gta,context-path=/gta)]: Servlet class jsp_servlet._presentation._jsp.__link for servlet /presentation/jsp/Link.jsp could not be loaded because the requested class was not found in the classpath C:\bea\8.1sp3\user_projects\domains\gta\gtaServer\stage\_appsdir_gta_ear\gtaweb.war;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\commons-beanutils20573.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\commons-collections20574.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\commons-digester20575.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\commons-fileupload20576.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\commons-lang20577.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\commons-logging20578.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\commons-validator20579.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\jakarta-oro20580.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\jstl20581.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\standard20582.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\struts20583.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\_wl_cls_gen.jar.
java.lang.ClassNotFoundException: jsp_servlet._presentation._jsp.__link.
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:824)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:312)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
</b>
I have looked in the '.war' file and it contains the above mentioned precompiled class (_link).
Could anyone point me in the right direction??Hi,
Could you check that whether the jsp file is placed in right place or not ?
Regards
Anilkumar kari -
How can I hide the class file ??
Hi !
I has a question, when i write a program of Java, then use the command "javac" to compiler to class file for other people using, but the class file can be disassembled and convert to source code. How can I hide the class file and let people can not disassemble, or can not see the source code. ThinksSee these....
http://www.saffeine.com/
http://www.jarsafe.com/
I recently read this. This will help you.
http://developer.java.sun.com/developer/qow/archive/160/index.jsp
Enojy....
Rajesh -
How-to hide the portal file shares on Windows
Hi,
Does anybody know how to hide the default file shares created by SAP NW 04 in windows?
In other words: what I'm trying to accomplish is renaming the sapmnt share and saploc share (both on the E:\usr\sap\ folder) to sapmnt$ and saploc$.
I know how to do the Windows part, but where and how do I configure the SAP Web AS part?
Regards,
Steven DijkmanHi guys,
Thanks for all the feedback. However, this still does not fully work.
I tried hiding the folder but it in fact only hides the folder, not the share itself. I'm trying to do the opposite, hiding the share (making it an administrative one) whilst not hiding the folder. With the folder hidden, the startup framework (NW 04 EP6 SP12) does not work.
By the way: checking / tightening access is not an option: security architects dictate what needs to happen here and unless I have VERY good reasons I should comply to what they say: change saploc to saploc$ and change sapmnt to sapmnt$.
If anybody has anymore thoughts, I'd be very interested.
Cheers,
Steven Dijkman -
How to run/build the JSP file using Eclipse
Hello,
I want to build a new project for running the jsp file in eclipse.
Can you help me in doing that?
with some structure format?
where to create web.xml file
how to configure that fiel with our eclipse java poject?
like that...
Thanks,
SooryaOn New Project creation, choose 'Dynamic Web Project'. Then the structure will be created for you.
-
Problem after hide the "Alternate File" field
Hi all,
Before I hide the "Alternate File" field in check-in form. I created a content item with a customize Content Type
and then viewed it's content information. At the Web Location property like that:
Web Location: http://tuyennt-laptop:16200/cs/groups/vietinbankhanoi/documents/anh/mtyy/mdaw/~edisp/19216855106162000053.gifAfter I hide the "Alternate File" field follow Idoc script:
<$AllowAlternateMetaFile="true"$>
<$createAlternateMetaFile="1"$>
<$alternateFile:rowStyle="display:none"$>Then create other content with the same Content Type and I saw that at the Web Location property :
Web Location: http://tuyennt-laptop:16200/cs/groups/vietinbankhanoi/documents/anh/mtyy/mdaw/~edisp/19216855106162000054~1.htmWhen I click on this link, it return error : Error 404--Not Found
But it will return for me a page include a table of information about Content Metadata for this content, If it was created with standard Content Type as: Document.
And have a error in this table at the Folder field:
Folder 358128818381000010 - Invalid folder reference!Although the Folder have ID: 358128818381000010 exist
I don't know why?
Do you have any suggestion for me???
Thanks in advance!
Edited by: AS84 on Jun 26, 2012 1:51 AM
Edited by: AS84 on Jun 26, 2012 2:13 AMHi jiri.machotka,
My problem I got happen when I click on the link in the Web Location field example like that:
Web Location: http://tuyennt-laptop:16200/cs/groups/tintuc/documents/anh/mtyy/mdaw/~edisp/19216855106162000061.htmwhich was show on in the Content information page of Content item.
After I click, UCM return a page where show some Content Metadata information and "Folder" is one of them.
And the error I get here like that:
*Content Metadata*
Revision: 1
Type: Document
Title: Test 02
Author: btvhn
Security Group: TinTuc
Account:
Comments:
User Access List:
Group Access List:
Profile:
+Folder: 588183722538000204 - Invalid folder reference!+
mNguonTin:
Application Identifier:
Batch Identifier:
Batch Sequence:
mAnhMoTa: I have just saw again my configure for all my customize Security Group and I get out the reason why.
All my Security Group I created not have permission (R) on guest role. When I set this permission for all my Security Group and this problem seem to be resolve.
I really don't understand why. If you have knowledge base about it can you explain for me and any person maybe get the same problem?
Anyhow, my problem was resolved
Thanks for all of your suggestion
Edited by: AS84 on Jun 26, 2012 8:59 AM
Edited by: AS84 on Jun 26, 2012 8:59 AM -
How can i access the jsp file in a asp file
Hi every one..
we have two projects one is developed in ASP and one is developed in JSP both are running in two different locations.
now i want to include a jsp file from one project to ASP file in the other project.
please tell me how can i insert the JSP file in ASP application.
thanx in advance.Wouldn't that be an ASP question for an ASP forum?
-
What to import in the JSP file??
I want to use jsp and xsl to convert xml to html in order to display the file. But I come across a problem, I don't what should be import into the jsp file. Should I import these? <%@ page import="org.xml.sax.*" %>
<%@ page import="org.apache.xalan.xslt.*" %>
Since I'm not very good at this field, can anybody give me some suggestion to hlep me to work it out?
thanks~One thing is sure. Whatever the classes you are going to use, need to be imported in your Jsp.
There is no need for different import statements. You can write in a single import statement (comma separated).
So, forget about the import statements and do your coding, finally you can look at the code and decide what classes (packages) you need to import.
I think you need to import
org.xml.sax.*;
org.xml.sax.helpers.*;
import javax.xml.parsers.*;
Hope this helps. -
How to retreive the dynamic file name in the AAE configuration?
Hi Guys,
I have configured File to File with the integrated configuration and in the mapping i need to retreive the file name dynamically and i am unable to retreive it from the run time in AAE configuration. I am able to retreive with the normal configuration where integration engine is the run time.
I am using the code as below. Is it possible to retreive the file name dynamically in the AAE configuration? any help or suggestions would be appreciated.
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String ourSourceFileName = conf.get(key);
return ourSourceFileName;
Thanks,
SriniHello Srinivas,
Brief Solution:
1. Using dynamic configuration, set the attribute value of payload dynamically to ASMA
2. Using AF module, write the value of ASMA in a variable
3. Using the variable substitution, set the receiver file name schema
Plz go through the below link:
http://wiki.sdn.sap.com/wiki/display/XI/CombiningthreedifferentaspectsofPIinoneshot
Thanks,
Satya Kumar -
How to find the jsp file in iSupplier Portal
Hi,
I need to change a jsp page from Oracle iSupplier Portal, I got the url but I can't find the jsp file of that URL, how can I find that file?
http://sboglx11.alpina.co:8040/OA_HTML/OA.jsp?callType=W&_ri=177&_rc=POSINQUIRIESPL&flowApplicationId=177&flowCode=POS_SUPPLIER_INQUIRIES&pageApplicationId=177&pageCode=POS_AP_INVOICE_DTL_D&whereRegionCode=POS_AP_INVOICE_DTL_D&addBreadCrumb=Y&WPARAMSINVOICE_ID=526856&_ti=1715476161&oapc=7&oas=MtxL7MgOdHAuyU8-iC7c8Q..
Thanx,
Ivan Loaiza.Hi,
I have a custom request to add a new table on the page of that url from a custom query. I tried to make changes activating the FND_CUSTOM_OA_DEFINTION's profile, and enter to the 'Personalize Page' link, but on this opcion I couldn't find the way to enter a new query. Now I try to customized directy the jsp file and add a new table on that region asociated with custom query.
I also try with the AK Developer responsability but I got the following error when I try to open the page "No data found for region (/oracle/apps/pos/regionMap/POS_CUSTOM_IMP)" where "POS_CUSTOM_IMP" is a new region that I created with the AK Developer responsability.
Thanx,
Ivan Loaiza -
How to get the jsp page name in jsp?
how to get the jsp page name in jsp? how the jsp get the jsp page name dynamic.
thanks in advance.Try request.getServletPath()
Maybe you are looking for
-
My iphone 4 will not sync or back up and it is asking me to restore.
My iphone 4 will not sync or back up and it is asking me to restore. I just figured out that it hasn't been backing up on the cloud like I thought either.... so it hasn't backed up anything to my computer since April and I have no idea the last time
-
SQL to Oracle Migraton - Unable to create source model in Migration Workben
We are trying to use Oracle Migration Workbench utility to transfer data from SQL to Oracle. when we start creating the source model we get the following error :- failed to load source model ora-01401 inserted value too large for column.. this is the
-
Does "AirPort Disk" work with RAID arrays?
I currently have a RAID 10 array consisting of four USB hard drives all attached to a USB hub. I use it with three different macs (two leopard, one tiger) and have never had any problems. I know that you can attach multiple USB hard drives to an AirP
-
Scanning problem, won't scan because it can't find available destinations for scans to be sent
I have a officejet 4500 G510 all in one printer, and for some reason since I got a new lap top, the scanner doesn't work. I installed the software many times over, and it has the same error message over and over, "the program could not find any avail
-
SAP CRM Pricing - Tax is not determined sometimes
Hi Experts, we are using BADI: CRM_COND_COM_BADI to maintain to determine the taxes for every kind of possible business case. With the search values added to strucure CRMT_ACS_I_COM we search in condition table CNCCRMPRCUS00002 for the correct tax th