How to secure the web resources in tomcat server
Hi,
Iam developing a web application using java, frame work struts and tomcat server.
I have to redirect the user, when he used to access site through folder names.
EX :- www.mysite.com/jsp/registration/...
Now, it is showing 404 error page.
Now, i have to redirect it to home page, how can i do it?
Please help me to slove this issue.
Thanks,
Mohan
404 indicates that the file not found I guess. If you want to redirect to different page, you can use
<jsp:forward> tag
Similar Messages
-
How to secure the webservice on apache tomcat
We are having a wsdl url (http://123.111.22.11:8080/axis/generateevent.jws?wsdl
i want to make this secure by having https:.........
Any inputs to my problem are welcome404 indicates that the file not found I guess. If you want to redirect to different page, you can use
<jsp:forward> tag -
How to increse the heap space in tomcat server
Hi
I am getiing an error like "java.lang.outofmemoryerror: Java heap space" when i ma runnig my web application.I have google the for this many people said that increse the heap space for it. Can any one tell me how to increse it.I am using through windows
Looking for your help
VijayHI guys
I have found solution form one of the java threds from sun forums.
"You need to create an environment variable called CATALINA_OPTS. Set the value equal to -Xmx512m
This will work for windows or linux."
This is working i have tested it.
Thank you
Vijay -
How to create the web template
Hi BW Experts,
how to create the web template.....!
I just want to know what is the use of Web template. i want to display the report
in WEB-UI screen ( sap-crm 7.0 portal ) can any one help me please how to proceed ...!
Thanks
shahina..!Hiu2026
Steps to follow to create WAD in WEB Template in 3.5 or 7.0 u2026u2026..
Go to All programs and select your web application designer
Select the button to create a new page in WAD
Select the chart and place in the layout
Next goto Data provider Target and select your query
Give your report name in the given data provider screen
Select your query in History/find/Favourites/Infoareas button
Select your query in this screen and click OPEN
Now we can see the data provider is assigned to the chart.
To edit the chart you have to right click on the chart
After right click on it we will find another screen where we can edit all the settings
In this screen we can find NEXT click button to change our settings
In this screen we can state the tasks (Title, units, values, range)
In this screen we can change our background /validity/color
In this screen we can add values to the chart
In this screen we can add validity/positions/order/axis types to the chart
In this screen we can change the global settings/and overview of the chart.
This screen shows that we have customized the chart successfully
After successful creation of the chart we have to save the chart
Save your chart in your favorites by giving the description and technical name in the given block.
Now execute your WAD by selecting the execute button
The BEx Web Application Designer is a desktop application for creating Web applications with BW-specific contents. Using the BEx Web Application Designer, you can create an HTML page that contains contents such as various tables, charts or maps. This HTML page (Web application) provides the basis for not only Web applications with complex interaction, but also for Web cockpits and iViews.
http://help.sap.com/saphelp_nw04/helpdata/en/1a/456a3badc1b315e10000000a114084/content.htm
Web Application Designer for Beginners
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/749a4622-0a01-0010-36bf-b6b30a2a3a22
Web Application Solutions: A Designer's Guide
http://www.lukew.com/resources/webapplicationsolutions.pdf
http://sap.ittoolbox.com/groups/technical-functional/sap-solution-manager/bw-web-application-designer-1955944
Feautures of WAD in 7.0
http://help.sap.com/saphelp_nw70/helpdata/en/88/4d354277dcb26be10000000a155106/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46376d-0601-0010-83bf-c4f5f140e3d6 -
How to config the web.xml file, when I use Richfaces + RI 1.2?
Hi there:
I want to use Richfaces + RI 1.2 to build a project. I don`t know how to config the web.xml file.
By the way, my web server is Tomcat 6.0, my JDK's version is 6u6. I don`t want to use the facelets.
thanks.
lxmjust add this before *</web-app>*
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping> -
My iPhone 5 has broken and is being replaced with a new iPhone tomorrow. However, My carrier (orange) will b picking up my broken iPhone and I am unsure how to secure the content and icloud data on the broken phone. Is there a way to disable the data held on it and ensure that if it is fixed, nobody can use/see my data and access my account?
Hi Gazpan,
Thanks for visiting Apple Support Communities.
I recommend using the steps in this article to back up your iPhone if possible:
iOS: Back up and restore your iOS device with iCloud or iTunes
http://support.apple.com/kb/ht1766
You may also find this advice helpful for your situation:
What to do before selling or giving away your iPhone, iPad, or iPod touch
http://support.apple.com/kb/ht5661
If you no longer have your iOS device
If you're using iCloud and Find My iPhone on the device, you can erase the device remotely and remove it from your account by signing in to icloud.com/find, selecting the device, and clicking Erase. When the device has been erased, click Remove from Account.
If you're unable to complete either of the above steps, you should change your Apple ID password. Changing your password won't remove any personal information that is cached on the device, but it will make sure that the new owner can't delete your information from iCloud.
Cheers,
Jeremy -
How to Customize the Web item " Text Elements"in WAD
Hi All,
Can any one let me know how to customize the web item TEXT ELEMENTS. When we place the web item Text element in the web template, it displays the query details and the info provider details.
I question is I do not want to list all the list that is displayed in the text elements. I want to see only part of the list....can any one whether this is possible or not..if possible how...?
Thanks in Advance,
Hashyes you need to specify the variable name
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="TEXTELEMENTS_1"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
<param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
<param name="GENERATE_CAPTION" value="BORDER"/>
<param name="GENERATE_LINKS" value=""/>
<param name="SHOW_COMMON_ELEMENTS" value=""/>
<b> <param name="ELEMENT_TYPE_1" value="VARIABLE"/>
<param name="ELEMENT_NAME_1" value="0H_CCTR"/></b> ITEM: TEXTELEMENTS_1
</object>
Regards
Raja -
How to change the web server??
How to change the web server in the details of the mobile application component in the MI webconsole??
hello irene,
had your tried checking on the "Use IP instead of host
name" checkbox?
to edit your registered application info, go to
"Upload Mobile Component" tab and click on the Edit icon
on the left part of the record list which corresponds to
the application you had just uploaded.
your application is uploaded to the same host as your
web console application is running on. if you like to
point it to a different server where you have your
archive accessible, you have to change your mcd
deployment attributes on your middleware. try the ff:
1)run tcode: mi_mcd
2)click on Create Mobile Component
3)Enter Mobile Solution Name and Version
4)Click on Display MCD
5)Select Deployment Tab
6)Click on Edit
7)Change the values of WEBSERVER and WEBPATH location eg.
if your archive is located at
http://myotherserver:80/archive/myapplication.war
your entry will be:
WEBSERVER: http://myotherserver:80
WEBPATH: /archive/myapplication.war
where you myotherserver is the name of your http host
server and myapplication.war is the name of your archive.
the archive directory is just a virtual directory where
your application archive is.
you might need to change the port number depending on
your http server port.
regards
jo -
My daughter has an iPhone 4 secured with passcode lock. A visitor in their house took her unattended iPhone, connected to the PC, from a certain program got her pascode and did open her phone to go through her private messages. Does someone knows how to prevent this? How to secure the Phone from unauthorized opening?
Thanks in advance for all suggestions!!!Hi igmusla,
It seems someone has stolen your daughters phone there is an application called FindMyiPhone if she had location services on and the thief hasn't disabled it you can possibly track the phone down. Sadly you cannot stop the thief from gaining access to her phone and personal information. Please report your phone stolen to your local police station and call Apple aswell, they can possibly put a lock on your phone aswell as put it into a carrier block which prevents the thief from calling anyone or putting a new sim card in it. -
Is there any step-by-step tutorial on how to program the web content viewer to resize
II'm working on my portfolio site and have couple of DPS projects that I want to post in there and need to know how to modify the web content viewer to adjust for different screen size. Than you.
If you are using an embedded web viewer, this developer network article provides some information on how to resize it:
Resizing the Embedded Web Viewer | Adobe Developer Connection
Thanks,
Brian -
How to separate the Webi executing duration
Dear experts,
I'm running a webi report connected to backend BW via universe. Any idea on how to separate the webi executing duration into BO side part, BW side part?
Thanks,Hi Hong ,
*The overall runtime can be split into 5 different parts (Database, OLAP, MDX, RFC and
WebIntelligence) .
*We have to gather the statistics in the SAP BW system. Use transaction SE16 (Data Browser)
and go to table RSDDSTAT_OLAP
*Enter User name and UTIME and calendar date object name (Bex query)
*Press the execute button and you will get the table with all the statistics in SAP BW. Now, you
have to separate the backend runtimes into database, OLAP and MDX runtime.
*Gathering the Database Runtime
Click on the header of the column “EVENTID” to mark the whole column. Set a filter by pressing
and select the between range from 9000 to 9011.
*Gathering the OLAP Runtime
Click on the header of the column “EVENTID” to mark the whole column. Set a filter by pressing
and select the between range from 2500 to 4999.
*Gathering MDX runtime
Click on the header of the column “EVENTID” to mark the whole column. Set a filter by pressing
and select the between range from 40000 to 40036.
*Gathering the Single Statistical Records STAD
To get the memory consumption, Remote Function Calls (RFC) and the details about all the BAPIs
called during report execution, we need to enter transaction STAD in SAP BW.
When starting STAD, set a filter on the connection user for the Universe and select the appropriate
start time and the length of the interval to be investigated (according to the total runtime of the report).
This will return a set of RFC calls to the backend. Normally, the major runtime influencing part can be
easily determined by the column “Response time (ms).
Subtract all this times from Webi report refresh time , we get time taken at BO end. -
How to embed the WEBI report as portlet
I am a fresh man of WEBI.
I want to know how to embed the WEBI report to a web page as the portlet (like weblogic portal).
I have used the OpenDocument URL to do it, but the report have a tool bar on the top, status bar on the bottom and a prompt area on left. So what i want to know is how to integrate the report itself on my portal (no tool bar, no status bar and no prompt area). Is there any way to control the display of these different area?
thnaks!Normally there is not way to deactivate the statusbar and the toolbar. What you can do is to try to capture the HTML stream using javascript and filter out the toolbar components. This can be quite complicated though since the html structure of the report is quite complicated (multiple iFrame layers). And there is no garantee that this structure will remain inchanged in the next fix pack or service pack.
A rather simpe solution could be to "cover" the toolbar with an additional opaque frame.
Regards
Stratos -
How to deploy the web.xml file when trying to use the JSP SDK from SAP?
I want to use the adduser.jsp which downloaded form SAP SDK samples to add user in BO, but I cannot run it sucessfully. I believe it's caused the web.xml file was not deployed appropriately.
could you please teach how to deploy the web.xml file for the JSP samples ?
Could you show me some sample of web.xml for the SDK jsp files? Thank you very much!Ensure that you have followed below directory structure while deploying your web application.
web_application_name
WEB-INF
lib
classes
web.xml must be placed in WEB-INF. Ensure that you have included all the jar files and other necessary files in your application.
For more information refer to the below link:
http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
Regards,
Anuj -
How much of the Web can I browse with Apple TV? Apple's webpage says that the unit accesses Netflix, YouTube, MobileMe, and Flickr. But there are many more websites with video than just those four. Can I surf the Web with Apple TV?
No, not as designed to be used at this point.
Brian. -
How to find the Web AS Port from ABAP program
Hi
I have an ABAP program which passes an URL for a BSP page to the Alert Framework. While creating the URL I need to find out the Hostname and port number for the Web service for that server. Hostname comes from sy-host but I am not able to find the port number.
Please help...
Thanks in advanceHi,
consider this little code snippet:
data: l_urls type tihttpurls2.
call method cl_http_server=>get_extension_info
EXPORTING
extension_class = 'cl_http_ext_bsp'
IMPORTING
urls = l_urls.
l_urls contains a table of configured ports. maybe that helps.
regards, Ulli
Maybe you are looking for
-
Report output to convert to pdf and mail it to recepient
Hi I'm using the below coding for converting the output of the program to pdf and then mail it to the recepient.The coding works for background processsing only can i do the same for online.In the write statement i'm using the sy-repid my program nam
-
Adobe Reader XI - dynamic PDF Form and the E-Mail Dialog
Hi Community, I have a dynamic PDF Form and we use the E-Mail function to save the XML-Data to local harddrive. That works until Adobe Acrobat Reader 10.1.2. But with the Adobe Reader XI (11.0.4) the E-Mail Dialog has changed so I am One is forced to
-
REST to SOAP: Invalid number of elements in URL "/"
Hi, So having read the great blog series PI Rest Adapter - Don't be afraid by Alexander Bundschuh and I decided to try and set up my first scenario using the REST adapter in the same vain as Working with REST Adapter: A REST to SOAP Scenario in SAP P
-
Insert query is using parallel mode
Hi All, Insert query is running against below tables. It is using Parallelism as the below explain shows. Execution Plan Id Operation Name Rows Bytes Cost (%CPU) Time TQ IN-OUT PQ Distrib 0 INSERT STATEMENT 779K(100) 1 LOA
-
Material Components cost break up
Hi I am using CS13 t code to see the materials BOM details and i want to have the details of pricing like - cost of labour, overhead, machinery cost etc. But i am not able to pull out the data from tables. For eg Material no 6275 - labour 50, machine