When is it mandatory to create a taskflow under WEB-INF folder?

Hi,
Today, I accidentally created a taskflow with a folder structure which is not under WEB-INF. To my surprise it is working. :)
1) Is it safe practice to create a taskflow not under WEB-INF folder?
2) When is it mandatory to create a taskflow under WEB-INF folder?
Thanks,
Srini

Placing the taskflow in a) inside WEB-INF or b) outside WEB-INF folder will work as expected.
But when a taskflow is placed inside the WEB-INF folder, it is secure.
The blog post by Andrejus Baranovskis (http://andrejusb.blogspot.com/2011/02/beware-of-hackers-keep-adf-task-flows.html) suggested by Vinod has the detailed information regarding this.
Thanks,
Navaneeth

Similar Messages

  • Warning - When Compiling .jsp pages under WEB-INF

    Created a directory jsp under WEB-INF and when i compile the jsp pages i get the following warning message
    Warning: package name web2d_inf._jsp does not match source file name C:\ProviderEnrollment\ProvEnrollView\classes\.jsps\_WEB_2d_INF\_jsp\_searchprovider.java
    Need help
    Thanks

    We have encountered this warning too.
    I'm not an Oracle employee, but it looks like there's a bug in JDev that preserves the case for the output directories but not for the package name that is supposed to correspond to the output directories.
    In any case, we haven't seen any runtime problems that seem to be related to this warning, so you may be safe to disregard it. It does foul up the build log though.
    Any JDev team members watching this topic are welcome to chime in with a confirmation and details of this apparent bug, as well as any workaround that might exist to avoid having the warning appear. Thanks!

  • How to create a file under web application root from java program

    how to create a file under web application root from java program like an action class?

    like an action class?Huh? What exactly is your requirement?
    Creating a file is usually done with java.io API. Read the java.io tutorials how to play with files.

  • ITunes creating duplicate files under a hidden folder named "Volumes".

    It seems my iTunes program is secretly making a duplicate file in a hidden folder called "Volumes" on my laptop hard drive. It's now maxxed out my drive and I need to both remove the "Volumes" folder and make sure it doesn't get created and happen again.
    Details:
    Using a Powerbook G4 with an 80gb drive. Using iTunes 8. The iTunes library program is in the usual place on the lap top hard drive but the music library folder, where all the files get saved to, is on an external drive labeled "Media".
    Clicking normally and searching around my laptop hard drive, I do not see or am able to access the folder named "Volumes". But I know it exists as I ran a scan program called jdiscreport and it clearly shows a huge folder, 45gb, named "Volumes". There are also a few old flacs in the "Volume folder also. The iTunes duplicate files are in identically named folders as the external drive: iTunes Music located within Media, located within Volumes.
    When I rip a CD in iTunes (or the iTunes-LAME program I sometimes use), the files do go to the proper external folder as expected and as I've set in the iTunes preferences section. So why is iTunes also saving the same thing to this mystery "Volumes" folder on the lap top hard drive? How do I get rid of this folder without wiping my drive? How do I stop it from continuing?
    Help, I have 2gb of free space left!
    Thanks, James

    Hi I am having a similar issue, It all started when I tried to restore from the Time Machine and it threw a error back stating that there is no disk available. I was wondering how come and went to find out what is happening and was shocked to find out that actually my entire Macintosh HD has a duplicate copy inside the /Volumes folder. I went to the XTERM to investigate and found that the / (root) has a Users folder where all my stuffs like pictures, music, movies, documents reside and the same data or content is duplicated in the /Volumes/Macintosh HD/Users folder
    I first thought that it was only a link, but I later found that it is not a link and it is indeed a physical copy of all my User folders inside the /Volumes/Macintosh HD/Users folder and actually occupying my Hard disk space.
    I am not sure how this happened or how it is duplicating itself. I am also afraid to delete the stuffs inside the /Volumes folder as it might crash my system (it is already hidden - I assume it is hidden for some purpose). Please suggest any options, how I can get rid of these duplicated data and how to avoid such duplication in the future.
    Thanks
    Regards
    Chelvam.S.T

  • Can not create a file under \window\system32 folder

    How do I create a folder in \windows\system32 in x64 machine through java code?
    Creating a file/folder under \windows\system32 fails and java creates a folder in \windows\syswow64 folder.
    pls see the code attached for example.
    My client wants to create a folder using my application.
    I dont want to use any native code suggested by microsoft. You can see in the following link
    http://msdn2.microsoft.com/en-us/library/aa365743(VS.85).aspx
    import java.io.*;
    public class FileTest{
         FileTest(){
              boolean created = writeFile();
              if (created)
                   System.out.println("File Created Successfully");
              else
                   System.out.println("Could not able to create the file");
         public static void main (String args[]){
              FileTest ft = new FileTest();
         public boolean writeFile(){
              try{
              Writer output = null;
              String text = "Sample Test File";
              if(!(new File("c:\\windows\\system32\\customFIle").exists())){
                   new File("c:\\windows\\system32\\customFIle").mkdirs();
              File file = new File("c:\\windows\\system32\\customFIle\\write.txt");
              output = new BufferedWriter(new FileWriter(file));
              output.write(text);
              output.close();
              return true;
              }catch(IOException ioex){
                   System.out.println(ioex);
              return false;
    Thanks in advance

    java_mani wrote:
    How do I create a folder in \windows\system32 in x64 machine through java code?Can the user that executes this Java code create "manually" a folder in that directory?
    Creating a file/folder under \windows\system32 fails and java creates a folder in \windows\syswow64 folder.
    pls see the code attached for example.
    My client wants to create a folder using my application.
    I dont want to use any native code suggested by microsoft. You can see in the following link
    http://msdn2.microsoft.com/en-us/library/aa365743(VS.85).aspx
    Why not?

  • Exchange 2010 SP3 - How many Calendar Items/Folders can you create under "all public folder"

    Hi,
    Is there a limitation on how many calendar items/folders you can create under "all public folder" in Exchange 2010 SP3?
    Thank you

    I don't believe you can create calendar items under the root folder, but it's been so long since I worked with a system that had public folders that I'm not sure.  If you mean "a folder that can contain calendar items", that is not a calendar
    item itself.
    Now, I believe your underlying question is, "How many folders can be created at the root level of the public folder hierarchy?"  If so, there is no simple limit that I know of (you can have thousands, if you really want), but management gets
    pretty unruly with the more that you have.  I normally recommend that you create sub-folders to logically meet your requirements, then have each of these with more folders (normally that only specific groups of users will be able to access or add items
    to).  And anyone will tell you that you want to restrict anyone from creating their own folders at the root level.  In fact, this is the default setting for a new Exchange 2010 installation.
    I'll add that you really should stop trying to use public folders, since there are newer technologies (SharePoint, for instance) that work much better and are much easier to use.

  • Set sap Component mandatory while creating the support desk message

    Hi,
       When create the support desk message from any application sysytem, the sap component get selected automatically but when we create the suppport desk message from the Easy Access the component wiil be blank, so some user create the support message without giving the component. So we want to make the component as mandatory while createing the support desk message from application system and also  set mandatory  when we create support message in solman.can anybody help me in setting component mandatory.
      Regards
      charan

    Dear Charan,
    The logic of setting the SAP Component mandatory is explained in the note 640532.
    Kindly use the note to resolve the purpose.
    Hope this solution helps.
    Regards
    Amit

  • How can I make settlement rule mandatory in create work order (IW31)

    How can I make settlement rule mandatory in create workorder and saving without release.
    I kanow we can make settlement rule mandatory upon Release order but here requirement is
    Create work order (IW21) save without releasing that time settlement rule should default.

    Hi,
    1.If you want the settlement rule default then maintain account assignment data in technical object and when MO is created on that it would be copied into the settlement rule...
    2. If you want to make those fields mandatory .... plz check up field selections in config , if you cannot find those then use SHD0 Transaction variant to make those fields mandatory.
    3. Enter SHD0 , Enter IW31 in transaction and ZIW31 for transaction variant ..click create option and this takes you to IW31 initial screen , here enter required values of technical object etc and press enter and this gives you IW31 Initial scree screen variant , click continue and this takes you to inside screen and here enter required field values and on pressing enter gives you screen variant .. so you need to enter field values and check the flow of screen variants and on getting settlement rule screen variant select required option for the fields you need.
    4. Finally you can save that in package created in SE80 for transporting to other client .., you can activate the variant in SHD0 -->Standard variants -->you can find activate option ..
    regrds
    pushpa

  • How to make the fields of the table mandatory while creating new entries..?

    Hi,
    I have created a new Z table which has 6 fields. All the 6 fields are KEY fields and all are of CHAR type. I have generated the table maintenance generator for the same. My requirement is all the fields should be MANDATORY while creating the entries. No field should be BLANK.
    When creating the new entries in the table, even if I don't give any values to some of the fields, it is saving the entry. But, it shouldn't happen like that. If any of the field is kept blank, it should not allow the user to save the entry. Can someone tell me how to approach this. Will there be any settings while creating the table which takes care of this.
    I read somewhere that this can be done using the Table EVENTS. Can someone tell me what is the code that we should write there in the Events which prevents the user from saving the blank fields. While writing the logic in the events, how to check whether the particular field is BLANK or not. Will the values be stored in any internal table kind of thing..?
    My table name is ZCRF_TAB and the fields are FLD!, FLD2, FLD3, FLD4, FLD5 & FLD6. Can someone provide me sample code for my requirement. Thanks in advance.
    Best regards,
    Paddu.

    Hi,I think u have generated Table Maintainance Generator, goto Environment->Modifications->Events
    Select appropriate option by using F4,I think value 05 is appropriate for u r requirement.Enter From routine name.Dbl click on the routine.
    Write the appropriate code like:
    If ZTABLE-FIELD1 is initial.
    Message (E000) with "Fill all the manadatory fields".
    Thats it.Just look at the following docu with screenshots,by this understand how u can use Table Events:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
    Regards,
    Rock.

  • Where are files downloaded to on the mac when creating a pdf from web pages?

    where on the mac HD are files downloaded to  when creating a pdf from web pages?
    Im creating web pages from the whole site so creating a large document, so wondered where these fiels are stored on the mac so I can delete when finished as dont want to clog up the hard drive.

    Look at the LiveCycle server products.

  • How to create an automatic email when a new announcement is created

    Hi,
    In Sharepoint 2013, how can I configure it to automatically send an email to all users when a new announcement is created?
    Regards,
    Stephen.

    You have 2 options
    #1 You can set Alerts at the announcement list level as shown below. In the send alerts to users you can add your user emails or distribution list email and choose email as delivery method. You can choose to
    send Announcements on various actions that are there on the form. This is simple way. This send email the out of the box style. You cannot change that.
    #2 The other option is to use SharePoint Designer and set a workflow on changes and send mail. You can customize the look and feel of it there.
    Srini Sistla Twitter: @srinisistla Blog: http://blog.srinisistla.com

  • How can i add a special user to the "site collection administrators" of the personal site on sharepoint online when the personal site is creating ?

    when a new personal site is created on the sharepoint online 2013, then the administrator of this personal site will be himself. we can add another person to the "site collection administrators", then this person have full control of this personal
    site.
    but my request is : add this personal to the personal site when the personal site is creating, but not after the personal site has created ?
    Is anybody know how to do that?

    Hi,
    According to your post, my understanding is that you want to add a special user to the "site collection administrators" of the personal site on sharepoint online when the personal site is creating.
    Per my knowledge,
    there is no out of the box way to accomplish this with SharePoint.
    This is a forum which is supported for SharePoint On-Premise.
    Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
    Office 365 forum
    http://community.office365.com/en-us/forums/default.aspx
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Sort Field to be made mandatory while creating maintenance plan(IP42)

    Hi Experts,
    Please suggest me the way by which i can make the field "Sort field" mandatory while creating maintenance plan (IP42).
    Regards,
    Vivek

    Vivek,
    There is no std config to acheive this. Please use IPRM0004 Maintenance plan/item: Customer check for "Save" to accomplish the same.
    Mahee

  • SRM PO- BBP_DOC_CHANGE_BADI - Code not effective when the SRM PO is created

    Hi Experts,
    We are using SRM 5.0 Classic and Extended classic scenario and the SRM local PO(Extended classic scenario) is created for special cateogries only. The SRM Local PO is created automatically after the SC is completely approved.
    The SC(one line item) with these special cateogies(chosen from catalogs) do and can have the currency different from the Org stucture currency and hence based on user selection the currency on the Item level(Currency selected in catalog) can be  different from the Item Overview total.
    Now we need to have the SC item level currency at the SRM PO header level which is created from this SC automatically. The code has been written in the BBP_DOC_CHANGE_BADI implementation of method BBP_PO_CHANGE
    With the code implementation, the currency is PO currency is not changed to SC item level currency when the PO is initially created from the SC automatically. However if the same SRM PO is changed and ordered again, the currency gets changed to the SC item level currency in the SRM PO, i.e. executes the BADI code as desired.
    Can anybody guide how can the currency be changed when the PO is first created automatically from the SC ?
    Many thanks in advance.
    Best Regards,
    Khaja.
    Edited by: Moulail Shaik on Dec 28, 2011 3:59 PM

    Soumyaprakash Mishra wrote:
    i thought doc_change would have worked... but anyways, did you try doc_save badi?
    Hi Soumyaprakash,
    Thanks for the reply.
    In the doc_save BADI there are no export parameters which can be modified.
    Neverthless, please suggest if there is an way to change/influence the PO data using the doc_save badi in your view ?
    Many thanks in advance.
    Best Regards,
    Khaja.

  • Creating a PO when a sales order is created

    Hi,
    Can anyone guide how this requirement can be achieved. For  both scenarios there should be no manual intervention.
    This is not a third party scenario.
    When a sales order is created then a purchase order should be created in same server and                                                                               
    in different server.
    1) For different server scenario i think idoc can be used.  what should be my outbound and inbound message types and idoc types. because both po and so have same idoc types(ORDERS) and message types(ORDERS05). so when a sales order is created in 1 system how system knows that it needs to  convert to PO in other system. And there should be no Purchase Requisition created..
    2) Best way creating  PO in same server with sales order with out creating Purchase Requisition.
    please share your valuable suggestions.
    Edited by: abilash n on Jun 13, 2011 7:12 AM

    you need two output types for two scenarios, and there are different ways to do it from there,
    for PO creation in same server I would use a Output with Transmission Medium as 8 - special function and used BAPI to create the PO, this way you dont have to keep track of idocs but the once the order is created functin will get triggerd and PO will be generated.
    Check with the SD Consultant on how to create the Output type with TM 8(tcode NACE -> V1 - sales -> output types -> ).
    for the different server I believe you alredy have the RFC/ connecetions set up. You'll have to use an IDOC for this.
    Partner profiles and process codes in destination systems will determine the PO creation.
    regards,
    nipuna

Maybe you are looking for