Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

The page attribute language is not valid.

aayushaggarwal
Active Participant
0 Likes
656

Hello everyone,

I am facing a problem while activating my BSP Application.

This is the layout of the page (with flow logic)

<%@page language="abap|javascript"%>

<%@extension name="htmlb" prefix="htmlb"%>

<html>

  <head>

  <link rel="stylesheet" href="../../sap/public/bc/htmlb/style.css">

  <script type="text/javascript" src="../../sap/public/bc/htmlb/jquery-1.11.0.js"></script>

  <title>Output error message</title>

  </head>

  <body class="bspBody1">

  </body>

</html>

and the error it is showing while activating the program is:

"The page attribute language is not valid (row = 1, value = abap|javascript )"

please help me and tell me am i using the right syntax .......

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
621

Hi,

the page language can be either ABAP or JAVSCRIPT. So you have to choose one.

ABAP|JAVASCRIPT are the both syntax options where you have to choose the right one.

Regards,

Klaus

Hello everyone,

I am facing a problem while activating my BSP Application.

This is the layout of the page (with flow logic)

<%@page language="abap|javascript"%>

<%@extension name="htmlb" prefix="htmlb"%>

<html>

  <head>

  <link rel="stylesheet" href="../../sap/public/bc/htmlb/style.css">

  <script type="text/javascript" src="../../sap/public/bc/htmlb/jquery-1.11.0.js"></script>

  <title>Output error message</title>

  </head>

  <body class="bspBody1">

  </body>

</html>

and the error it is showing while activating the program is:

"The page attribute language is not valid (row = 1, value = abap|javascript )"

please help me and tell me am i using the right syntax .......

3 REPLIES 3
Read only

Former Member
0 Likes
621

hi

the first line should be <%@page language="abap"%>  ?

regards,

Archer

Read only

Former Member
0 Likes
622

Hi,

the page language can be either ABAP or JAVSCRIPT. So you have to choose one.

ABAP|JAVASCRIPT are the both syntax options where you have to choose the right one.

Regards,

Klaus

Read only

aayushaggarwal
Active Participant
0 Likes
621

hi,

thank you for increasing my knowledge regarding the same.

regards,

Aayush